Structs§
- Band
Floor - A filter cannot report an onset faster than its own, so a caller subtracts this.
- Band
Track - Bands
- Prune
eps_dboverLEAST_PRUNE_DB;floor_dbunder 0, against each band’s own peak.- Pruned
Band - Pruned
Bands rate_hzis the source rate a knot’s index counts at.- Smoothing
hz: Noneis the band’s own ERB, capped at a quarter of the decimated rate.
Constants§
- BAND_
COUNT - DECIMATED_
HZ - Under the 2-3 ms gap-detection limit, a hundredth of the samples it came from.
- FIRST_
CAM - 1 to 40 Cam is 26 Hz to 16.7 kHz.
- HIGHEST_
CENTRE_ OF_ RATE - LEAST_
PRUNE_ DB - Under this a bound is finer than the tens of dB a level spans hold in an f64, so no evaluated error could certify it: a correctness limit, not a cost one.
- PRUNED_
MODEL
Functions§
- analyze
- cam
- One Cam is one filter width along the cochlea.
- erb_hz
- Glasberg and Moore’s auditory filter width in Hz.
- hz_
at_ cam - least_
rate_ hz - pruned
- smoothed
Type Aliases§
- Knot
- A source sample’s index from the read’s start, and the level there in dB.