Creating nodename files

Discussions about this interesting Xelatec product
kb3ors
Posts: 49
Joined: Wed Nov 10, 2010 10:58 pm

Creating nodename files

Postby kb3ors » Mon Apr 15, 2013 8:06 pm

Here on the WAN-RS we use custom nodenames that play instead of all the numbers. I thought it was about time to let you all in on the process of how I create them.
On the WAN-RS I use the location and vhf or uhf, and or the suffix of the frequency.

EX: Warren nine two five, or Ludlow U H F
Remember to type out the numbers or it will read 9 hnudred twenty five if you use just the numerics.

First goto http://www2.research.att.com/~ttsweb/tts/demo.php#top
Select the voice you want to use. There are lots to pick from.

You may have to experiment a little to get it to sound proper by misspelling words, or Caps and spaces.

Type your announcement and click on speak to listen to it.

When you have it sounding proper you will have to download it to your local computer. The file will save as a .wav . Be sure sure to change the file name to the node number. EX: 2135.wav

Using your favorite File Transfer Protocol or FTP client. I use winscp.
http://winscp.net/download/winscp520setup.exe

Move the file xxxxx.wav from your PC to your linux box in the /var/lib/asterisk/sounds/rpt/nodenames/ directory.

Next you will have to convert this file to ulaw to be used by asterisk. Not to mention it sounds better.

Log into your linux machine and cd to /var/lib/asterisk/sounds/rpt/nodenames/

using the following command convert the wav to ulaw.

sox -V xxxx.wav -r 8000 -c 1 -t ul xxxx.ulaw


That simple the next time someone connects to your node it will announce the audio file you just created instead of the digits that seem to drag on.
KB3ORS - Brian

Return to “XIPAR Distribution”

Who is online

Users browsing this forum: No registered users and 1 guest