Automated voice pack building

More
18 Nov 2017 15:20 - 25 Nov 2017 11:10 #65972 by Moeder
Automated voice pack building was created by Moeder
EDIT:
Ok, this is all still very alpha, but something for all you voice fans to play with:
The brand new deviation voice packer!
It allows you to simply enter a list of text messages and automatically generate a zip file with voice mp3s and voice.ini including global alerts (welcome, battery low etc.) and the custom alerts you have entered.


Original post:
A started automatically building voice packs from my GitHub repository , which get automatically uploaded to a (yet very simple) GitHub page .

To extend the voice packs, users will yet have to fork my repo, modify/extend the message lists (or create new ones) and then make pull requests. I'm still looking for options to make builds without editors needing a GitHub account, but haven't found a solution I like yet. After changes are committed, it takes about 10 minutes (depending on travis workload) for the updated builds to appear on the GitHub page.

The voices available are as follows:
$ say -v ?
Agnes               en_US    # Isn't it nice to have a computer that will talk to you?
Albert              en_US    #  I have a frog in my throat. No, I mean a real frog!
Alex                en_US    # Most people recognize me by my voice.
Alice               it_IT    # Salve, mi chiamo Alice e sono una voce italiana.
Alva                sv_SE    # Hej, jag heter Alva. Jag är en svensk röst.
Amelie              fr_CA    # Bonjour, je m’appelle Amelie. Je suis une voix canadienne.
Anna                de_DE    # Hallo, ich heiße Anna und ich bin eine deutsche Stimme.
Bad News            en_US    # The light you see at the end of the tunnel is the headlamp of a fast approaching train.
Bahh                en_US    # Do not pull the wool over my eyes.
Bells               en_US    # Time flies when you are having fun.
Boing               en_US    # Spring has sprung, fall has fell, winter's here and it's colder than usual.
Bruce               en_US    # I sure like being inside this fancy computer
Bubbles             en_US    # Pull the plug! I'm drowning!
Carmit              he_IL    # שלום. קוראים לי כרמית, ואני קול בשפה העברית.
Cellos              en_US    # Doo da doo da dum dee dee doodly doo dum dum dum doo da doo da doo da doo da doo da doo da doo
Damayanti           id_ID    # Halo, nama saya Damayanti. Saya berbahasa Indonesia.
Daniel              en_GB    # Hello, my name is Daniel. I am a British-English voice.
Deranged            en_US    # I need to go on a really long vacation.
Diego               es_AR    # Hola, me llamo Diego y soy una voz española.
Ellen               nl_BE    # Hallo, mijn naam is Ellen. Ik ben een Belgische stem.
Fiona               en-scotland # Hello, my name is Fiona. I am a Scottish-English voice.
Fred                en_US    # I sure like being inside this fancy computer
Good News           en_US    # Congratulations you just won the sweepstakes and you don't have to pay income tax again.
Hysterical          en_US    # Please stop tickling me!
Ioana               ro_RO    # Bună, mă cheamă Ioana . Sunt o voce românească.
Joana               pt_PT    # Olá, chamo-me Joana e dou voz ao português falado em Portugal.
Junior              en_US    # My favorite food is pizza.
Kanya               th_TH    # สวัสดีค่ะ ดิฉันชื่อKanya
Karen               en_AU    # Hello, my name is Karen. I am an Australian-English voice.
Kathy               en_US    # Isn't it nice to have a computer that will talk to you?
Kyoko               ja_JP    # こんにちは、私の名前はKyokoです。日本語の音声をお届けします。
Laura               sk_SK    # Ahoj. Volám sa Laura . Som hlas v slovenskom jazyku.
Lekha               hi_IN    # नमस्कार, मेरा नाम लेखा है.Lekha मै हिंदी मे ���ोलने वाली आवाज़ हूँ.
Luciana             pt_BR    # Olá, o meu nome é Luciana e a minha voz corresponde ao português que é falado no Brasil
Maged               ar_SA    # مرحبًا اسمي Maged. أنا عربي من السعودية.
Mariska             hu_HU    # Üdvözlöm! Mariska vagyok. Én vagyok a magyar hang.
Mei-Jia             zh_TW    # 您好,我叫美佳。我說國語。
Melina              el_GR    # Γεια σας, ονομάζομαι Melina. Είμαι μια ελληνική φωνή.
Milena              ru_RU    # Здравствуйте, меня зовут Milena. Я – русский голос системы.
Moira               en_IE    # Hello, my name is Moira. I am an Irish-English voice.
Monica              es_ES    # Hola, me llamo Monica y soy una voz española.
Nora                nb_NO    # Hei, jeg heter Nora. Jeg er en norsk stemme.
Paulina             es_MX    # Hola, me llamo Paulina y soy una voz mexicana.
Pipe Organ          en_US    # We must rejoice in this morbid voice.
Princess            en_US    # When I grow up I'm going to be a scientist.
Ralph               en_US    # The sum of the squares of the legs of a right triangle is equal to the square of the hypotenuse.
Samantha            en_US    # Hello, my name is Samantha. I am an American-English voice.
Sara                da_DK    # Hej, jeg hedder Sara. Jeg er en dansk stemme.
Satu                fi_FI    # Hei, minun nimeni on Satu. Olen suomalainen ääni.
Sin-ji              zh_HK    # 您好,我叫 Sin-ji。我講廣東話。
Tessa               en_ZA    # Hello, my name is Tessa. I am a South African-English voice.
Thomas              fr_FR    # Bonjour, je m’appelle Thomas. Je suis une voix française.
Ting-Ting           zh_CN    # 您好,我叫Ting-Ting。我讲中文普通话。
Trinoids            en_US    # We cannot communicate with these carbon units.
Veena               en_IN    # Hello, my name is Veena. I am an Indian-English voice.
Vicki               en_US    # Isn't it nice to have a computer that will talk to you?
Victoria            en_US    # Isn't it nice to have a computer that will talk to you?
Whisper             en_US    # Pssssst, hey you, Yeah you, Who do ya think I'm talking to, the mouse?
Xander              nl_NL    # Hallo, mijn naam is Xander. Ik ben een Nederlandse stem.
Yelda               tr_TR    # Merhaba, benim adım Yelda. Ben Türkçe bir sesim.
Yuna                ko_KR    # 안녕하세요. 제 이름은 Yuna입니다. 저는 한국어 음성입니다.
Zarvox              en_US    # That looks like a peaceful planet.
Zosia               pl_PL    # Witaj. Mam na imię Zosia, jestem głosem kobiecym dla języka polskiego.
Zuzana              cs_CZ    # Dobrý den, jmenuji se Zuzana. Jsem český hlas.
Last edit: 25 Nov 2017 11:10 by Moeder. Reason: Add info about voice packer to post

