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
Jean-Marc Valin
2007-Jan-13 21:10 UTC
[Speex-dev] Batch Processing for SpeexEnc and SpeexDec
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@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >