Source runtime in seconds, sourceFrames / sourceSampleRate.
The downmix and resampling applied to produce samples.
Mono samples at processing.outputSampleRate in a new mutable buffer the caller owns. PCM values lie in [-1, 1); float input is only checked finite before conversion. Resampling rounds the output length and can yield an empty buffer for a short source and low rate.
Source channel count, 1 or 2, before the mono downmix.
The file's own format declaration as parsed.
Positive number of complete sample frames in the source data chunk; empty data is refused by the decoder.
Positive integer source rate in samples per second, admitted by the WAVE decoder before resampling.
One decoded WAVE source: its declared facts, the processing applied, and mono samples available to a caller's mixer.
The
source*facts anddurationSecondsdescribe the file before downmix and resampling, because a render plan records them as the asset's identity; onlysamplesandprocessingdescribe the output. Reporting the output as the source would let a resampled asset claim the plan's rate and hide a duration disagreement.