Please Log in or Create an account to join the conversation.

More
18 Nov 2017 21:13 #65976 by magic_marty
Replied by magic_marty on topic Automated voice pack building
Nice!! Looking forward to how this works out..
Thanks for all your work on the voice alerts project..

Please Log in or Create an account to join the conversation.

More
18 Nov 2017 23:36 - 19 Nov 2017 01:15 #65978 by yets
Replied by yets on topic Automated voice pack building
Wow, thanks. I'll try to get my head round it :)

edit: Can't figure this out, not used to github; forked your repository, added a few voices to travis.yml, commited it all, set up a downloads page but when I go to it, no downloads are available?
Last edit: 19 Nov 2017 01:15 by yets.

Please Log in or Create an account to join the conversation.

More
19 Nov 2017 10:14 #65986 by Moeder
Replied by Moeder on topic Automated voice pack building
Well, if you want to run your own builds, additionally to what you have done you will have to
a) sign in on travis-ci.org with your GitHub account and enable travis for your deviation-voicepack repository
b) create a GitHub token for travis, so travis can push back the builds to GitHub
c) create a vidzo.github.io repository on GitHub (content can be empty, as it gets overwritten by GitHub

I admit this might be complex for anyone not experienced with this stuff, which is why I'd still prefer a simpler way of setting up custom builds. On the other hand, if you put work in additional sound sets with different voices, we can also pull these changes back to my repo.

Please Log in or Create an account to join the conversation.

More
19 Nov 2017 19:05 - 19 Nov 2017 21:03 #65999 by yets
Replied by yets on topic Automated voice pack building
Thanks Moeder, I will try to do this and if I get it working I'll get it back to the main repo.

I am a complete github noob so any help I am grateful for.

edit: I think I may give up, it's slightly complicated for a non github user, if anybody gets this working in windows please let me know
Last edit: 19 Nov 2017 21:03 by yets.

Please Log in or Create an account to join the conversation.

More
19 Nov 2017 21:16 - 19 Nov 2017 21:16 #66005 by Moeder
Replied by Moeder on topic Automated voice pack building
Not that hard actually:

1.) keep your fork of my repo as it is for now
2.) add a repo "vidzo.github.io" (NOT "gitHub.io"), this is required for GitHub pages to work
3.) sign in with travis-ci.org, sync your GitHub account and flick the switch for "deviation-voicepack".
4.) in Github, go to "your account -> settings -> developer settings -> personal access tokens" and generate a new token with "Repo" checked. Don't forget to copy the token you've just created to your clipboard.
5.) in travis-ci, go to the settings for deviation-voicepack, add an "environment variable" named "GITHUB_TOKEN" and as value paste the token you just generated in step 4.
6.) your next commit to deviation-voicepack should trigger a build in travis.
Last edit: 19 Nov 2017 21:16 by Moeder.

