Commit Graph

1151 Commits

Author SHA1 Message Date
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
Silvano Seva 91d608cc6b Small reorganization of threads and tasks 2022-09-08 09:11:00 +02:00
Silvano Seva b861beb0e6 Compiling miosix kernel from sources instead of linking against a pre-build image 2022-09-08 09:11:00 +02:00
Silvano Seva 1b8106d607 Removed miosix kernel submodule 2022-09-08 09:10:56 +02:00
Silvano Seva 94baec6981 Changed the granularity of VFO frequency input mode from tens to hundreds: this reduces the number of digits to be inserted to seven and avoids the line to overflow towards the bottom 2022-09-02 07:54:32 +02:00
Silvano Seva b5fc9b252d Moved code of compensating filter for MDx PWM-based DAC to a dedicated class. 2022-08-28 12:17:04 +02:00
Silvano Seva d11bb903b1 Made public the M17Modulator.stop() function, added macro to enable the transmission of an M17 EOT frame (disabled by default). 2022-08-28 12:00:36 +02:00
Jacob McSwain fa33f15417 Implemented M17 EOT marker 2022-08-28 11:59:31 +02:00
Silvano Seva a22aceb576 Reorganized code for M17 transmission: removed M17Transmitter class, use M17FrameEncoder to assemble LSF and data frames, modified API of M17Modulator class. 2022-08-28 11:59:31 +02:00
Silvano Seva 48cd81ee7c Changed to 'static' some variables inside UI module 2022-08-28 11:49:10 +02:00
Silvano Seva b26d783429 Small optimisation of UI management: perform an update and render of the graphics only when necessary 2022-08-28 11:49:03 +02:00
Silvano Seva 3ab36f3738 Fixed bug in MD3x0 radio driver causing underdeviation of M17 signal 2022-08-28 10:13:22 +02:00
edgetriggered ea6863e077 UI: Add Ubuntu font license text 2022-08-15 08:17:44 +02:00
edgetriggered a5a0de1428 UI: Build time font selection 2022-08-15 08:17:37 +02:00
edgetriggered e24007b743 UI: Add additional font, Ubuntu Regular 2022-08-15 08:12:16 +02:00
Silvano Seva e2137eae23 Implemented CRC of persistent data (settings and VFO state) in MDx devices 2022-08-11 17:02:04 +02:00
Silvano Seva 4b0326b1c8 Fixed missing NOLOAD directive in STM32F405 linker scripts causing the linker to emit initialisation data for the BSS section at address 0x2000 0000 and, consequently, making the flasher to wipe up the settings region in MCU's internal flash. 2022-08-11 09:26:11 +02:00
Silvano Seva 84d66ca1b3 Changed parameters of ui_pushEvent(): now it accepts event type and payload instead of a single element, this cleans the code up a little bit 2022-08-10 18:05:02 +02:00
Silvano Seva 57349cba80 Changed allocation of display framebuffers from dynamic to static. Reorganised code in some of the display drivers. 2022-08-10 12:26:04 +02:00
Silvano Seva f1dbfbfe1f Fixed compilation warnings 2022-08-04 22:22:56 +02:00
Silvano Seva fdb2143157 Fixed bug affecting CTCSS RX squelch on MD-UV380. Solves #42 2022-08-02 12:54:51 +02:00
Silvano Seva 1fa13d63d8 Modified radio drivers so that bandwidth parameter in radio configuration is ignored for operating modes different from analog FM. Fixes #100 2022-08-01 18:29:20 +02:00
Jacob McSwain 9a00b4e837 mic_test: Fix DSP arguments 2022-07-25 12:59:17 +02:00