Ersky9x voice explained wordpress com

Pdf File 542.39 KByte, 15 Pages

Ersky9x Voice Explained

!Making Voice Files and Programming them.

Revised 15 Dec 2013

The ability of Ersky9x to announce warnings, messages and music depends on the

files which are contained on the SD card. These voice files may be downloaded

from various places on the web in many languages and with many accents. You

can program an SD card without the transmitter by inserting it in a micro SD Card

holder which then fits in any of the USB ports on your computer. It can take some

time to create voice files so it may be better to do it this way rather than have your

!transmitter connected to your computer for extended periods.

When you insert the USB SD card holder into the USB port a drive will appear on

your desktop (Mac) or in the 'My Computer' part of your PC 'Start' window. Open

the drive and create a folder in the root directory named 'Voice'. This is where all

!the audio files are placed and where ersky9x knows where to look for them.

Appendix A: Voice Files shows the mandatory format of the files so that the ersky9x

firmware knows where to get the built ? in announcements. It also shows where you

!may insert model names and special announcements which you make yourself.

Files in RED must NOT have their file number changed These are needed by

!Ersky9x operating system.

!Files in Blue are for Model names

!All the other files can have any available number coloured black.

Now do a google search for sound files for Er9x or Ersky9x and find a set of files

which you like. After you have downloaded them the files will probably already in a

folder named 'Voice'. Open the .wav file in your favourite audio player and you can

listen to the content and accent of the files. You will find all the .wav files needed by

the system.

It is likely you will need some model names and some other announcements which

are not in the download and you may want to make your own music or speech file

to play at start-up. This file is called 'tada.wav' and you can make your own of the

!same name and substitute it in the Voice folder.

!Making Your Own Voice Files

Using your own voice:

Open Quicktime Player. In the drop down menu 'File' select 'New Audio

Recording' A graphic similar to an audio playback graphic will appear. It has

a red dot in the middle. Click on that dot and speak to the installed

microphone (on a Mac it's at the top of the screen). Click on the dot which

is now a black square when finished. Save the file to the desktop. It is

in .mov format. Open Switch Audio Converter or similar audio conversion

utility. Drag and drop the .mov file into the big space in the middle of the

ersky9x Voice Explained

page !1 of 1! 5

the application. At the bottom left corner select .wav as the output format. At the bottom of the page is a button labelled Encoder options. Select 'Custom' as the 'Settings' option. Then select 8 bit for Er9x use or 16 bit for ErSky9x use, and click OK. It doesn't matter what else you select they will revert to 'auto' anyway. No; I don't know why. Select the location where you want the file to end up and then click on the 'Convert' button. That's your .wav file finished. It will play in Quicktime if you want to check it out

!before adding it to the Voice folder.

Using a Mac voice. Mac have had text to speech capability since about 1988. Highlight any text or list of names and numbers and press a keyboard shortcut ( 'apple' + 'esc' in my case) and it will speak the text. (your mac may have a different

!keyboard shortcut - see later)

In short to record a .wav file for your SD card: open iTunes, open TextEdit, Open Audacity. Write your text (ie model names) each on a single line in TextEdit, highlight it and press 'ctrl' + click the mouse (or "Right Click" on your trackpad), from the menu select 'Add to iTunes as a spoken track'. Go to iTunes page 'Recently Added'. As detailed above, drag and drop the .mp4 file into the Audacity window. Select the .wav format. select the custom encoder option and 16000 Hz . Convert and Export the file as a 'WAV (Microsoft) signed 16 bit PCM' and you are done. Rename the file with a four digit number corresponding to a number on the list in Appendix A.

!Select one which is vacant and not one reserved for the system.

Now for a little more detail. There are many Mac voices and the default (Alex) is probably not what you want as it does not match what others have already recorded because they are all female and this voice is male. Go to System Preferences and open the Speech Preferences. Depending on the age of your Mac there will be a variable number of voices and the quality will be variable. My ancient MacBook has 5 male,5 female and ten novelty voices. The male and female voices have a 'Stephen Hawking' monotonic sound and could be used, but don't match what has already been done. My iMac with OS 10.8 has only 6 voices total of much better quality, but you can download up to 20 or so specifically for different languages ie an Italian voice for italian language text to speech. I used the Australian English voice 'Karen' which is a slightly softer but close match to what has already been done and has no Stephen Hawking effect. In recent OS's you have to

!download your voice from a list under 'custom' in the list of voices.

Your shortcut to speaking text and adding text to iTunes as a spoken track may be different depending on the age of your Mac. Look in System Preferences - Keyboard Shortcuts - Services . Here you can tick the box for 'Add to iTunes as a Spoken Track' and define your own shortcut. This

ersky9x Voice Explained

page !2 of 1! 5

!command line will then appear in your ctrl + click menu.

Using a voice from the Web on your PC You will need a text to speech application so that you have a suitable input for the audio editor. Do search for 'text to speech free' and select an application which you can use and has a voice which you like. Here's one which has been found to be good:

!

Open your text to speech application and your text editor. Type the text you wish to have spoken and record the output as a file on your desktop. Open the file in your Audio Editor. Set the project rate to 16000 Hz and Convert and Export the file as a 'WAV (Microsoft) signed 16 bit PCM' and you are almost done. Rename the file with a four digit number corresponding to a number on the list in Appendix A. Select one which is

!vacant and not one reserved for the system.

Audio Editing

You will need an Audio Editor which is user friendly. Audacity is recommended. It is free and is more than adequate. Search for `Audacity

ersky9x Voice Explained

page !3 of 1! 5

`Audacity Audio Editor' and download the appropriate version for your computer. It supports drag and drop to open files. The large blank field in the middle is where you drag and drop the spoken text. The box in the bottom left corner is where you set the project frequency rate to 16,000Hz for Ersky9x and Er 9x. The volume of the spoken text is adjusted by the slider in the box to the immediate left of the waveform. Just above this box is another with a green arrowhead. Click on this to play the individual track. The slider to the right sets the playback speed. If you want to join two tracks together load both into the field in the middle. Using the tool which looks like a double headed arrow (available from the box in the middle of the top row of symbols) move one track so that it is aligned at the end of the other. You will now have one track following another. In the drop down menu 'Tracks' click on 'Mix and Render' Audacity will make one continuous track from the two (or more). In the drop down menu 'File', click on 'Export' and select 'WAV (Microsoft) signed 16 bit PCM' as the file format delete as many of the fields as you wish ? they only add useless information for our purposes and export. Rename the file

!and add it to your 'Voice' folder.

!!When you have your new folder complete upload it to your SD card.

Creating many audio files Audacity has a command 'analize>sound' finder. It will split a .wav in multiple files then when you're happy with the split (you can adjust the label track), select "export multiple" from file drop down

!menu."

Use of that feature in Audacity saves hours of time, allows automatic cropping of the quiet periods both before and after the sound and multiple exports in the correct sequence. You type up all the sounds you want to record in one long list, highlight the lot, generate one long audio file, drag and drop this voice file into the Audacity new file window, set the project rate at 16000 Hz, select "analyse sound" from the "Analyze" drop down menu, set the before and after quiet periods to 0 seconds, and then "export

m!!!!!!!!! ultiple".

ersky9x Voice Explained

page !4 of 1! 5

How to program the audio on ersky9x

This guide will explain how to set up the audio to use the voice feature with ersky9x.. Many thanks to Joao (The

!Fortuguese) :)

