
Resamples each AudioFrame to a target rate while preserving the channel count, emitting an AudioFrame at the new rate. Use it to match the fixed input rate a downstream audio model or sink expects.
Downsample a file to the rate a speech recogniser requires.
Conform live mic audio to the rate a voice-activity detector needs.
Normalise synthesised speech to a playback rate for the browser.
target_sample_rate can be changed while the component is running; the new value takes effect on the next frame, which rebuilds the internal resampler when the rate or channel count differs from the last frame.
Automated release