Voice Packs for Ersky9x

ersky9x is a port of er9x for use on the sky9x board.
User avatar
MikeB
9x Developer
Posts: 15862
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Voice Packs for Ersky9x

Post by MikeB » Wed Nov 11, 2015 11:27 pm

Note: There is a setting in the Audio/Haptic menu where you set the volume of the inactivity alarm separately from the normal volume control.

Mike.
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

User avatar
feihu47
Posts: 27
Joined: Tue Aug 11, 2015 9:02 pm
Country: -

Re: Voice Packs for Ersky9x

Post by feihu47 » Thu Nov 12, 2015 3:08 am

I'm not sure if this is the correct place to ask but I have a voice programming question. My timer is set up on the trainer switch. One flick starts the timer, a second flick stops the timer. How can I program a voice alert so the first flick triggers "Timer On" and the second flick of the same switch triggers "Timer Off"?

User avatar
LTMNO
Posts: 1049
Joined: Fri Nov 30, 2012 9:31 pm
Country: Canada
Location: Toronto, Canada

Re: Voice Packs for Ersky9x

Post by LTMNO » Thu Nov 12, 2015 4:08 am

MikeB wrote:Note: There is a setting in the Audio/Haptic menu where you set the volume of the inactivity alarm separately from the normal volume control.

Mike.
Just Brilliant.... really... ;-)
Custom 9x with M64/Telemetry Mod

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Thu Nov 12, 2015 9:09 am

feihu47 wrote:I'm not sure if this is the correct place to ask but I have a voice programming question. My timer is set up on the trainer switch. One flick starts the timer, a second flick stops the timer. How can I program a voice alert so the first flick triggers "Timer On" and the second flick of the same switch triggers "Timer Off"?
You could use a Flip-Flop Logical Switch. Something like
L1 F-Flop TRN !L1
Every time the switch on the first field (TRN) turns ON, the logical switch state changes to the state of the second field, in this case the inverse state of the logical switch itself.. So when you flick the trainer switch once L1 turns ON if it was OFF and OFF if it was ON.
Use the logical switch to trigger the voice..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
feihu47
Posts: 27
Joined: Tue Aug 11, 2015 9:02 pm
Country: -

Re: Voice Packs for Ersky9x

Post by feihu47 » Thu Nov 12, 2015 12:22 pm

jhsa wrote:
feihu47 wrote:I'm not sure if this is the correct place to ask but I have a voice programming question. My timer is set up on the trainer switch. One flick starts the timer, a second flick stops the timer. How can I program a voice alert so the first flick triggers "Timer On" and the second flick of the same switch triggers "Timer Off"?
You could use a Flip-Flop Logical Switch. Something like
L1 F-Flop TRN !L1
Every time the switch on the first field (TRN) turns ON, the logical switch state changes to the state of the second field, in this case the inverse state of the logical switch itself.. So when you flick the trainer switch once L1 turns ON if it was OFF and OFF if it was ON.
Use the logical switch to trigger the voice..

João
Thanks. That's just what I needed. Man, you guys are smart! :D


schliden
Posts: 18
Joined: Mon Jan 11, 2016 1:54 am
Country: -

Re: Voice Packs for Ersky9x

Post by schliden » Wed Jan 13, 2016 5:08 am

A couple of simple suggestions for future versions of the voice pack.

1. Add a copy of flaps_1.wav as flaps_3.wav in the user folder - which will allow the correct indication of return to flap position 1 from position 2 on a 3 position switch when using BOTH

2. Add a new voice file to the user folder for "Flight Battery Critical".

Thanks

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Wed Jan 13, 2016 10:16 am

I thing there is one flaps position voice set that already has flaps 1 as flaps 3. The names might be different though. You can rename the user files to whatever you like. Just not the system files.
Also, for a 3 position switch try using ALL instead of BOTH. Point it to the first file of the sequence.
But I will look into it when I get to the computer.
You can also make your own files as you might know. A little tutorial is included in the Docs folder.
Flight battery critical will be included the next time I upload it. Might later today.

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Wed Jan 13, 2016 2:32 pm

