- Posts: 13
Voice alerts test build
- McGyver
- Offline
Ok, now I wanted to ask how to setup voice alerts for 6 flight modes? I use Mix switch combined with Aile D/R switch.
That's what I got in model.ini
[channel5]
template=complex
[mixer]
src=MIX0
dest=Ch5
switch=MIX0
scalar=-85
usetrim=0
curvetype=min/max
points=0
[mixer]
src=MIX1
dest=Ch5
switch=MIX1
scalar=-20
usetrim=0
curvetype=fixed
[mixer]
src=MIX2
dest=Ch5
switch=MIX2
scalar=45
usetrim=0
curvetype=fixed
[mixer]
src=AIL DR1
dest=Ch5
switch=AIL DR1
scalar=32
usetrim=0
muxtype=add
curvetype=fixed
How to set 6 voice alerts for it?
Attachments:
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- McGyver
- Offline
- Posts: 13
Is there any limit how many virtual channels I can use?
I think I also add some mid range points for gimbal pots to easy set them in center.
Is there any voice alerts makeing program? I checked old links and most of them are outdated and doesn’t work.
Or maybe not too many people still using Devo transmitters.
I tried to turn on voice in emulator on PC but it won't work. I put mp3 folder in same with exe, I added the voice.ini to media folder and turn on DFPlayer in hardware.ini what should I do next to turn it on?
Attachments:
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Setting up the emulator for voice is explained in the wiki . That page also has info on the file layout. The voicepack tool is on github.
Please Log in or Create an account to join the conversation.
- McGyver
- Offline
- Posts: 13
I saw that Wiki for emulator but not to much direct info there. Do what was written there and still no sound only beeps working, completly no voice or mp3 playing. I'm under Windows 10... maybe that's some problem. Or I have to connect DFPlayer to mic output in PC or some com port? I tought it will play directly by sound card but I got only beeps
Same setup in Devo 10 and all works correctly, but for testing emulator is much more easy.
I check that voicepack tool later, not sure what I need to run it and how.
I found previous voice alert wiki - and there is mpg123.exe file which should play mp3 but it won't work somehow. Not sure what is wrong with my setup
MP3 folder is where exe file is
Hardware.ini - set for dfplayer
Voice.ini in media folder
and still nothing, no voice or even voice menu in emulator.
OK, I set Devo7E emulator instead Devo10 and voice works correctly. So I think something is wrong with configuration somewhere. Compare messages in background to Devo10emu... DEV mod enabled - cannot set volume - I think something is set not right in Devo10 emulator
Attachments:
Please Log in or Create an account to join the conversation.
- McGyver
- Offline
- Posts: 13
deviationtx.com/forum/builds/5089-voice-...uild?start=800#65442
I suppose there is some Development mode or something turned on in emulators on Download page so they actually doesn't work with audio enabled. So It's almost impossible to test anything on PC, which is much more easy than... make some corrections in ini and send it to Devo to test and again and again...
Second thing there is small difference between emulator and actual Devo transmitter. In emulator if I change switch value it is almost instantly change to what it should be (there is no "midpoints"). So for testing changes from -85 FM1 to -20 FM3 it works great ignoring -53 FM2. In real Devo it plays voice for -20 and -53 as well - so It's needed to add exclusion for switch position or even for two ones. In emulator I tested with 2 or even 3 switches and all was correct. So It is possible to turn off voice for all fly modes or anything else with one designed switch.
I test how it works later, but for now it looks good.
Test ini file with 6 flight modes on 2 switches and speech. I also test center mode for throttle (or some knob on specific channel).
Attachments:
Please Log in or Create an account to join the conversation.
- McGyver
- Offline
- Posts: 13
All voice commands works correct. Maybe someone else will be interested in that setup. 6 Flight modes with voice works fine. Any other switch combination with voice should also work.
www.dropbox.com/s/4a51s6louoy1etq/Devo10%20voice%20mod.mov?dl=0
That's how it works now
I also installed 4in1 protocol module so now It is really good transmitter
Please Log in or Create an account to join the conversation.
- McGyver
- Offline
- Posts: 13
As I see output pin A0 is unused and A1 is used for buzzer. A2/A3 has some connection with power button.
A0 could be used as Uart4tx. If we could connect to it our dfplayer and send tx data instead trainer port that could be possible to run everything at once.
Please Log in or Create an account to join the conversation.
- rbecq
- Offline
- Posts: 3
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Builds
- Voice alerts test build