Wykres commitów

1223 Commity (1e874931832488ca596f0c36f8e5da4eef486672)

Autor SHA1 Wiadomość Data
vk7js 16abf941d4 Added Voice menu to settings.
The Voice menu has two options:
Level: off, beep, level 1, level 2, level 3,
Phonetic: off, on.
2022-10-28 08:30:46 +02:00
vk7js 2102c15602 Hook up voice prompts in main startup routine
1. Call vpCacheInit() from the main startup routine.
2. If voice prompts are successfully loaded, and the hash key is held down, and the vp level is less than low, vp level is set to high.
3. If voice prompts are not loaded, and the level was set to something higher than beep, it is set to beep so that at a minimum, the user gets some beep feedback. If it was already set to off, nothing is changed.
2022-10-28 08:30:46 +02:00
vk7js 62ae110a19 Added more to the channel/vfo summary for M17 and DMR.
1. added contact name,
2. added timeslot and color code.
3. added new voice prompts.
2022-10-28 08:30:46 +02:00
vk7js 07d971ecfb Hooked up repeat last voice prompt and summary to f1 if vpLevel is higher than beep. 2022-10-28 08:30:46 +02:00
vk7js 8fab0b1e8c Added vpLevel and vpPhoneticSpell to settings.
These take up 4 bits with 4 bits reserved for on the fly voice rate.
Not yet hooked up to menus.
2022-10-28 08:30:46 +02:00
vk7js 50b29065ae Adjusted long comment to wrap. 2022-10-28 08:30:46 +02:00
vk7js a5985dd55d Added custom dictionary support for common words used in Channel names and contact names (ported from AccessibleGD77).
Added 9 custom word prompts. (One unused).
2022-10-28 08:30:46 +02:00
vk7js 537a20eef5 Add prompts for brightness and squelch
Added support for announcing macros for adjusting brightness and squelch.
Added voiceprompt for squelch.
2022-10-28 08:30:46 +02:00
vk7js e74eccfffd Added support for macro 6 announcing the cycling of radio mode. 2022-10-28 08:30:46 +02:00
vk7js d19e0d57ec Added bandwidth and power announcements
Added bandwidth and power announcement for both macro and summary.
Added new voice prompts for bandwidth and power.
2022-10-28 08:30:46 +02:00
vk7js 5a8044437c Added CTCSS tone announcement to channel/vfo summary. 2022-10-28 08:30:46 +02:00
vk7js 68926a72c4 Began work on the macros screen.
Toggling tone or enabling/disabling (macros 1 and 2) now supported.
Added new voice prompt for tone.
2022-10-28 08:30:46 +02:00
vk7js 4098baa5a8 When speaking a menu and its value, only speak the name if a prompt is not in progress. 2022-10-28 08:30:46 +02:00
vk7js 0ab179a701 use constant for string length for prior menu name and value.
Also reset prior value if name changes.
2022-10-28 08:30:46 +02:00
vk7js 0a410fe336 Speak only when values change
Changed the function which determines if we should speak the new menu
item to make it also check if a menu item's value changes.
2022-10-28 08:30:46 +02:00
vk7js 39cbfbe66f Added a function which will look up a string in our string table and, if found, returns its offset and use it in order to locate the equivalent voice prompt.
Added logic to see if the current menu index has changed.
Added a function to speak the current menu item and its value if the menu index changes.
2022-10-28 08:30:46 +02:00
vk7js e691f37f88 Extracted and added a few more strings to the string table and created voice prompts for those strings. 2022-10-28 08:30:46 +02:00
vk7js 46fab4642b Make VFO accessible through voice prompts
Added calls to various voice prompt functions in the UI so that VFO is basically accessible.
1. When entering digits in VFO mode.
2. When digits exceed 3, point will be announced.
3. When user enters sufficient digits to move from RX field to TX field, or if user presses Enter to move to TX field.
4. When both rx and tx frequencies have been completed.
2022-10-28 08:30:46 +02:00
vk7js af74978600 If voice prompts can't be loaded then set vpLevel to vpNone. 2022-10-28 08:30:46 +02:00
vk7js ad07a517bc Added voice prompt verbosity levels: off, beep, low, medium and high. 2022-10-28 08:30:46 +02:00
vk7js d68f01ffbc Insert voice prompt utility function in UI code
Began calling voice prompt utility functions from places such as:
1. arrowing up and down in VFO mode (read new frequencies)
2. up and down in memory mode: read new channel name.
3. up and down in VFO input mode: announce receive or transmit,
4. when starting to enter a frequency: announce receive and the first digit.
2022-10-28 08:30:46 +02:00
vk7js 27d1329ac7 Added a few prompts for M17 and DMR used on the UIMode screen but which do not need strings in the strings table as they are displayed in abbreviated form. 2022-10-28 08:30:46 +02:00
vk7js 2373d8374c more string extraction. moved prompt_fm and prompt_dmr to string table as they are needed by the UI. 2022-10-28 08:30:46 +02:00
vk7js fd5c5b4979 Got voice prompts code compiling. (certain blocks are commented out until we get codec2 decode figured out). 2022-10-28 08:30:46 +02:00
vk7js 901db10c87 Next round of changes to add literals to string table and voice prompt wordlists. 2022-10-28 08:30:46 +02:00
vk7js bc5289453e Round one of adding strings to string table and wordlists. 2022-10-28 08:30:46 +02:00
vk7js 10ddd88f69 Cleanup code to adhere more to coding standard.
Got it compiling.
2022-10-28 08:30:46 +02:00
vk7js c0a04c5564 Adding voicePromptUtils.h/c which will contain the actual functions which call the building blocks to speak radio functions. 2022-10-28 08:30:46 +02:00
vk7js cdda2a5b90 Added voice prompt for channel. 2022-10-28 08:30:46 +02:00
vk7js af76afb521 Added vpQueueFrequency to speak frequency with proper handling of decimal place and addition of MHz. 2022-10-28 08:30:46 +02:00
vk7js 88619dc682 Refactored symbol handling to clean up code. 2022-10-28 08:30:46 +02:00
vk7js 1d7432ae3b Reworked all symbols so that they can be processes via a lookup rather than by individual tests. Added more flags so we can optionally speak different categories of symbols. 2022-10-28 08:30:46 +02:00
vk7js d5568b8ab3 Adding voice prompts skeleton. 2022-10-28 08:30:46 +02:00
vk7js 7e660f2fe8 Starting to refactor UI to use a string table in preparation for adding voice prompt support. 2022-10-28 08:30:46 +02:00
Silvano Seva bf8a257c2b Implemented reference counting inside codec2 management module, allowing for multiple calls of codec_init() 2022-10-28 08:30:46 +02:00
Silvano Seva 26048b90d1 Bugfix and refactoring of linux output stream driver 2022-10-28 08:30:46 +02:00
Silvano Seva 44abedce4c Changed stack size of codec2 thread when running under linux to prevent stack smashing from codec2_decode. Stack size is set to the default value from the OS 2022-10-28 08:30:46 +02:00
Niccolò Izzo adbd1f070d Fixed bug in circular buffer management inside linux output stream driver, added unit test for circular buffer mode.
TG-220
2022-10-28 08:30:46 +02:00
Niccolò Izzo 58c1c3bbd6 Implemented circular buffer mode in linux output stream driver. 2022-10-28 08:30:46 +02:00
Niccolò Izzo 081b19e52c Implemented output audio stream driver for linux.
Implement outputStream backend on linux using Pulseaudio simple API.