Voice pack updated.

NOTE - From now on the file will include a version number and a ChangeLog file inside the "Docs" folder.

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

mikeller
Posts: 26
Joined: Wed Dec 09, 2015 8:35 pm
Country: -

Re: Voice Packs for Ersky9x

Post by mikeller » Fri Jan 15, 2016 12:39 am

Hi guys.

I have created directory / file skeleton that allows the ersky9x voice files to be generated using Microsoft text-to-speech voices, by 'tricking' OpenTXspeaker into doing the work.

Instructions:
  1. Unzip the contents of this archive into a directory;
  2. copy OpenTXspeaker.exe into the same directory;
  3. if desired, add any extra user voice prompts as new lines into
    'SOUNDS\en\other_sounds.txt', with the format '"<desired file name>;;<voice
    prompt as spoken>",';
  4. edit 'SOUNDS\en\other_sounds.txt', replace the '"modelNames_XXX;;XXX",' with
    one line like '"modelNames_<desired model name>;;<model name as spoken>"', for
    every model name to be included;
  5. run OpenTXspeaker, select voice to be used, click 'Generate voice files';
  6. on the micro SD card that goes into the TX, create a new empty directory
    'voice';
  7. copy the 'SOUNDS\en' directory into the 'voice' directory on the micro SD
    card, rename it into 'user';
  8. from the 'user' directory, move the 'system' subdirectory into the 'voice'
    directory;
  9. if model name files were created, create a 'modelNames' subdirectory in
    'voice'. move all 'modelNames_<model name>' files from the 'user' directory
    into the 'modelNames' directory, and rename them to '<model name>';
  10. enjoy your new voice prompts.
Attachments
ersky9x_opentxspeaker_template.zip
(150.39 KiB) Downloaded 294 times

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Fri Jan 15, 2016 12:48 am

Hey, Thanks.. Will link this on the first post.. ;)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Fri Jan 15, 2016 1:12 am

I do have a problem, I only have Anna on my windows 7 computer. And she is not very good :( I know there other voices from microsoft but they are not installed, and I believe i'm not the only one with this problem..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

flybabo
Posts: 143
Joined: Wed May 16, 2012 11:41 pm
Country: United States
Location: SF Bay Area, CA

Re: Voice Packs for Ersky9x

Post by flybabo » Fri Jan 15, 2016 4:57 am

If you have a Mac, you can generate all the voice files covering more than 20 countries/50 speakers in couple of minutes.
I wrote a simple bash script extracting file name and phrase from a text file and it took about 2 minutes to generate entire English voice files for er9x.
That's the way I generated experimental months, date, time voice files and the quality is excellent.
Only problem was MegaSound firmware couldn't play the voice files generated from Mac.
I found and fixed a bug in MegaSound firmware and it works fine now.
I'm not sure whether I can distribute the generated voice files as Apple license agreement includes "System Voice" term
and I have no idea whether "System Voice" covers generated voice files since I'm not a lawyer :roll:
But I'm sure you can use them for yourself.
If anyone's interested, I'll post about it and forward the fix to Mike.

alsand
Posts: 9
Joined: Tue Aug 11, 2015 9:55 pm
Country: Italy
Location: Torino

Re: Voice Packs for Ersky9x

Post by alsand » Fri Jan 15, 2016 9:15 am

flybabo wrote:If you have a Mac, you can generate all the voice files covering more than 20 countries/50 speakers in couple of minutes.
I wrote a simple bash script extracting file name and phrase from a text file and it took about 2 minutes to generate entire English voice files for er9x.
Brilliant :o
Can you post the bash script?
flybabo wrote:I'm not sure whether I can distribute the generated voice files as Apple license agreement includes "System Voice" term
and I have no idea whether "System Voice" covers generated voice files since I'm not a lawyer :roll:
I too am not sure if the generated voice files can be freely distributed...

Alessandro

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Fri Jan 15, 2016 10:21 am

Could someone make a script that works with the acapela demo? ;) :)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
Kilrah
Posts: 9703
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Voice Packs for Ersky9x

