Skip to main content

split

Function split 

Source
pub fn split(p: f32, secs: f32, format: AudioFormat) -> Vec<f32>
Expand description

A centred bass sine under a treble tone panned to p — the case a whole-mix scalar cannot express (ADR-0215).

The 80 Hz layer is identical in both channels, so bass_balance reads 0; the 8 kHz layer carries pan’s gains, so treb_balance reads p. The whole-mix balance lands strictly between them, at a value set by the relative energy of the two layers rather than by either position.

The treble layer is the louder of the two (0.6 against 0.3, summing inside the ±0.9 headroom), and that is arithmetic rather than taste: a band’s value is a mean over its linear bins, and the treble band spans ~600 of them against the bass band’s ~10. An equal-amplitude tone up there would average down to about the silence floor and the band would read as having no position at all.