- Posts: 796
Voice alerts test build
- Moeder
- Offline
Changes:
- Timers will now readout time with hours/minutes/seconds
- Stopwatch timers will alert in 1 minute intervals from 1-6 minutes, in 2 minute intervals from 6-10 minutes and in 5 minute intervals above 10 minutes
- Minor cosmetic change in Music menu: if "none" is selected the button function on color screens will disable (as in other menus)
I decided against safety warning alerts, as they were without alarms before and I'd like to keep it at this for now as it is not extended-audio related and there maybe good reasons against doing so.
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
But as I am never satisfied why not to have the same messages on the count down until the pre-alert messages ?
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
I offer a simple solution: the next build will allow you to increase prealert time up to 30 minutes if you have a need for it.
Anything else?
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
No, it's just because you have done a very good work and may be it could be a little improvedMoeder wrote: You are never satisfied, are you?
It is simple but If it is interesting to have precision (and frequent messages) during a prealert time, the same interval would be boring during all a flight but information would be good . That is why your predefinite count for stopwatch would be in my opinion good for count down, automatically before the prealert count.Moeder wrote: I offer a simple solution: the next build will allow you to increase prealert time up to 30 minutes if you have a need for it.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
In my opinion the next major revision would include a music menu with submenus for switches, telemetry and timers with each submenu having more options (like choosing between buzzer, mp3 or both, customizable timer alerts and stuff like that). But I feel if we have this running it would actually be preferable to have the current setup, which is IMHO very usable, running smooth and being well documented.
Especially documentation is something needing more improvement, which also people without programming knowledge are able and invited to do (deviation-manual on github and the wiki). For voice alerts we would need to add a chapter to the manual, update the stuff we included in the transmitter menu and the wiki would need a nice entry with instructions to installing an audio player (most likely DFPlayer, as it's cheap). Then some nice MP3 sets in multiple languages, translations of the new menu entries and after that we're ready for the next steps
Please Log in or Create an account to join the conversation.
- justyn07
- Offline
- Posts: 35
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
The present status is very satisfying.
Improvements can be left for the future, A not too far future, I hope
You mention translations in multiple languages for the mp3 sets. i agree. A suggestion . Once multiple languages sets will be set up, It will be more difficult to change them. That's why I suggest, it it is possible to leave some free entries in the global alarm set. there are for the moment 2 (10 and 12) but there could be a kind of stock of free message disponible for future development which would not oblige to a change all the numbers of the custom messages if a global message is added.
Can you give the link to the deviation manual and the way to propose a text. I would be interested in participating to this if I can (in a french version because my english is poor !)
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Leaving some spare room for future preset alerts is a good idea, as this would prevent breaking compatibility in future releases. We have 20 alert messages so adding another 10 (or 20?) should be enough?
Remember, the IDs of custom messages can be anything you want (as long as it is starting at music.map entry 150. This brings me back to the idea of rather adding a group delimiter as in ini files like
[global]
[custom]
Concerning documentation:
The english manual is on github . You need to register at github (free), fork the repository, do changes and make a pull request for merging them. Documentation changes are easy enough to be made on the web interface and the markup language used is pretty self explanatory when looking at existing manual chapters.
There hasn't been a french manual since 2.0, so if you are really serious about doing a good and complete translation, we could extend the github repository to do translated builds as well (FDR, do you hear me ? )
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
As concerns this music.map , why not music.ini and put it in the media files ? just for congruence ?
As concerns translation why not ? I can try. But I need a precise " How to do", step by step.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
[global]
0=welcome to deviation,1463
1=goodbye,3545
.
.
.
150=hours,795
[custom]
200=low rates selected,1234
201=medium selected,2345
278=any other funny text label,135
Concerning naming I was thinking of mp3.ini or extended-audio.ini, as it makes more sense than "music". Also, shouldn't we name the menu "MP3 menu" instead?
Please Log in or Create an account to join the conversation.
- Deal57
- Offline
- Posts: 857
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.
- FDR
- Offline
One thing is sure, you should name it within the 8.3 naming constraint...
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- FDR
- Offline
The sound.ini is there too, despite it has no necessary content in the media folder, but still the sound, voices, bitmaps somehow all belong there.
Furthermore it will probably need some entries in the sound.ini too, won't it? So better be beside...
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
Put an voice.ini in root with content; alerts=voice_EN.ini
in /media put voice_EN.ini; voice_FR.ini; voice_DE.ini ......
and then on the SD card (with plenty of space ) different directories;
/voice_EN
/voice_FR
/voice_DE
this let then a lot of flexibility, not even limited to language, but according to the mood change from a male to a female voice like in a GPS
Hope you get the idea, and that it does not require to much code.
@moeder, thanks for your efforts, improving this addon feature
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Yep, I would try to be consistent and choose voice or voices...Moeder wrote: Agreed. What about the entry in hardware.ini, do we stay with extended-audio=... Or should it also be voice=...?
Regarding the languages: I don't think somebody would like to change them often.
The voices won't be installed by the firmware, they are not even part of the filesystem, but everyone need to copy the proper set to his or her SD card.
So I don't really see the point why one would like to download all the voice sets.
I see that changing voices on per model basis could be funny, but I would rather keep it simple...
Please Log in or Create an account to join the conversation.
- Morlacus
- Offline
- Posts: 181
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
While I was thinking about it.....at least on devo7e-256 we could possible use GPIO A4 as DAC out for direct audio output.....on devo10 this pin is used for AUX5 input...didn't look into other transmitters. Maybe voice=internal is realizable....
Please Log in or Create an account to join the conversation.
- FDR
- Offline
I made an external box with the player, a small speaker connected through a 3.5 jack, so I can use headphones instead, which switches off the speaker if pugged in.
All went well, I uploaded the test build, and configured some switches, but how do I configure the telemetry alarms and/or reading out it's values.
On the music config page I can set the value only up till 11...
BTW it doesn't play the welcome and goodbye messages for me...
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Builds
- Voice alerts test build