[arm-allstar] TTS and file types

David McGough kb4fxc at inttek.net
Tue Aug 29 20:25:10 EST 2017


Hi Barry,

sox will convert the file types. Try:

sox -t ul -r 8000 -c 1 file.ulaw file.gsm

There are several ways to add silence. One simple way is to just "cat" a 
file containing silence, where needed. In the hamvoip V1.5 release, you 
should find this folder: /var/lib/asterisk/sounds/silence  ...and, it 
contains files 1.gsm through 10.gsm, with the digit representing the 
number of seconds of silence.

So, just cat the .gsm files together, something like:

export V=/var/lib/asterisk/sounds

cat $V/this.gsm $V/silence/1.gsm $V/is.gsm $V/silence/1.gsm $V/linux.gsm > /tmp/combined.gsm



73, David KB4FXC



On Tue, 29 Aug 2017, "Barry Buelow via arm-allstar" wrote:

> Hi

I've been making a few TTS and have several zzz.ul files.  Is it simple 
to convert ul to gsm?  I would like to have a period of silence and 
haven't discovered that in TTS and apparently can't mix .gms and .ul in 
a single CAT file.  Maybe a file with several ", , ," will work.

Suggestions?

Barry w0iy



_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB and RPi2/3 web page - http://hamvoip.org



More information about the arm-allstar mailing list