Measures recordings of single notes, plucked or struck, so a synth's design can be compared with a real instrument's.
A file holds one note or several, one after another a semitone apart, each starting from silence. Rumble below the file's lowest note is filtered out, and a note starts where the level rises 20 dB within 200 ms, at least 2 seconds after the one before. For each note it finds the pitch, how far the harmonics are stretched sharp, and for each harmonic its frequency, its level in dB as the note starts, and the seconds it takes to fade 60 dB. Each harmonic is looked for one step above the last, since a stiff string's harmonics drift sharp.
Summary
Functions
The median fade and level of the notes' harmonics in each band, with levels against the fundamental of the lowest note.
Measures each note of a recording that starts on note, and returns {:ok, notes} or {:error, message} naming the file.
A note number as mx writes it, such as as2.
Measures a sound that is one note from its first sample, such as a synth rendered offline, or returns nil when it is too short.
Measures each note of a sound whose first note is first, one after another a semitone apart.
Functions
The median fade and level of the notes' harmonics in each band, with levels against the fundamental of the lowest note.
Measures each note of a recording that starts on note, and returns {:ok, notes} or {:error, message} naming the file.
A note number as mx writes it, such as as2.
Measures a sound that is one note from its first sample, such as a synth rendered offline, or returns nil when it is too short.
Measures each note of a sound whose first note is first, one after another a semitone apart.