Voice alerts test build

More
01 Apr 2017 19:30 #61033 by FDR
Replied by FDR on topic Voice alerts test build
Also the TX builds have these warnings:
+ Compiling 'pages/128x64x1/usb_page.c'
 + Compiling 'pages/128x64x1/voiceconfig_page.c'
In file included from pages/128x64x1/voiceconfig_page.c:37:0:
pages/128x64x1/../common/_voiceconfig_page.c: In function 'voiceid_cb':
pages/128x64x1/../common/_voiceconfig_page.c:182:12: warning: 'vpt' may be used
uninitialized in this function [-Wmaybe-uninitialized]
     if (vpt->music == 0) {
            ^
 + Compiling 'config/display.c'
+ Compiling 'pages/320x240x16/usb_page.c'
 + Compiling 'pages/320x240x16/voiceconfig_page.c'
In file included from pages/320x240x16/voiceconfig_page.c:30:0:
pages/320x240x16/../common/_voiceconfig_page.c: In function 'voiceid_cb':
pages/320x240x16/../common/_voiceconfig_page.c:182:12: warning: 'vpt' may be use
d uninitialized in this function [-Wmaybe-uninitialized]
     if (vpt->music == 0) {
            ^
 + Compiling 'config/display.c'

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

More
01 Apr 2017 19:32 #61034 by Moeder
Replied by Moeder on topic Voice alerts test build
Please look at pull request #1 in the deviation-docker repository, I updated the build script a while ago and made the pull request for the necessary change in build.py.
Once merged, you will need to once run
sudo /root/build.py --win-prereq
(or start emulator build from the menu) so mpg123 gets compiled.

FDR wrote: Now that it has been merged, I can't build the emulators, at least the filesystem: :(

+ Building 'emu_devo6.exe'
Found 16 ranges
Found 1 ranges
 + Copying template files for devo6
 + Checking string list length for devo6
filesystem/devo6
  adding: deviation-emu_devo6-v5.0.0-4a46e55.exe (deflated 66%)
  adding: libportaudio-2.dll (deflated 60%)
        zip warning: name not matched: /opt/mpg123-w32/bin/mpg123.exe
make[1]: *** [emu_devo6.zip] Error 12
make: *** [zip_win_emu_devo6] Error 2

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

More
01 Apr 2017 19:42 #61036 by FDR
Replied by FDR on topic Voice alerts test build
Oops, I've totally missed that!
Please, replace the tabs with spaces in the build.py, and I will accept at once...

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

More
01 Apr 2017 22:06 #61039 by magic_marty
Replied by magic_marty on topic Voice alerts test build
Still looking for a better speaker so far the best one i have found is one out of one of those talking birthday cards it is very thin and about 35 to 40mm across ..I mounted it inside the tx to the back cover and can hear it fine but under a somewhat noisy environment i can tell it will probably difficult to hear like at a flying field were a lot of models could be in the air...On my 12s i mounted a speaker to the tx handle and it works fine just not as loud as the card speaker but it is a bit smaller..I tried a mini sound amplifier which nearly doubled the volume but it needs a external power 5v source i tried hooking it up to the 3.3v on my tx and when i powered on the tx blacked out which i think is because the amp draws more then the 3.3v reg can handle..I have a pololu 5v step up which might work but havent tried it...Personally i prefer to not use external power and like keeping everything on the same power source ..

If there was some sort of a mount that would clamp around the antenna base and face the speaker directly forwards it would be optimal ..but i have no 3d printer or unaware of any such mounting clamp..

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

More
02 Apr 2017 00:53 #61042 by Chabaz
Replied by Chabaz on topic Voice alerts test build
Can someone please clarify the current download location of the latest greatest? I've read in here that the current nightly has something to do with this? and the 12's has a different Hardware and software procedure now?
Hardwire only, to the tx pin inside,
Do I still have to build a dfu? I can't meet the requirements for the script to run, so if that's still the case, oh well.


On a side note, I've experienced the voltage drop on my 12s when touching the screen for the past year at least. It is irritating as all get out, but came to understand it is what it is. Has this been fixed also?

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

More
02 Apr 2017 00:56 #61043 by Chabaz
Replied by Chabaz on topic Voice alerts test build
The best speakers I have found I salvaged from an old busted up laptop from which I liberated from the recycle center they are 3 watts and have their own little box the pair of them are very clear and very loud well also being quite compact durable to mount anywhere because of their enclosure and I have found that the majority of the sound comes out of the port in each one of the housing.
If anybody would like a picture I will try and upload one

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

More
02 Apr 2017 00:58 #61044 by magic_marty
Replied by magic_marty on topic Voice alerts test build
I installed this one last night on my 12s and is working good..
www.deviationtx.com/downloads-new/catego...-moeder-voice-alerts

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

More
02 Apr 2017 01:03 #61045 by magic_marty
Replied by magic_marty on topic Voice alerts test build
This is the library.dfu i generated and loaded to my 12s in case you can't get the MK tool to work, i struggled with it so i know it can be a booger to get to work..
Attachments:

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

More
02 Apr 2017 08:01 - 02 Apr 2017 08:04 #61050 by vlad_vy
Replied by vlad_vy on topic Voice alerts test build

FDR wrote: Also the TX builds have these warnings:

+ Compiling 'pages/128x64x1/usb_page.c'
 + Compiling 'pages/128x64x1/voiceconfig_page.c'
In file included from pages/128x64x1/voiceconfig_page.c:37:0:
pages/128x64x1/../common/_voiceconfig_page.c: In function 'voiceid_cb':
pages/128x64x1/../common/_voiceconfig_page.c:182:12: warning: 'vpt' may be used
uninitialized in this function [-Wmaybe-uninitialized]
     if (vpt->music == 0) {
            ^
 + Compiling 'config/display.c'
+ Compiling 'pages/320x240x16/usb_page.c'
 + Compiling 'pages/320x240x16/voiceconfig_page.c'
In file included from pages/320x240x16/voiceconfig_page.c:30:0:
pages/320x240x16/../common/_voiceconfig_page.c: In function 'voiceid_cb':
pages/320x240x16/../common/_voiceconfig_page.c:182:12: warning: 'vpt' may be use
d uninitialized in this function [-Wmaybe-uninitialized]
     if (vpt->music == 0) {
            ^
 + Compiling 'config/display.c'


to fix warning, add "default:" at voiceid_cb() function:
        case VOICE_SRC_MIXER:
+        default:
            vpt = &Model.voice.mixer[idx - VOICE_SRC_MIXER];
            break;
Last edit: 02 Apr 2017 08:04 by vlad_vy.

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

More
02 Apr 2017 08:17 #61052 by vlad_vy
Replied by vlad_vy on topic Voice alerts test build
Transmitter startup sound disappeared. I'm doing something wrong?

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

More
02 Apr 2017 08:23 #61053 by Moeder
Replied by Moeder on topic Voice alerts test build
Pull req. for fixing compiler warning is made - funny I never noticed the message during the millions of builds I made ;)

Concerning startup sound: is that with voice enabled or without?

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

More
02 Apr 2017 08:39 #61054 by vlad_vy
Replied by vlad_vy on topic Voice alerts test build
I haven't any voice hardware, so all is default.

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

More
02 Apr 2017 09:29 - 02 Apr 2017 09:34 #61057 by vlad_vy
Replied by vlad_vy on topic Voice alerts test build
I don't use splash screen with all my Deviation transmitters, if it helps (splash_delay=0).
+#if !HAS_EXTENDED_AUDIO
+    // If Extended Audio is present, move startup msg to Splash page to allow additional audio hardware initialization time
     MUSIC_Play(MUSIC_STARTUP);
+#endif
Last edit: 02 Apr 2017 09:34 by vlad_vy.

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

More
02 Apr 2017 10:22 #61060 by Moeder
Replied by Moeder on topic Voice alerts test build
I suspected this. Let's check for Voice Available on startup, if not we play there. Otherwise we can play at splash page. Or we just disable voice startup at all to get rid of all problems... :P

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

More
02 Apr 2017 15:37 #61077 by Morlacus
Replied by Morlacus on topic Voice alerts test build
Some snapshots of my soud box and how it is strapped by a rubber band on the handle of my devo 12s (exactly same as for my devo 8s) On the 12s I put a female jack linked to the pins TX and Ground.
The speaker is in front of me and I have a very good sound. I can also use an earphone.
Attachments:

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

More
02 Apr 2017 19:40 #61091 by FDR
Replied by FDR on topic Voice alerts test build
I've got errors compiling the emulators, particularly the emu7e:
+ Compiling 'pages/128x64x1/voiceconfig_page.c'
In file included from pages/128x64x1/voiceconfig_page.c:37:
pages/128x64x1/../common/_voiceconfig_page.c: In function 'voiceconfig_getsrctyp
e':
pages/128x64x1/../common/_voiceconfig_page.c:36: error: 'NUM_SWITCHES' undeclare
d (first use in this function)
pages/128x64x1/../common/_voiceconfig_page.c:36: error: (Each undeclared identif
ier is reported only once
pages/128x64x1/../common/_voiceconfig_page.c:36: error: for each function it app
ears in.)
pages/128x64x1/../common/_voiceconfig_page.c:44: error: 'NUM_AUX_KNOBS' undeclar
ed (first use in this function)
pages/128x64x1/../common/_voiceconfig_page.c:45: error: 'MODEL_CUSTOM_ALARMS' un
declared (first use in this function)
pages/128x64x1/../common/_voiceconfig_page.c:49: warning: control reaches end of
 non-void function
pages/128x64x1/../common/_voiceconfig_page.c: In function 'voiceconfig_str_cb':
pages/128x64x1/../common/_voiceconfig_page.c:73: error: 'MODEL_CUSTOM_ALARMS' un
declared (first use in this function)
pages/128x64x1/../common/_voiceconfig_page.c: In function 'voice_test_cb':
pages/128x64x1/../common/_voiceconfig_page.c:95: error: 'struct Model' has no me
mber named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:96: error: 'struct Model' has no me
mber named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:104: error: 'MODEL_CUSTOM_ALARMS' u
ndeclared (first use in this function)
pages/128x64x1/../common/_voiceconfig_page.c:105: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:106: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:109: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:110: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:113: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:114: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c: In function 'voicelbl_cb':
pages/128x64x1/../common/_voiceconfig_page.c:125: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:126: error: 'voice_map' undeclared
(first use in this function)
pages/128x64x1/../common/_voiceconfig_page.c:126: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:134: error: 'MODEL_CUSTOM_ALARMS' u
ndeclared (first use in this function)
pages/128x64x1/../common/_voiceconfig_page.c:135: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:136: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:139: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:140: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:143: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:144: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c: In function 'voiceid_cb':
pages/128x64x1/../common/_voiceconfig_page.c:159: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:166: error: 'MODEL_CUSTOM_ALARMS' u
ndeclared (first use in this function)
pages/128x64x1/../common/_voiceconfig_page.c:167: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:170: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:173: error: 'struct Model' has no m
ember named 'voice'
pages/128x64x1/../common/_voiceconfig_page.c:176: error: dereferencing pointer t
o incomplete type
pages/128x64x1/../common/_voiceconfig_page.c:176: error: 'CUSTOM_ALARM_ID' undec
lared (first use in this function)
pages/128x64x1/../common/_voiceconfig_page.c:177: error: dereferencing pointer t
o incomplete type
pages/128x64x1/../common/_voiceconfig_page.c:178: error: dereferencing pointer t
o incomplete type
pages/128x64x1/../common/_voiceconfig_page.c:179: error: dereferencing pointer t
o incomplete type
pages/128x64x1/../common/_voiceconfig_page.c:180: error: dereferencing pointer t
o incomplete type
pages/128x64x1/../common/_voiceconfig_page.c:182: error: dereferencing pointer t
o incomplete type
pages/128x64x1/../common/_voiceconfig_page.c:186: error: dereferencing pointer t
o incomplete type
pages/128x64x1/../common/_voiceconfig_page.c:186: error: dereferencing pointer t
o incomplete type
pages/128x64x1/../common/_voiceconfig_page.c:187: error: 'voice_map_entries' und
eclared (first use in this function)
pages/128x64x1/../common/_voiceconfig_page.c:188: error: dereferencing pointer t
o incomplete type
pages/128x64x1/voiceconfig_page.c: In function 'PAGE_VoiceconfigInit':
pages/128x64x1/voiceconfig_page.c:67: error: 'MODEL_CUSTOM_ALARMS' undeclared (f
irst use in this function)
make[1]: *** [objs/emu_devo7e-w32/voiceconfig_page.o] Error 1
make: *** [zip_win_emu_devo7e] Error 2

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

More
02 Apr 2017 19:51 #61093 by Moeder
Replied by Moeder on topic Voice alerts test build
Fixed in pull request.

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

More
03 Apr 2017 02:39 #61102 by magic_marty
Replied by magic_marty on topic Voice alerts test build
Should i still have voice alerts using PPM out as trainer hooked to another tx? Cause doing so today using my devo12 i still had the voice alerts and a couple times my screen went weird with vertical lines in it and lost all the background and icons on it, power cycling it reset the screen..I went into the voice menu and disabled all the voice alerts i had assigned to switches and it didn't do it any more but i still got the timer alerts and inactivity alerts..

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

More
03 Apr 2017 13:29 #61117 by Moeder
Replied by Moeder on topic Voice alerts test build
Which build are you using? Did you completely format your devo12 filesystem before installing dfu and library? if not please try again after doing so (remember backing up your models and hardware/tx.ini)
There should be voice available while ppm is used on the 12/12s. Please check if the error persists, if yes turn audio vol to 0 in the transmitter config and try again.

Please note nightly builds are currently broken due to the merge, working on a fix...

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

More
03 Apr 2017 16:23 #61124 by magic_marty
Replied by magic_marty on topic Voice alerts test build
I'll try formatting and reinstaling and see if changes anything , might be hard to track down cause it just randomly did it a couple of times and i already been using it for a while ...The build i am using is the 58e29b0

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

Time to create page: 0.114 seconds
Powered by Kunena Forum