[Speex-dev] speex-problem

David Resnick abunetta at gmail.com
Wed Sep 7 01:48:15 PDT 2005


You can prepare a raw file from a regular Windows WAV file using the SOX
utility (http://sox.sourceforge.net/).

The following batch file script encodes all WAV files in the current
directory to SPX (at a sample rate of 16000). You need to have both sox.exe
and speexenc.exe in your path.

for %%i in (*.wav) do sox %%i -r 16000 %%~ni.raw
for %%i in (*.raw) do speexenc -w --vbr --8bit --rate 16000 %%i %%~ni.spx

Regards, 
David 

> -----Original Message-----
> From: speex-dev-bounces at xiph.org [mailto:speex-dev-bounces at xiph.org] On
> Behalf Of marcin
> Sent: Tuesday, September 06, 2005 15:00
> To: speex-dev at xiph.org; speex-dev-request at xiph.org
> Subject: [Speex-dev] speex-problem
> 
> Witam!
> 
>   I have a question about speex. how to prepare wave file to use with
>   sample code that is on your site:
>   http://www.speex.org/manual2/node12.html  .
>   If u can please answer me soon.
> 
> --
> Pozdrawiam
>  Marcin Sliwa                          mailto:marcin_sl at wp.pl
> 
> _______________________________________________
> 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