Re: [Audacity-devel] SoX resampling
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Martyn S. <mar...@gm...> - 2012-10-02 00:33:48
|
On 01/10/2012 21:13, Gale Andrews wrote: > > | 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. Baffled, I am. I have had an error-free compilation copying those file across but I don't get SOX, I get libsamplerate results, not SOX ones. Do you actually get SOX results, using 180dB resolution on the spectrograms and comparing http://src.infinitewave.ca/ 'SoX 14.4 High Quality' with 'Audacity 1.39 (Best)'? There is a subtle blue line going down on the SoX result and up on the 1.39 result above 6s, which I am taking as being indicative. I have moved libsoxr.vcproj into N:\Audacity\2_0_1Build\win\Projects\libsoxr to be in line with the the other projects, and relinked the 'Header Files' and 'Source Files' in the solution and am getting errors 1>n:\audacity\2_0_1build\lib-src\libsoxr\src\avfft32s.c(5) : fatal error C1083: Cannot open include file: 'libavcodec/avfft.h': No such file or directory 1>avfft32.c 1>n:\audacity\2_0_1build\lib-src\libsoxr\src\avfft32.c(5) : fatal error C1083: Cannot open include file: 'libavcodec/avfft.h': No such file or directory and I don't appear to have 'libavcodec/avfft.h' on my system. Am I an FFMPEG revision short? Got to go Martyn > 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 > > > > ------------------------------------------------------------------------------ > Got visibility? > Most devs has no idea what their production app looks like. > Find out how fast your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219671;13503038;y? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > audacity-devel mailing list > aud...@li... > https://lists.sourceforge.net/lists/listinfo/audacity-devel > |