- Posts: 3333
Voice alerts test build
- vlad_vy
- Offline
What transmitter do you use? Probably we need increase startup delay at "main.c" to 2000 with drawn background.
// Add startup delay to make sure audio player is initialized
// AUDIO_Init() has already been called by CONFIG_ReadModel()
#if HAS_EXTENDED_AUDIO
audio_queue_time = CLOCK_getms() + 1500;
num_audio=1;
next_audio=1;
AUDIO_SetVolume(); // Initial setting of voice volume
#endif
// Add startup delay to make sure audio player is initialized
// AUDIO_Init() has already been called by CONFIG_ReadModel()
#if HAS_EXTENDED_AUDIO
audio_queue_time = CLOCK_getms() + 1500;
#if (LCD_WIDTH == 480) || (LCD_WIDTH == 320)
if(Display.background.drawn_background)
audio_queue_time += 500;
#endif
num_audio=1;
next_audio=1;
AUDIO_SetVolume(); // Initial setting of voice volume
#endif
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
I testested it on a devo 6.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
File deleted...
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
I am travelling and will only be able to test on Thursday evening, sorry.
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
as promised, flashed your build deviation-devo6-v5.x.x-2018-02-26.zip, this did not help, same results.
With ' drawn_background=1' startup message is at maximum volume.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Try next build - I added 0.2sec delay before MUSIC_Play(MUSIC_STARTUP):
File deleted...
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
some improvement;
drawn_background=1 startup message somethimes maximum volume, somethimes at set volume
drawn_background=0 startup message normal
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
#if HAS_EXTENDED_AUDIO
audio_queue_time = CLOCK_getms() + 1500;
num_audio=1;
next_audio=1;
#if (LCD_WIDTH == 480) || (LCD_WIDTH == 320)
if(Display.background.drawn_background)
while(CLOCK_getms() < audio_queue_time - 1200);
#endif
AUDIO_SetVolume(); // Initial setting of voice volume
#endif
MUSIC_Play(MUSIC_STARTUP);
File deleted...
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
all OK now, thanks.
Could you make a build also for a DEV012, to test.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
File deleted...
Please Log in or Create an account to join the conversation.
- pulpfiction15
- Offline
- Posts: 86
all OK, also on the devo12 , thanks.
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.
- Bisky
- Offline
- Posts: 89
What am I doing wrong?
I flashed this to my U7E
www.deviationtx.com/downloads-new/catego...256-v5-0-0-voice-zip
TX, Bojan
Ultimate 7E + range mod + 3x2 switch mod + 3in1 module
Devo F7 XMS + 4in1 module
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.
- Bisky
- Offline
- Posts: 89
Devo F7 doesn't work due cpu limitations?
Ultimate F7-XMS, could it be done?
Tx, Moeder
Ultimate 7E + range mod + 3x2 switch mod + 3in1 module
Devo F7 XMS + 4in1 module
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.
- Remlen
- Offline
- Posts: 4
Attachments:
Please Log in or Create an account to join the conversation.
- Remlen
- Offline
- Posts: 4
Attachments:
Please Log in or Create an account to join the conversation.
- Bisky
- Offline
- Posts: 89
would the ultimate 7e boot loader worked if I changed CPU?
Ultimate 7E + range mod + 3x2 switch mod + 3in1 module
Devo F7 XMS + 4in1 module
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Bisky wrote: Ok, this sounds promising, but difficult to set up in the *.ini files...
would the ultimate 7e boot loader worked if I changed CPU?
In theory, yes, but you'd need a custom build. What is wrong in using the emulator to set up the ini files? But I won't hold you off from unsoldering and soldering yet another LQFP64 package
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Builds
- Voice alerts test build