Silvano Seva
714a0dd331
Implemented audio path management API in linux audio driver
2022-10-28 09:47:47 +02:00
Silvano Seva
25caffde6b
Linked audio path manager with low-level interface API to setup and release the audio paths. Minor refactoring of audio path manager code.
2022-10-28 09:47:47 +02:00
Silvano Seva
6d9ad2b947
Implementation of audio path manager
2022-10-28 09:47:47 +02:00
Silvano Seva
a7521ccc5f
Added functions to setup, release and check compatibility of audio paths to audio.h
2022-10-28 09:47:47 +02:00
Silvano Seva
ad3390696e
Moved audio_path header file from interfaces to core, moved enums of audio source, sink and priority to audio.h
2022-10-28 09:47:47 +02:00
vk7js
ec6519425c
Added call to vp_announceCTCSS to macro moni+2 branch because increasesto code were not speaking, only decreases.
2022-10-28 09:47:47 +02:00
Silvano Seva
5fb11322ac
Code cleanup and refactoring of voice prompts code
2022-10-28 09:47:47 +02:00
vk7js
c7c9c3afc5
Fixed issue of m17 destination not being spoken in summary (long hold f1) if set to broadcast.
2022-10-28 09:47:47 +02:00
vk7js
7cc287643e
Added Broadcast to string table for use with voice prompts. Cleaned up hash key announcement.
2022-10-28 09:47:43 +02:00
vk7js
3ea4431b35
Added support for the speaking of callsign when you hit hash key.
...
Fixed issue of callsign and M17 settings strings being in the wrong order in the string table causing the voice prompts to be switched.
2022-10-28 08:30:47 +02:00
vk7js
c2f349c93d
More improvements to auto GPS screen readout
...
Read fix quality and type changes.
Read satellite count changes.
Reduced minimum time between readouts to 8 seconds.
say km/h instead of kmh for speed.
2022-10-28 08:30:47 +02:00
vk7js
cf45f7ee81
Fixed missing gps updates due to recording an update even when one wasn't detected, this meant countdown would restart errantly.
2022-10-28 08:30:47 +02:00
vk7js
dbc86ea392
Give leeway for nw/ne/sw/se within a few degrees like n/e/s/w.
2022-10-28 08:30:47 +02:00
vk7js
8c9f034b93
Adjusted sensitivity of auto announcement for GPS data. Now only announce for altitude changes of at least 5m, speed changes of at least 1 KM/h and direction changes of at least 1 degree.
2022-10-28 08:30:47 +02:00
vk7js
7cc0c6455c
Now better handle directions, and speak prior to other info as most important.
...
Handle 8 cardinal points north, east, south, west, north east, south east, south west and north west.
2022-10-28 08:30:47 +02:00
vk7js
4ba9b3ec34
Fixed memory overrun caused by buffer being too small.
...
Also fixed satellite count which got broken when I changed the GPS info flags to add more.
2022-10-28 08:30:47 +02:00
vk7js
fbc4e380b3
Moved latitude and longitude to after direction in announcement because these are less meaningful than the other parameters.
2022-10-28 08:30:47 +02:00
vk7js
f1639159bf
fixed issue of auto announcement clobbering manual request for summary.
...
Fixed a couple of issues with direction announcement.
2022-10-28 08:30:47 +02:00
vk7js
4edef678c1
fixed south and west.
2022-10-28 08:30:47 +02:00
vk7js
4e1689df51
Cleaned up GPS direction info so we say north, east, south, west when the tmg is within a close enough range.
2022-10-28 08:30:47 +02:00
vk7js
5829df6dd3
Now read speed, altitude and direction changes on the GPS screen automatically with a forced minimum of 10 seconds between readings to avoid a bit of hysterisis .
...
Can still get full summary on long hold f1.
2022-10-28 08:30:47 +02:00
vk7js
3ba094f633
Minor cleanup of beep code.
2022-10-28 08:30:47 +02:00
vk7js
463892e53e
Change voice prompt rate from 1.5 to 1.25 by multiple requests.
2022-10-28 08:30:47 +02:00
vk7js
104f18d9e9
Added vp_beepSeries to play a melody.
...
Now play melody on power up if vp level set to Beep.
2022-10-28 08:30:47 +02:00
vk7js
dc285ab023
Moved beep definitions into header beeps.h.
2022-10-28 08:30:47 +02:00
vk7js
853db877e9
Link beep to volume knob appropriately.
2022-10-28 08:30:47 +02:00
vk7js
d8fa0465fb
Fixed following bug:
...
1. hit enter to go to banks menu.
2. hit escape.
3. hit enter again and radio does not announce banks menu because it was the last menu active.
Now reset the menu tracking variables on Escape.
2022-10-28 08:30:47 +02:00
vk7js
da7dfe63b2
Avoid calling beep if we know the voice will announce something since it will be
...
canceled and most likely generate an unwanted click.
2022-10-28 08:30:47 +02:00
vk7js
91d19e809e
Fixed issue of menus not reading at vp level 1.
2022-10-28 08:30:47 +02:00
vk7js
94424ce908
Adding beeps to MD380 platform.c.
2022-10-28 08:30:47 +02:00
vk7js
eb89f5a55a
Now play generic beep on any key press as well as different tones when navigating the menu, when menu item wraps, and when function key latches and unlatches if voice prompt level is set to beep.
2022-10-28 08:30:47 +02:00
vk7js
a1e302b19d
Got beeps working so long as you don't have ctcss set.
...
Reduced durations to sensible values.
2022-10-28 08:30:47 +02:00
vk7js
3c20a5282e
Fixed nasty popping between every voice prompt and after every silence.
...
When retrieving the codec2 data, ensure it is an exact multiple of codec2 frames and always discard the very last frame.
2022-10-28 08:30:47 +02:00
Silvano Seva
80f6fe2289
Stopping audio codec at the and of each voice prompt
2022-10-28 08:30:47 +02:00
vk7js
0298aa897b
Implemented beeps on MD-UV3x0 platform driver.
2022-10-28 08:30:47 +02:00
vk7js
32fd910e64
Fixed warnings.
2022-10-28 08:30:47 +02:00
vk7js
70ba324ef3
Fixed menu announcements so that menu item names are always spoken.
2022-10-28 08:30:47 +02:00
vk7js
b39ab4f0d5
Added "Used heap" to voice prompts for Info screen.
2022-10-28 08:30:47 +02:00
vk7js
6a56fe3d3a
Fixed satellite count readout.
2022-10-28 08:30:47 +02:00
vk7js
a71a06c57a
1. Renamed beepTick to beep_tick for consistency.
...
2. Made beep_tick static.
3. call beep_tick from top of vp_tick because in its prior location it might
not actually be called.
2022-10-28 08:30:47 +02:00
vk7js
a081964ac8
Fixed Backup and Restore menus as follows:
...
1. Fixed issue of voice not reading backup or restore messages but instead
stuttering indefinitely.
2. Can now press cancel to exit the menu so long as you haven't pressed PTT to
start the process.
2022-10-28 08:30:47 +02:00
vk7js
f8bfc7fb13
Added mechanism for specifying exactly what is read in the summary.
2022-10-28 08:30:47 +02:00
vk7js
495b721231
Fixed setting of CTCSS and tone so that one can rapidly change tone without hearing the word "tone", "receive tone," "transmit tone" etc prior to each tone value.
2022-10-28 08:30:47 +02:00
vk7js
d622080cfe
Do a better job of determining when to say Menu.
...
In info screen, avoid very rapid announcements of battery fluctuations.
For same menu name, only read value changes once per second for automatic reading.
2022-10-28 08:30:47 +02:00
vk7js
c9ce41a999
Initial beep implementation.
...
Function latch will play high beep when latched and low beep when latch times out.
Menus will play a high beep when you arrow through them and a low beep when you reach the first item.
All keys should play a generic beep sound but this has not been implemented yet.
2022-10-28 08:30:46 +02:00
vk7js
95b7707d87
Implemented speech feedback for setting UTC timezone.
...
Added speaking of negative sign for vp_queueInteger (plus is assumed if not negative).
2022-10-28 08:30:46 +02:00
vk7js
9a250ec994
Added speech feedback to settings/display/timer menu.
2022-10-28 08:30:46 +02:00
vk7js
0138d843b1
Improved time/date entry:
...
1. Now give format as dd/mm/yy before date and hh:mm before time.
2. Say the slash immediately after the 2nd and 4th digits are entered in the date and the colon immediately after the 2nd digit of the time.
3. Removed speaking of the 2nd colon in the time since seconds input is disallowed.
2022-10-28 08:30:46 +02:00
Silvano Seva
e5de5b96a3
Fixed announcement of power level both in settings menu and channel summary
2022-10-28 08:30:46 +02:00
vk7js
0452bd0f10
Added voice feedback for setting the time and date.
2022-10-28 08:30:46 +02:00