Post by Kilrah » Fri Jan 15, 2016 10:28 am

Whoever did would either get into trouble or cause the demo service to be shut down...

Envoyé de mon SM-G920F en utilisant Tapatalk

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Fri Jan 15, 2016 10:40 am

That's true. Better not then.. we don't want that to happen... :o

I don't mind building the packs the traditional way as I can take care of each file.
Many of the generated stuff lack quality. Incomplete words, etc.
Sometimes a file has to be written in a different way so it sounds good.
And I have fun doing it.
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Voice Packs for Ersky9x

Post by kaos » Fri Jan 15, 2016 3:10 pm

Kilrah wrote:Whoever did would either get into trouble or cause the demo service to be shut down...
l used to use ATT Natural VOice Demo to create all my voice files. It already shut down. :(
It was really easy to use. Just type in text, listen if you like it, and save. :(

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Fri Jan 15, 2016 4:57 pm

That's the thing with the demo I use. You cannot save it. You either record it directly using audacity or you use the plugin I refer on my tutorial..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
kaos
Posts: 3247
Joined: Wed Dec 28, 2011 1:15 am
Country: United States

Re: Voice Packs for Ersky9x

Post by kaos » Fri Jan 15, 2016 8:03 pm

I know , it is a pain in the neck, have to do all that editing. I have tried it.
I think I found another free, not demo, audio/voice prgram can save the file. will test it out to see if file edting is needed.

flybabo
Posts: 143
Joined: Wed May 16, 2012 11:41 pm
Country: United States
Location: SF Bay Area, CA

Re: Voice Packs for Ersky9x

Post by flybabo » Sat Jan 16, 2016 2:31 am

Here's how you create the voice files on your Mac.

1. System Preferences -> Dictation & Speech -> Text to Speech -> System Voice -> Customize...
Select and download the voices. It may take for a while depending on your selections.

2. Prepare your phrase file using a text editor. I attached 'sample.csv' and 'voice-en.csv' as examples.
The phrase file, a comma separated values (csv) file, can have up to 4 values separated by a comma (,) in a single line.
The first value is file name and the second is phrase. They are necessary.
The third is voice name and the fourth is WPM(Words Per Minutes) and they are optional.
You may use them to override the default/global settings per file basis.

3. Run 'v9x.sh csv_file_name [Voice [WPM]]' on your target directory from a terminal shell prompt.
Voice name and WPM are optional and if you don't specify them, it will use 'Samantha', iPhone's US Siri voice, and 200 WPM.
Default sampling rate is set to 22050Hz but you can change 'HZ' variable in the script.
Make sure that 'v9x.sh' has correct execution permit. If it doesn't run, do 'chmod a+x v9x.sh'.

There's another script 'v9x1.sh' for creating a single voice file.
Just run 'v9x1.sh file_name "Phrase" [Voice [WPM]]', it will create a 'file_name.wav' file.

As I stated before, those voice files don't work with current MegaSound firmware.
I mailed the fix to Mike and it may take sometime to update necessary firmwares.

Mike confirmed that ersky9x firmware handles the voice files created by Mac correctly.

Since entire process takes only several minutes if you have your phrase file,
you may find your friend's Mac and build them from there if you don't have one.

Enjoy!
Attachments
mac-voice.zip
(3.86 KiB) Downloaded 123 times

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Sat Jan 16, 2016 9:47 am

I will add it to the first post later. Thanks ;)

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Sat Jan 16, 2016 4:07 pm

Link added to the first post.

Thanks

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

flybabo
Posts: 143
Joined: Wed May 16, 2012 11:41 pm
Country: United States
Location: SF Bay Area, CA

Re: Voice Packs for Ersky9x

Post by flybabo » Sat Jan 16, 2016 11:34 pm

Here's an excerpt of the license agreements of the latest OS/X El Capitan regarding to the voices.
Funny thing is, if the system voices include all the generated voices, I can't even use them for my own radio
since my radio doesn't run any Apple Software - its binary (hex) file is generated from my Mac but by 3rd party cross compiler.
So, question is does "System Voices" include all the generated voices?
i.e., Can we treat any generated voices same as the binaries (like eepskye.dmg) generated from Mac that we can freely distribute :)
Is there anyone qualified to answer this question?

