Wykres commitów

1307 Commity (md1702)

Autor SHA1 Wiadomość Data
fred 5800849cd7 Add Baofeng MD-1702/DM-X target 2022-11-02 15:39:18 +01:00
Silvano Seva ae8bba88b6 Updated voice prompt for UTC timezone to support also half hour values, thanks to Joe VK7JS. 2022-10-31 18:04:08 +01:00
Silvano Seva ce1dc202ae Added support for half-hour timezones, moved datetime_t struct fields from bitfields to full 8-bit variables, added function to adjust the off-range fields of a datetime_t struct. 2022-10-31 11:41:54 +01:00
Silvano Seva f26afc42e5 Small reorganization and cleanup of splash screen code, fixed bug causing audio path for voice prompts never being released at vp end 2022-10-31 08:41:31 +01:00
vk7js d5d49fbbb2 Refactored to decouple vp_init from speaking of splash screen. 2022-10-31 08:41:31 +01:00
Silvano Seva 16d750c55c Excluded announcement of time and date settings for devices without RTC 2022-10-31 08:41:31 +01:00
vk7js 438c224a2a Fixed announcement of initial digit when entering rx freq in VFO mode. It once worked but somehow got clobbered along the way. 2022-10-31 08:41:31 +01:00
Silvano Seva dd30c899df Added a 50ms startup delay to voiceprompts. This provides a workaround to fix cracking sounds when changing rtx parameters on MD-UV3x0. 2022-10-31 08:41:31 +01:00
Silvano Seva f24699f14e Fixed bug in M17 demodulator causing it to sometimes take more than 20ms to process a block of baseband samples when, in unlocked state, a valid syncword is searched. 2022-10-31 08:41:31 +01:00
Silvano Seva c6a40a9625 Ensure proper syncronization between codec2 decode thread and output stream when the former is started 2022-10-31 08:41:31 +01:00
Silvano Seva 0692bea269 Partial fix for speaker pop when a voiceprompt begins 2022-10-31 08:41:31 +01:00
Silvano Seva 5ee3a2e9f0 Reorganised codec_pushFrame and codec_popFrame functions for true non-blocking behaviour 2022-10-31 08:41:31 +01:00
Silvano Seva 9d021b7557 Fixed bug in M17 modulator and demodulator making them not releasing their audio paths on termination thus locking up the thread on M17 mode re-entering. 2022-10-31 08:41:31 +01:00
vk7js 12932db37c Refinement to last checkin: only clear function latch without beep for PTT, not for open squelch. 2022-10-31 08:41:31 +01:00
vk7js f61313638f Cancel function key latch if ptt is pressed (without playing the latch off beep). 2022-10-31 08:41:31 +01:00
vk7js 793a76d1ea When PTT is pressed, stop any voice prompt or beep in process. 2022-10-31 08:41:13 +01:00
Silvano Seva f9228ec23c Halved the additional output gain for MD3x0 radios inside codec2 module to avoid sound distortion when voice prompts are played. 2022-10-28 09:47:47 +02:00
Silvano Seva 71a15c2cfb Fixed bug in voice prompts audio path management causing no audio output in case of rapid key sequences. Improved managment of audio path release in voice prompts module. 2022-10-28 09:47:47 +02:00
Silvano Seva 2c1401de86 Moved voiceprompts audio management to audio path system 2022-10-28 09:47:47 +02:00
Silvano Seva 4411e0f3e8 Implemented audio path management API in GDx and Mod17 audio drivers, removed old audio management API 2022-10-28 09:47:47 +02:00
Silvano Seva 21481072e7 Moved audio management in M17 opmode handler to audio path system 2022-10-28 09:47:47 +02:00
Silvano Seva edf864337a Moved audio management in FM opmode handler to audio path system 2022-10-28 09:47:47 +02:00
Silvano Seva ebc7be39ab Implemented audio path management API in MDx audio driver 2022-10-28 09:47:47 +02:00
Silvano Seva 3c65f8834a Added to radio driver interface two functions to enable and disable AF output towards the speaker 2022-10-28 09:47:47 +02:00
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