pub const PRESET_FAST: Config;Expand description
Low-latency, lower-quality preset.
You may prefer using a sinc resampler (eg. rubato) instead.
HydrogenAudio SRC quality results f32
- Overall Score: 67.98%
- Spectrogram Score: 50.66%
- Aliasing Score: 100%
- Nyquist Filter Score: 89.1%
- Intermodulation Distortion Score: 35.66%
- Impulse Frequency Score: 50.76%
- Pre-ringing Score: 26.67%
- Gapless Sine Score: 45.58%
- Link with more details: https://src.hydrogenaudio.org/compareresults?id1=c527356d-3566-46f8-8dea-dc2065b11e46&id2=0
HydrogenAudio SRC quality results f64
- Overall Score: 92.69%
- Spectrogram Score: 91.34%
- Aliasing Score: 100%
- Nyquist Filter Score: 87.96%
- Intermodulation Distortion Score: 100%
- Impulse Frequency Score: 96.28%
- Pre-ringing Score: 26.79%
- Gapless Sine Score: 55.61%
- Link with more details: https://src.hydrogenaudio.org/compareresults?id1=8e59a5bd-8147-470c-9501-44ab81718b8f&id2=0
ยงExample
let config = ardftsrc::PRESET_FAST
.with_input_rate(44_100)
.with_output_rate(48_000)
.with_channels(2);