kxproject / kx-audio-driver

kX driver source code (for Windows and Mac)
Other
143 stars 64 forks source link

Change Sample Rate #31

Open vaanwd opened 1 year ago

vaanwd commented 1 year ago

How to change audio sample rate for KX 3553 on Win 10 x64? It is greyed on Default Format: screenshot

linnaea commented 1 year ago

The DSP on cards supported by kX cannot run at any frequency other than 48k, so it's not possible.

vaanwd commented 1 year ago

The DSP on cards supported by kX cannot run at any frequency other than 48k, so it's not possible.

Ok

MarcoRavich commented 1 year ago

The DSP on cards supported by kX cannot run at any frequency other than 48k, so it's not possible.

It would be great - if not already present - to integrare an automatic "any to 48KHz" sample rate software converter...

...check out our list of open resamplers at: HyMPS \ Audio \ Tools \ Resamplers

Hope that inspires !

linnaea commented 1 year ago

The DSP on cards supported by kX cannot run at any frequency other than 48k, so it's not possible.

It would be great - if not already present - to integrare an automatic "any to 48KHz" sample rate software converter...

...check out our list of open resamplers at: HyMPS \ Audio \ Tools \ Resamplers

Hope that inspires !

WASAPI already resamples every stream sent to the output when operating in shared mode so it's not an issue. Changing that setting only affects the format WASAPI sends to the audio device, not what WASAPI accepts from applications.

MarcoRavich commented 1 year ago

WASAPI already resamples every stream sent to the output when operating in shared mode so it's not an issue.

Well, it's not an issue for common users... Why does Windows.Media.Audio.AudioGraph has inferior resampling quality compared to Windows.Media.Playback.MediaPlayer?

linnaea commented 1 year ago

WASAPI already resamples every stream sent to the output when operating in shared mode so it's not an issue.

Well, it's not an issue for common users... Why does Windows.Media.Audio.AudioGraph has inferior resampling quality compared to Windows.Media.Playback.MediaPlayer?

Trying to replicate a 38kHz signal with a 44.1kHz sampling rate is just dumb.

Also the only interpretation of a repeating sequence of {-123,123,0} band limited at 22.05kHz(bacause the sampling rate is 44.1) is a 14.7kHz sine wave with a peak above ±1, which neither of the resampler produced so both are wrong.