Skip to main content

Module partials

Module partials 

Source

Structs§

Asked
What a caller asks of measure.
Curve
A knot table: pwl(t, times[0], values[0], ...); error the most it leaves the curve.
Partials
Track

Enums§

Kind

Constants§

BREATHY_FLUTTER_DB
BREATHY_POWER_SECS
A breathy track’s level is its band’s rms over this span.
CANCELLATIONS
Jacobi passes against the residual: each cancels what the last left of every tonal neighbour’s band in a track’s own, the neighbours’ leak back into it a factor of their Gaussian’s weight at the gap smaller each pass.
CAPTURE_SIGMAS
A phase slope past this many half-widths from the detected frequency reads a neighbour leaking into a band its own track has left silent, and is not the track’s.
COHERENCE_HALF_HZ
COHERENCE_LAG_SECS
Coherence: the band’s correlation with itself COHERENCE_LAG_SECS on, over the loudest COHERENCE_SPAN_SECS, the band at least COHERENCE_HALF_HZ either side.
COHERENCE_SPAN_SECS
EDGE_SIGMAS
A hop’s frequency is read only where its slope’s span lies this many Gaussian time deviations inside the target, the band there untouched by its ends, and held outward.
FLAG_LEAST_HZ
The cancelled reads take a track’s flags at this half-width at least: a narrowband noise’s envelope under a narrower Gaussian moves slower than the flutter’s 30 ms running mean.
FLUTTER_FRAME_SECS
Flutter: the dB spread of FLUTTER_FRAME_SECS means about their FLUTTER_MEAN_FRAMES running mean over the loudest FLUTTER_SPAN_SECS; over BREATHY_FLUTTER_DB is breathy.
FLUTTER_MEAN_FRAMES
FLUTTER_SPAN_SECS
GAP_SHARE
The demodulating Gaussian’s half-width: this share of the gap to the nearest track, clamped.
KNOT_CENTS
A frequency knot table stays this close to the measured curve, in cents, or within twice the curve’s own noise where that is wider.
KNOT_SHARE
An amplitude knot table stays within this share of the track’s peak, or the floor if higher.
LEAK_MARGIN
A peak stands this many times over the Hann sidelobes louder peaks put under it: a partial that decays or swells within a frame raises its skirts over a steady one’s.
LEAST_GAP_HZ
Groups closer than this share one band at the narrowest Gaussian, and are one track.
MODEL
NEAR_CENTS
Two peaks, or two fragments, are one partial within this many cents or NEAR_HZ.
NEAR_HZ
PROMINENCE_DB
A peak counts where it stands this far over the median bin within a sixth of an octave.
RESOLUTION_HZ
SLOPE_SIGMAS
A hop’s frequency is the band’s mean phase slope over this many Gaussian time deviations: a change faster than the Gaussian’s width is not in the band to be read.

Functions§

measure
Whole samples: a frame of at least 2, a hop of at least 1, a window of whole hops of frames.