IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Upsampling with SoX for all programs, SoX + Win7 + WASAPI
Odar
post Apr 17 2012, 07:40
Post #1





Group: Members
Posts: 1
Joined: 17-April 12
Member No.: 98905



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.
Go to the top of the page
+Quote Post
Kohlrabi
post Apr 17 2012, 12:28
Post #2





Group: Super Moderator
Posts: 1050
Joined: 12-March 05
From: Kiel, Germany
Member No.: 20561



QUOTE (Odar @ Apr 17 2012, 08:40) *
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.


--------------------
Ceterum censeo Masterdiskem esse delendam.
Go to the top of the page
+Quote Post
[JAZ]
post Apr 17 2012, 19:37
Post #3





Group: Members
Posts: 1783
Joined: 24-June 02
From: Catalunya(Spain)
Member No.: 2383



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).

Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd September 2014 - 03:21