- Posts: 857
Voice alerts test build
- Deal57
- Offline
Another idea I've been researching is a way to implement a "Soft-Serial" approach like I often use with my Arduino projects. I don't have enough programming experience to know if this is even viable, but it could expand our choices for pins. Is this something you could help look into?
Until we surmount these issues, or find new alternatives, we're left with using an unused TX pin or the trainer port.
Deviation Devo7e 3way switch mod, A7105, NRF24L01
Devo6s 2x2 switch mod, trim mod, haptic, multimodule, A7105, NRF24L01, CC2500
Devo12e 4-in-1 with voice mod -- it speaks!!
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
- Support voice feedback on Aux Knobs & Trim button when use as virtual switches.
- Added new options "device" & "vibrate" in sound.ini file to allow selection of playback device and vibrator control on individual alert messages.
Bug fix:
- Missing welcome message when voice module is powered internally.
- Re-enable haptic feedback (vibrator).
- Misfired of Telemetry Alarm 1 on various nrf24l01 related protocols.
The new version has been pushed to the same repo under branch extended-audio. If anyone plans to test it, please report bugs if find.
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
HappyHarry wrote: phantom8 is there any way to get genspeach running on linux (or even windows :/)? or is it osx only?
I've updated the genspeech utility to support linux. You'll need to install espeak & lame. The genspeech is a shell script and can be ported to other platforms. I'm not a Windows guy, but I think you can install cygwin to run linux on Windows. The new genspeech has been pushed to my repo. I've also attached a copy here.
magic_marty wrote: I downloaded the extended audio branch file but not exactly sure how to go about installing it to my devo12....Do i just copy the files to the 12 in usb mode?
I've compiled a Devo12 built with the latest nightly and attached here. A u7e built is also included. Both of these builds use PPM port for audio.
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
magic_marty wrote: got it some what working but everything to do i get "telemetry alarm 6 triggered" lol except for powering on and off and the timers expiring...
What actions did you do to trigger the Telemetry Alarm 6? Try to test the Bind alert message by choosing a protocol that has the bind option.
Did you try to configure the switch voice feedback? I've attached mwm's voice files here. The volume on this version have been boosted.
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
magic_marty wrote: not sure how to configure the switch feedback the model bind does announce when it binds...
So, I suppose the system alerts work, but I'm not sure what exactly triggers the Telemetry Alarm 6. It seems to do with the protocol that you're using.
Do you have access to a OSX or Linux machine? If you do, you can download the genspeech utility in a few post above. There is a readme.txt file in there and it will tell you how to generate speech files for you models.
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
magic_marty wrote: unfortunately i don't have any OSX and very very minimal experience with linux a few years ago...Perhaps i will search to see if i can find a windows speech generator...the timers countdown works as well i set up a test model file and used the mixer set to the trainer switch and the mux to beep and it says telemetry alarm 6 triggered when toggled..just not sure how to assign sounds to actions ect..
The alerts that you heard so far are the system pre-programmed alerts. I'm not familiar with telemetry alarm, I only know they're protocol related and will trigger when certain criteria reached.
If you want to test out the switch voice feedback, you can prepare the model alert message files (check the readme.txt on how to prepare them) and send them to me via PM. I can generate the speech files for you to test.
Please Log in or Create an account to join the conversation.
- mwm
- Topic Author
- Offline
The telemetry alarms are set on the telemetry page. There are six of them, and the first one on the page triggers alarm #1, etc. But you have to enable them - they aren't on by default, and can't be turned on if telemetry is disabled or nor available for that protocol. The alarms themselves don't depend on the protocol, but the set of available measurements that can trigger an alarm do.
Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.
My remotely piloted vehicle ("drone") is a yacht.
Please Log in or Create an account to join the conversation.
- Nitro_123
- Offline
- Posts: 95
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
Nitro_123 wrote: Is it possible to use the openTX voice alerts with this ? They're pretty good and it might save us a bit of work
You can of course use the OpenTX voice files, as long as they're in mp3 format. If you want, you can even use your own voice recording. Just upload the mp3 files to DFPlayer mini and rename them properly, such as 0100.mp3, 0101.mp3, etc. Then, you need to provide model mapping files to define what switch maps to what mp3 files. For details, refer to the readme.txt.
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
phantom8 wrote: I've updated the genspeech utility to support linux. You'll need to install espeak & lame. The genspeech is a shell script and can be ported to other platforms. I'm not a Windows guy, but I think you can install cygwin to run linux on Windows. The new genspeech has been pushed to my repo. I've also attached a copy here.
many thanks, linux is perfect for me
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
Please Log in or Create an account to join the conversation.
- HappyHarry
- Offline
- Posts: 1136
phantom-8 I'm still waiting for the dfplayer to arrive but I've had a play around with genspeach using espeak on linux and all is working well in regards to producing the mp3 and map fikes, espeak is pretty good also with a littke bit of tweaking, especially using the en-sc voice lol. thanks to you and mwm for sharing the code
Please Log in or Create an account to join the conversation.
- magic_marty
- Offline
- Posts: 706
not sure if there is a windows program that will make the map files
Please Log in or Create an account to join the conversation.
- phantom8
- Offline
- Posts: 109
@magic_marty, if you like, you can send me the model alert message files and I'll generate the voice files for you. If you can make the voice files yourself (such as using the online text to speech utility that mwm had mentioned), you can prepare the switch mapping files yourself. The readme.txt file, point 3 descripts the format of the map file. Basically, you name all your voice files as 0100.mp3, 0101.mp3, 0102.mp3, etc. Copy the mp3 files to your DFPlayer Mini SDCard's mp3 folder. For each model that you want to have switch voice feedback, prepare a mapping file, such as "model1.map".
File: model1.map
Content:
FMODE0:0100
FMODE1:0101
HOLD1:0102
HOLD0:0103
In the mapping file, you type the name of the switch, followed by a colon. Then, the voice file number that you had prepared for the DFPlayer mini. After you're done with these mapping files, copy them to your Transmitter's models directory. Hope this help!
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Builds
- Voice alerts test build