TG-250
2022-10-28 08:30:46 +02:00
Niccolò Izzo b3a861a47c Usability improvements
Remove DMR from macro menu until we actually support it.
Remove print of M17 source callsign
Bank and channel visualization is more compact to make room for
additional data on a single screen.
Refactor mode screen to fit all data into a single screen.
2022-10-28 08:30:46 +02:00
Silvano Seva 5093545c58 Removed tinyusb dependency from meson.build 2022-10-19 14:40:44 +02:00
Silvano Seva a0c721b30d Forced suppression of some compiler warnings in miosix kernel sources 2022-10-19 14:35:11 +02:00
tarxvf 37c9e0dbc3 macro menu mode change: catch invalid states 2022-10-18 14:07:48 +02:00
Ryan Turner ea9f99524b fix(docs): update the m17 link on the readme with the new working one 2022-10-03 08:20:53 +02:00
Niccolò Izzo 25d6c20ef0 Reorder macro menu functions
Swapped brightness and tone increase and decrease to be more intuitive.
2022-09-27 22:35:50 +02:00
Fred 28408fbdf8 Add Mod17 to nightly builds 2022-09-27 22:35:50 +02:00
Niccolò Izzo 5ff74aaaa7 Add FM tone decrease Macro
Reorganize macro menu buttons to enable tone decrease and eliminate
channel save as it was not yet implemented.
2022-09-27 22:35:50 +02:00
Niccolò Izzo d395afd370 Fix missing splashscreen
Fix a bug where the splashscreen was not showing on radios with GPS
enabled.
2022-09-27 22:35:50 +02:00
Niccolò Izzo 6a9ce50f6b Usability improvements
Remove DMR from macro menu until we actually support it.
Remove print of M17 source callsign
Bank and channel visualization is more compact to make room for
additional data on a single screen.
Refactor mode screen to fit all data into a single screen.
2022-09-27 22:35:50 +02:00