Measures recordings of hits, struck bars, bells, drums and scrapers, with or without a pitch, so a synth's design can be compared with a real instrument's.
A file holds one hit or several, one after another, each starting from silence.
Rumble is filtered out below three quarters of the note given, or below 30 Hz without one, and the bands are measured from there up.
For each hit it finds the level of each band as the hit starts, against the loudest band, and the seconds each band takes to fade 60 dB.
It also lists the frequencies of the hit's strongest peaks, up to six within 30 dB of the loudest, as ratios to the lowest of them, so the partials of a bar or a drum show whatever their pitch.
It also gives each band's level at 0, 50, 100 and 200 ms after the hit's loudest moment, against the loudest band then, nil past the hit's end and -40 for a level more than 40 dB down, and the second the hit starts at in the sound.
With partials: a count, it also lists up to that many of the strongest partials within 40 dB of the loudest, lowest first, each with its frequency in Hz, its ratio to the lowest, its level in dB against the loudest and the seconds it takes to fade 60 dB, or nil when it does not fade; two partials closer than 1% are one.
Summary
Functions
Measures each hit of a recording, with the note it plays or nil, and returns {:ok, hits} or {:error, message} naming the file.
Measures a sound that is one hit from its first sample, such as a synth rendered offline, or returns nil when it is too short.
Measures each hit of a sound, one after another from silence, with the note they play or nil.
The milliseconds after a hit's loudest moment that moments are taken at.
The median level of each band at each moment over the hits, leaving out hits that end before it, or nil when none reaches it.
The median level and fade of each band over the hits.
Functions
Measures each hit of a recording, with the note it plays or nil, and returns {:ok, hits} or {:error, message} naming the file.
Measures a sound that is one hit from its first sample, such as a synth rendered offline, or returns nil when it is too short.
Measures each hit of a sound, one after another from silence, with the note they play or nil.
The milliseconds after a hit's loudest moment that moments are taken at.
The median level of each band at each moment over the hits, leaving out hits that end before it, or nil when none reaches it.
The median level and fade of each band over the hits.