I noticed this while playing a 44.1 kHz recording of my voice through the Player module. My voice sounded artificially high-pitched. Then I noticed in the menu [VCV Rack / Engine / Sample rate] that my rendering sample rate was set to 48 kHz. When I changed that sample rate to 44.1 kHz to match the WAV file's sampling rate, my voice sounds correct.
It makes sense that Player is reading samples from the file and sending them to its LEFT/RIGHT output ports. When the sample rate doesn't match, the audio sounds wrong. It would be nice to resample to the target sampling rate.
I know this is not a trivial request, but as a fellow developer, I'm willing to jump in and help with the resampling changes, should you choose to do this. There are some dsp helper functions in the VCV Rack SDK that should make this mostly painless.
I will be happy to submit a PR if you are open to it. Just let me know.
I noticed this while playing a 44.1 kHz recording of my voice through the Player module. My voice sounded artificially high-pitched. Then I noticed in the menu [VCV Rack / Engine / Sample rate] that my rendering sample rate was set to 48 kHz. When I changed that sample rate to 44.1 kHz to match the WAV file's sampling rate, my voice sounds correct.
It makes sense that Player is reading samples from the file and sending them to its LEFT/RIGHT output ports. When the sample rate doesn't match, the audio sounds wrong. It would be nice to resample to the target sampling rate.
I know this is not a trivial request, but as a fellow developer, I'm willing to jump in and help with the resampling changes, should you choose to do this. There are some dsp helper functions in the VCV Rack SDK that should make this mostly painless.
I will be happy to submit a PR if you are open to it. Just let me know.