Measures recordings of held notes, bowed, blown or played on an organ, 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. The held part of a note is its longest stretch within 12 dB of its loudest. For each note it finds the pitch, the attack, the level of each harmonic while the note holds, the vibrato, and the noise between the harmonics. The attack is the seconds from the start of the sound until it first comes within 0.5 dB of its held level. The vibrato is the swing of the pitch, found from its repeats between 3 and 10 times a second, and there is none when the pitch swings less than 5 cents or does not repeat. The noise is the power between the harmonics in each band, given in dB as the level of a harmonic of the same power.
Summary
Functions
Measures a recording as one note on note held from its first sample to its last, such as a drone plucked again and again, and returns {:ok, [note]} or {:error, message} naming the file.
Measures each held note of a recording that starts on note, and returns {:ok, notes} or {:error, message} naming the file.
Measures a sound that is one held note from its first sample, such as a synth rendered offline, or returns nil when it is too short.
Measures each held note of a sound whose first note is first, one after another a semitone apart.
The median attack and vibrato of the notes, and for each band the median level of their harmonics and of their noise, against the fundamental of the lowest note.
Functions
Measures a recording as one note on note held from its first sample to its last, such as a drone plucked again and again, and returns {:ok, [note]} or {:error, message} naming the file.
Measures each held note of a recording that starts on note, and returns {:ok, notes} or {:error, message} naming the file.
Measures a sound that is one held note from its first sample, such as a synth rendered offline, or returns nil when it is too short.
Measures each held note of a sound whose first note is first, one after another a semitone apart.
The median attack and vibrato of the notes, and for each band the median level of their harmonics and of their noise, against the fundamental of the lowest note.
The vibrato is nil unless at least half the notes have one.