Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Upsampling with SoX for all programs (Read 3027 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Upsampling with SoX for all programs

Hello.

I am new here. I want to ask, if it is any possibility to resample audio through WASAPI in all programs. I am finding some software like SoX which could be running in background (probably as "fiter" or some service). When I run any application (Foobar2000, J River, XBMC for movies) it could resample audio to specified frequency sampling.

Any idea? Thank you.

 

Upsampling with SoX for all programs

Reply #1
I am new here. I want to ask, if it is any possibility to resample audio through WASAPI in all programs. I am finding some software like SoX which could be running in background (probably as "fiter" or some service).

foobar2000 at least offers a built-in resampler (PPHS) DSP, which you can simply add to your DSP playback chain. lvqcl also created a SoX-based resampler for foobar2000, which should perform slightly better than the built-in one, though arguably both perform well enough for actual music playback.

I guess other players offer similar built-in solutions.
It's only audiophile if it's inconvenient.

Upsampling with SoX for all programs

Reply #2
The first thing you need to use your solution is, obviously, that the software supports WASAPI output.

The second thing you need is that it supports SHARED mode WASAPI (why would you need to resample in exclusive mode?)

And if you have these two things... Why isn't the samplerate/bitrate option in the properties of the playback device of windows enough?
That setting is even used for programs that output using the legacy "Waveout" and Directsound APIs.

(Don't start with "it's buggy", "it's low quality" bla bla bla. The only problem it existed was with the legacy waveout API resamping to/from high samplerates. Two things a bit opposed).