Expand description
The audio a transcription reads from.
Structs§
- Samples
- Samples already in memory, the shape a file or a test uses.
Constants§
- SAMPLE_
RATE - Sample rate every model in this crate expects, which is the rate
capture opens a device at: one constant, so the two cannot drift.
Sample rate every model in forge reads, and the rate
opendelivers.
Traits§
- Audio
Source - A pull-based source of mono audio.
Functions§
- resample_
mono - A buffer at another rate, brought to
SAMPLE_RATEwith the capture path’s own filtered resampler: the one way a source declaring another rate becomes a source this crate accepts. A buffer of mono audio atfrom, converted totowith the input path’s own filter. The same rate hands the buffer straight back.