F. Voices. Subject to the terms and conditions of this License, you may use the system voices
included in the Apple Software (“System Voices”) (i) while running the Apple Software and (ii) to
create your own original content and projects for your personal, non-commercial use. No other use
of the System Voices is permitted by this License, including but not limited to the use,
reproduction, display, performance, recording, publishing or redistribution of any of the System
Voices in a profit, non-profit, public sharing or commercial context.

mikeller
Posts: 26
Joined: Wed Dec 09, 2015 8:35 pm
Country: -

Re: Voice Packs for Ersky9x

Post by mikeller » Wed Jan 20, 2016 6:40 pm

Hi João.
jhsa wrote:I do have a problem, I only have Anna on my windows 7 computer. And she is not very good :( I know there other voices from microsoft but they are not installed, and I believe i'm not the only one with this problem..
Sorry for the late reply. For some reason I do not get notifications from this forum.

The Windows install that I used to generate these voice files has 'Microsoft Zira Desktop' (en-us) and 'Microsoft Hazel Desktop' (en-gb, the one I used for the voice files I uploaded). It is Windows 10, but according to information on the internet, the voices are a remnant of this install being upgraded from Windows 8.1.

There are instructions on how to make the 'Microsoft Server Speech' voices that are downloadable from Microsoft accessible from Windows. I tried some of the various accents available, but in the end I found Hazel to be the most pleasant, and also the one that plays with least clipping at high volume on my 9XR pro. I think Hazel is available as a 'Microsoft Server Speech' voice pack as well, so it should be possible to set it up with the instructions above.

If anybody wants an additional set of voice files in a voice available for Windows, let me know, I'm happy to generate them.

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Wed Jan 20, 2016 7:09 pm

Thanks. Will check that when I'm at home again. It might take a few days :(

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
mapes12
Posts: 116
Joined: Tue Jul 09, 2013 6:44 am
Country: United Kingdom
Location: Gnosall UK
Contact:

ZIP File Confusion?

Post by mapes12 » Thu Jan 28, 2016 1:56 pm

The ZIP in the first post of this thread appears different to the one at the bottom of the page on the www.er9x.com page? I'm trying to update the voice files on my Taranis (not Plus). Which file should I use?

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Thu Jan 28, 2016 2:52 pm

Use the one here as it is complete.. The one at er9x.com isn't..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

User avatar
darektv11
Posts: 25
Joined: Fri Oct 16, 2015 8:46 pm
Country: Poland

Re: Voice Packs for Ersky9x

Post by darektv11 » Sat Apr 09, 2016 5:41 pm

hello
how to get the voice for flight modes (RTL, loiter etc ...)? for 9XR PRO
Other messages are.
for flight modes - Silence

Darek

User avatar
jhsa
Posts: 18221
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Voice Packs for Ersky9x

Post by jhsa » Sun Apr 10, 2016 9:34 am

I think I did make files for RTH, Loiter, etc.. And they are included in the voice pack.. I will check later..

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

Cub
Posts: 10
Joined: Thu Jan 30, 2014 7:31 pm
Country: -

Re: Voice Packs for Ersky9x

Post by Cub » Tue Apr 12, 2016 2:32 pm

Help please! I have installed The SmartieParts 9Xtreme board into my new Turnigy 9X TX and all works except I can not get the TX to announce the specific value such as RX,TX voltage, altitude. It will announce "receiver voltage",Radio (TX) voltage and "altitude" but it will not announce the specific value associated with the call out. I would appreciate any suggestions anyone might offer in successfully addressing this issue. Thank you, Tom ************ PS I am using a FrSky DHT telemetry module. All values are correctly displayed on the TX screen and in the appropriate places in the voice alarms program screen.

Post Reply

Return to “ersky9x”