[Asterisk-Users] recording files for menues

Shoval Tom shoval at softov.co.il
Sun Nov 2 12:51:28 MST 2003


No problem.
I'll try the -c1 switch.
As for the resample -ql option - my files were already 8Khz, so it wasn't
necessary.

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Michiel Betel
Sent: Sunday, November 02, 2003 11:26 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] recording files for menues

Sorry... I was a bit in a hurry, and indeed I cannot expect all list 
readers to know about shell scripts... will elaborate a bit more in the 
future.

I noticed you removed the sox resample -ql options, which on my studio 
recorded .wav files helped a bit, also It might be sensible to add a -c 
1 to make sure sox will convert a stereo file to a single channel .gsm

Regards, Michiel

Shoval Tom wrote:

>Olle, I can't reach the faq page, and haven't been able to for the last
four
>days.
>I'm getting 504 gateway timeout errors.
>
>Any ideas?
>
>Btw, the first answer I got worked, I mistook ` for ' (newbie error, I
>know...)
>
>To be more specific for you newbies out there
>
>Create a file containing:
>
>----copy below this line
>#!/bin/sh
>for i in *.wav; do sox $i `basename $i .wav`.gsm;done
>----up to this line
>
>save it in your path, or in the directory containing the files you want to
>convert
>
>do a chmod +x filename (where filename is the name of your saved file)
>
>now you can run it while in the directory and it'll convert all *.wav files
>for you.
>
>  
>


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list