[Asterisk-Users] Stupid question about recording prompts

Jeremy McNamara jj at indie.org
Sat May 17 21:09:08 MST 2003


You should record them directly in 16kbit/8000hz/mono,  converting them 
down from a higher sample rate will add quantization noise into the file.


Jeremy McNamara



Brancaleoni Matteo wrote:

>Hi
>  
>
>>I'd like to record some prompts using a nice microphone and my Ensoniq 
>>sound card, and then convert them to gsm/wav for use with asterisk.
>>
>>What Linux command would I use to a) do the recordings, and then b) 
>>convert them to the appropriate formats?
>>    
>>
>
>I used Audacity (http://audacity.sourceforge.net/) under linux for
>doing the recording prompts (as mark suggested sometimes ago
>onto this list). Is a nice , powerful & simple tool.
>
>Then, after recording them as 16bit/44Khz/mono wav files,
>I simply converted them with a batch command to gsm with sox.
>For example, if u have several waves in 1 dir, you can simply do
>
>for I in *.wav ; do sox $I -r 8000 -b -c1 `basename $I .wav`.gsm ; done
>
>that will batch convert all files into gsm, using the same filename
>(but ending with .gsm), ready 4 asterisk.
>
>Matteo.
>
>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030517/4e39d0f9/attachment.htm


More information about the asterisk-users mailing list