[Speex-dev] Batch Processing for SpeexEnc and SpeexDec

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Sat Jan 13 21:09:54 PST 2007


How about:

for name in file1 file2 file3 fileN
do
speexenc [options] $name.wav $name.spx
done

	Jean-Marc

Paul Gunia a écrit :
> Hello, I am a master's student using Speex for my thesis research.
> 
> My question is this: I am running speex from a command line in Unix
> and I want to encode/decode numerous files at once. How can this be
> done since the speexenc requires [options] input_filename.wav
> output_filename.spx and the reverse extensions for the decoder.
> 
> Sorry I am much more of a hardware (read: EE) then a CS guy. I
> attempted to use wildcards, since all the speech files are named
> 'S#.wav' where # is the frame # being encoded. This didn't work
> however. Any Help would be appreciated.
> 
> paul
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
> 
> 


More information about the Speex-dev mailing list