I have a large bunch of WAV files sampled at 44.1kHz and at 48kHz, which I would like to convert to 8kHz sampling rate, efficiently/quickly but professionally & accurately (i.e. no aliasing etc.) Could anyone recommend me a tool for doing that (free software or Matlab)? (For example I know GoldWave is bad for this purpose since its anti-aliasing filter is unprofessional.)
samplig rate conversion
Started by ●March 18, 2006
Reply by ●March 18, 20062006-03-18
I use Adobe Audition for the purpose ... though not free, i think there is a demo version available on the Adobe site Raghu twain wrote:> I have a large bunch of WAV files sampled at 44.1kHz and at 48kHz, which > I would like to convert to 8kHz sampling rate, efficiently/quickly but > professionally & accurately (i.e. no aliasing etc.) > > Could anyone recommend me a tool for doing that (free software or Matlab)? > > (For example I know GoldWave is bad for this purpose since its > anti-aliasing filter is unprofessional.)
Reply by ●March 18, 20062006-03-18
"twain" schrieb> I have a large bunch of WAV files sampled at 44.1kHz > and at 48kHz, which I would like to convert to 8kHz > sampling rate, efficiently/quickly but > professionally & accurately (i.e. no aliasing etc.) > > Could anyone recommend me a tool for doing that (free > software or Matlab)? > > (For example I know GoldWave is bad for this purpose > since its anti-aliasing filter is unprofessional.) >You might want to check audacity (audacity.soureceforge.net). HTH Martin
Reply by ●March 18, 20062006-03-18
twain wrote:> > I have a large bunch of WAV files sampled at 44.1kHz and at 48kHz, which > I would like to convert to 8kHz sampling rate, efficiently/quickly but > professionally & accurately (i.e. no aliasing etc.) > > Could anyone recommend me a tool for doing that (free software or Matlab)? > > (For example I know GoldWave is bad for this purpose since its > anti-aliasing filter is unprofessional.)Secret Rabbit Code will do the trick: http://www.mega-nerd.com/SRC/ Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "The trouble with Muslims is not that they try to make us think as they do, but that they try to make us do as they think!" -- paraphrased from H.L. Mencken on Puritans
Reply by ●March 20, 20062006-03-20
File 'sndfile.h' is missing: sndfile-resample.c .\examples\sndfile-resample.c(30) : fatal error C1083: Cannot open include file: 'sndfile.h': No such file or directory NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. Erik de Castro Lopo wrote:> twain wrote: >> I have a large bunch of WAV files sampled at 44.1kHz and at 48kHz, which >> I would like to convert to 8kHz sampling rate, efficiently/quickly but >> professionally & accurately (i.e. no aliasing etc.) >> >> Could anyone recommend me a tool for doing that (free software or Matlab)? >> >> (For example I know GoldWave is bad for this purpose since its >> anti-aliasing filter is unprofessional.) > > Secret Rabbit Code will do the trick: > > http://www.mega-nerd.com/SRC/ > > > Erik
Reply by ●March 20, 20062006-03-20
File 'sndfile.h' is missing: and not defined: sf_count_t Erik de Castro Lopo wrote:> twain wrote: >> I have a large bunch of WAV files sampled at 44.1kHz and at 48kHz, which >> I would like to convert to 8kHz sampling rate, efficiently/quickly but >> professionally & accurately (i.e. no aliasing etc.) >> >> Could anyone recommend me a tool for doing that (free software or Matlab)? >> >> (For example I know GoldWave is bad for this purpose since its >> anti-aliasing filter is unprofessional.) > > Secret Rabbit Code will do the trick: > > http://www.mega-nerd.com/SRC/ > > > Erik
Reply by ●March 20, 20062006-03-20
Oh man, it's not for MSVC++, what a headache! Why won't you simple include an executable for Win32 on your web site? It says: "Building libsndfile using the microsoft compiler does not currently work. Microsoft's compiler is a C++ compiler and does not compile a number of ISO C99 Standard constructs. If you insist on compiling libsndfile with the microsoft compiler you are on your own. " Erik de Castro Lopo wrote:> twain wrote: >> I have a large bunch of WAV files sampled at 44.1kHz and at 48kHz, which >> I would like to convert to 8kHz sampling rate, efficiently/quickly but >> professionally & accurately (i.e. no aliasing etc.) >> >> Could anyone recommend me a tool for doing that (free software or Matlab)? >> >> (For example I know GoldWave is bad for this purpose since its >> anti-aliasing filter is unprofessional.) > > Secret Rabbit Code will do the trick: > > http://www.mega-nerd.com/SRC/ > > > Erik
Reply by ●March 20, 20062006-03-20
twain wrote:> > Oh man, it's not for MSVC++, what a headache! > Why won't you simple include an executable for Win32 on your web site? > > It says: > "Building libsndfile using the microsoft compiler does not currently > work. Microsoft's compiler is a C++ compiler and does not compile a > number of ISO C99 Standard constructs. If you insist on compiling > libsndfile with the microsoft compiler you are on your own. "About 1 inch above the text you have just quotes, it says: Note : For pre-compiled binaries for windows, see the main web page. Did you look on the main web page? Maybe for the ZIP file that is labeled: Windows .zip file including precompiled binaries and all source code Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell
Reply by ●March 20, 20062006-03-20
in article 441E8025.D66D99D1@mega-nerd.com, Erik de Castro Lopo at nospam@mega-nerd.com wrote on 03/20/2006 05:12:> twain wrote: >> >> Oh man, it's not for MSVC++, what a headache! >> Why won't you simple include an executable for Win32 on your web site? >> >> It says: >> "Building libsndfile using the microsoft compiler does not currently >> work. Microsoft's compiler is a C++ compiler and does not compile a >> number of ISO C99 Standard constructs. If you insist on compiling >> libsndfile with the microsoft compiler you are on your own. "one thing i would have to say, Erik, while i respect the technical merit of your code (i've only looked at libsndfile), it is awfully opaque to read. a few years ago, i tried extracting the salient functions out of it to include in a simple C program i was writing to do some (undefined) music/sound processing on some .wav files. whenever i did, it left so many undefined symbols and such that i ended up writing a simple .wav file reader from scratch. that was simpler than making libsndfile work for me. i haven't yet tried to crack Secret Rabbit yet, but i have my own ways of doing SRC, and probably functionally equivalent to your ways, but with many fewer files and keystrokes. i'm just an EE who is a code minimalist, and frankly Erik, your code looks like something written by a hard-core professional working in a big company like Micro$oft. that may be good, in some regards, but it is not transparent. -- r b-j rbj@audioimagination.com "Imagination is more important than knowledge."
Reply by ●March 20, 20062006-03-20
robert bristow-johnson <rbj@audioimagination.com> writes:> [...] > i'm just an EE who is a code minimalist,If Einstein were a software developer, I'm sure his philosophy would be "Write code as simple as possible, but no simpler." --RY -- % Randy Yates % "Ticket to the moon, flight leaves here today %% Fuquay-Varina, NC % from Satellite 2" %%% 919-577-9882 % 'Ticket To The Moon' %%%% <yates@ieee.org> % *Time*, Electric Light Orchestra http://home.earthlink.net/~yatescr