Please Log in or Create an account to join the conversation.

More
19 Nov 2017 22:23 #66006 by yets
Replied by yets on topic Automated voice pack building
Thank you Moeder, I think it's working now. I'm going to build a few and maybe add some alerts. I'll finish them, would you like me to link my repo or can they be pushed to yours (including the new alerts)?

Please Log in or Create an account to join the conversation.

More
20 Nov 2017 05:51 #66010 by Moeder
Replied by Moeder on topic Automated voice pack building
Great. Check you PM please!

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 06:11 #66041 by Moeder
Replied by Moeder on topic Automated voice pack building
Ok, this is all still very alpha, but something for all you voice fans to play with:

The brand new deviation voice packer!

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 06:51 #66042 by magic_marty
Replied by magic_marty on topic Automated voice pack building
Wow that's so cool now we can add pretty much any alert we desire thanks so much for creating this..:)

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 07:40 #66044 by Moeder
Replied by Moeder on topic Automated voice pack building
Please be aware that for now the voice pack generated does not contain the model alerts from the large voice pack you can download in the downloads section of DeviationTX.com

It only consists of the global alerts (welcome, timer, telemetry alert, numbers etc.) and those custom messages you entered in the custom messages field on the voicepacker page.

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 11:19 #66046 by pulpfiction15
Replied by pulpfiction15 on topic Automated voice pack building
Thanks Moeder,

That's easy and flexible, is it possible to add a field to control the speed? Its a little fast.

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 12:22 #66049 by Moeder
Replied by Moeder on topic Automated voice pack building
Yes, we can set the speech rate in words per minute. Anything else?

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 14:25 #66050 by FDR
Replied by FDR on topic Automated voice pack building
Well, it was really funny how the built in english words were read in hungarian! ;)
Don't we need translations of the built in messages in all possible languages, just like for the GUI?
They could be stored in the git project somewhere.
At least that way they would be consistent...

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 14:39 - 22 Nov 2017 14:48 #66052 by Moeder
Replied by Moeder on topic Automated voice pack building
@FDR: I can believe that :lol:
Actually this is currently not much more than a proof of concept, I never did web2py or python before, but if it weren't for the long backlog in osx Travis builds during the American daytime, it would have been a quick thing...

I believe we should move deviation-voicepack to the DeviationTX account eventually and if possible link the submission of voice builds to the DeviationTX login credentials. Can we run python on the web host? This would make us independent of pythonanywhere.

There's many things we could do, like
- more language options to global alerts (those would be handled in git),
- offering default set's for model messages in several languages which would only need to be extended or edited.

I was also thinking of a Travis deployment to DeviationTX.com where a hashed download link is generated and in turn sending an email with the download link to the submitter...

Time for some open brainstorming! Also, feel free to fork my repo and add a global alert.txt in Hungarian.
Last edit: 22 Nov 2017 14:48 by Moeder. Reason: Typo

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 17:10 #66057 by FDR
Replied by FDR on topic Automated voice pack building
One of my concerns about translating it, that I don't want to translate everything. For example "deviation" in the welcome message should stay, also I would like it with the original english pronanciation.
How did you do that in the german version?

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 17:33 - 22 Nov 2017 17:50 #66059 by magic_marty
Replied by magic_marty on topic Automated voice pack building
Would be cool if we could add a name after the welcome message like "Welcome to Deviation John" ect..Also is there any way to customize the Telemetry alerts? I set alert 1 to my battery voltage and 2 to my RSSI instead of it saying "Telemetry alarm 1" / "Telemetry alarm 2" I would like it to say something like "Flight Battery Low" And for RSSI perhaps "RSSI Low"

EDIT: I think this should be added to the Main Menu on the left column of the deviation web page for quick access..:)
Last edit: 22 Nov 2017 17:50 by magic_marty.

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 18:25 #66064 by Moeder
Replied by Moeder on topic Automated voice pack building

magic_marty wrote: Also is there any way to customize the Telemetry alerts? I set alert 1 to my battery voltage and 2 to my RSSI instead of it saying "Telemetry alarm 1" / "Telemetry alarm 2" I would like it to say something like "Flight Battery Low" And for RSSI perhaps "RSSI Low"


That is not necessary, as you can already override the standard alarms for telemetries and timers via the voice configuration menu... Just scroll down ;)

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 18:31 #66065 by magic_marty
Replied by magic_marty on topic Automated voice pack building
Oh! I didn't realize that, Thanks for pointing me to it..:)

Please Log in or Create an account to join the conversation.

More
22 Nov 2017 20:00 #66071 by yets
Replied by yets on topic Automated voice pack building
Amazing Moeder, will have a look. I haven't had a chance to really mess around with the original automated service yet but thanks for the hardwork

Please Log in or Create an account to join the conversation.

Time to create page: 0.146 seconds
Powered by Kunena Forum