You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently written a small application using SDL 2.0.20 and SDL_sound 2.0.1 hoping that this combination would handle resampling reasonably well. However I can't get it to work properly.
I'm opening a device with the following settings:
AUDIO_S16LSB
1 channel
44100 Hz
Playing 44.1kHz samples with those settings works like a charm, however everything which needs upsampling (e.g. 11 or 22kHz) sounds horrible. There is a lot of noise and even occasional crackling. It almost sounds like there are samples missing (e.g. due to an off-by-one error or something).
It's definitively not a performance issue, I've even switched to decoding the whole sample upfront just to rule that out.
The text was updated successfully, but these errors were encountered:
higaski
changed the title
Upsampling distorted (noise/crackling)
Upsampling noise/crackling
Mar 29, 2022
I've recently written a small application using SDL 2.0.20 and SDL_sound 2.0.1 hoping that this combination would handle resampling reasonably well. However I can't get it to work properly.
I'm opening a device with the following settings:
Playing 44.1kHz samples with those settings works like a charm, however everything which needs upsampling (e.g. 11 or 22kHz) sounds horrible. There is a lot of noise and even occasional crackling. It almost sounds like there are samples missing (e.g. due to an off-by-one error or something).
It's definitively not a performance issue, I've even switched to decoding the whole sample upfront just to rule that out.
The text was updated successfully, but these errors were encountered: