Expand description
Platform-independent audio analysis helpers.
Structs§
- Analysis
Metadata - Metadata needed to interpret one live Analysis snapshot.
- Analysis
Unavailable - An Analyser has no active source its owner can safely expose.
- Audio
Analyser - Live
Analysis Options - Bounded scheduling options for reactive live Analysis.
- Live
Analysis Snapshot - Immutable values collected together from one Analyser.
- Waveform
Selection - An ordered source-time interval within an audio timeline.
Enums§
Functions§
- downsample_
peaks - Reduce amplitude peaks to at most
bucketsvalues, preserving the maximum value from each source window. - peak_
amplitude - Return the largest distance from Web Audio’s unsigned silence value (128),
normalized to the full
u8range. - rms_
level - Return normalized root mean square amplitude for one time-domain window.
- trim_
interleaved_ pcm - Trim a source-time interval from interleaved PCM without splitting channel frames.
- use_
live_ analysis - Reactively collect complete, interpretable snapshots from an optional Analyser.