You should first configure your radio in the radio set-up page. This is page 1 of 11; LEFT long press to get to it from the 'Home' pages. The important line here is the Sound Mode line. It must be

!set to 'SpekrVoice'

If you want the radio to tell you with spoken messages what the alarms are, instead of a variety of beeps, gurgles and chirps you need to turn some other options on as well. If you want the welcome message to sound the splash screen must be `on' If you want throttle, Swich, memory and alarms to be spoken then they also have to

!be `on'.

Next I'll show you how to have your model name announced at start-up, just so you don't take off with the wrong model

!selected in your radio:)

Go back to the 'Home' pages. Go to the model setup menu by long pressing the right key, and then press short one more time to go to page number 2. Here you can enter a file number for the voice file that will play the name of your model at startup or when you change from one model to another. For models names, only file numbers starting at

ersky9x Voice Explained

page !5 of 1! 5

0260 are allowed. On the second line you find the option to enter a file number: In my case it says Voice Index: 276 That means that the audio file to play the name of my Sbach model corresponds to the file number 0276 in the SD-Card. I made that file and put it there just as I

!showed you above.

Now I will explain how to program a switch to trigger a voice event. Go to Models menu, page number nine, Safety Switches, and on the first line you will see: Number Voice SW 0 (Zero is the default value) With this option you can replace some of the safety switches with voice switches. So, the last number of Safety Switches in the list will be replaced by the number of Voice switches you've just created. In the picture above I selected 8 voice switches, that means that the safety

!!switches 9 to 16 were now replaced with voice switches 9 to 16.

Every Voice switch has 3 configuration options. On the left you can select the switch itself. You can choose all the Physical switches and also all Custom switches. More on that later. The second option (middle) allows you to select how the voices and telemetry events will be played. Finally, on the right side you can select the voice file to play

!or, depending on the middle option, the telemetry event to be played.

Left Column So, as I mentioned before on the left side you choose the switches. Int he screen shot above for VS21 (Voice Switch 21) the RUD physical switch plays voice file 0080.wav from the SD card. In VS23 the SW2 virtual switch plays the telemetry value for the RSSI at the time that the SW2 switch is programmed to operate. See

!below for how to do that.

Middle Column? Here you

ersky9x Voice Explained

page !6 of 1! 5

Download Pdf File