Re: [Audacity-devel] SoX resampling
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Gale A. <ga...@au...> - 2012-10-01 20:14:19
|
| From Martyn Shaw <mar...@gm...> | Mon, 01 Oct 2012 00:47:27 +0100 | Subject: [Audacity-devel] SoX resampling > Has anybody managed to get this compiling/linking/running as a library > within VC? I haven't yet. > > There is a vcproj file at the dropbox link now and I have put > http://dl.dropbox.com/u/8835547/soxr-0.0.1-Source.tar.bz2 > into > N:\Audacity\2_0_1Build\lib-src > as libsoxr and added the vcproj as a project in the Audacity solution. > > It does not conform to our norms of having .obj file in > N:\Audacity\2_0_1Build\win\Projects etc > (and that's no criticism of Rob's efforts) but I don't see how that's > done within VC. > > The compiled obj files are currently (for me) in > N:\Audacity\2_0_1Build\win\Projects\libsoxr\Debug and the linking is > not happening here. > > Any ideas? I don't know how to "fix" it, but the standalone libsoxr links if I copy the compiled .obj files from (for me): S:\soxr-0.0.1-Source\soxr-0.0.1-Source\msvc\Debug to: S:\soxr-0.0.1-Source\soxr-0.0.1-Source\msvc\src then rebuild. Gale > On 24/09/2012 12:39, Rob Sykes wrote: > > ----- Original Message ----- > > > >> From: Martyn Shaw <mar...@gm...> > >> To: Rob Sykes <aq...@ya...>; aud...@li... > >> Cc: > >> Sent: Sunday, 23 September 2012, 23:56 > >> Subject: Re: [Audacity-devel] SoX resampling > >> > >> Hi Rob > >> > >> I'd like to have a play with this on Windows, so please send the > >> tarball or make it available on dropbox etc.. Certainly the results > >> on http://src.infinitewave.ca/ look far superior to our current ones. > > > > > > Okay, here it is: http://dl.dropbox.com/u/8835547/soxr-0.0.1-Source.tar.bz2 > > > > Perhaps the 1st thing to try is running a libsamplerate-enabled build of audacity against the soxr.dll (by renaming it), assuming LSR is a dll on windows. And assuming of course that it builds! Any problems give me a shout. > > > > After that there's a choice of sticking with the LSR API or using soxr's native API, which is very similar, but allows more customisation of the resampling filter. I'd suggest not to expose too many features though unless users really need them: 'give 'em enough rope' and all that. > > > > As folk have been saying here, you won't be able to achieve greater than ~150dB rejection with float32, but that should be more than enough for anything other than research purposes. > > > > Cheers, > > Rob |