Download Info
- Author: n1mm
- File size: 5.23 MB
- Downloads: 49
- Updated: 2025-08-22
- Categories:
Logger+ Audio: Integrated Piper text to speech (TTS) program operation into the Logger+ Audio subsystem. Tnx to Kari, OH2XX introducing us to Piper in Sunday's reflector email. (Coded by N1MM & K3CT)
If the code is updated, the revision in the title will increment.
To enable and use: - Download the experimental “Piper Text-to-Speech” updater program using the link above.
- Run the installer.
- Start the program.
- Open the Logger+ Audio Setup window, select the Piper tab.
- With the computer connected to the internet, click the Download Model Files button.
- The download will install the executable program and many models. Expect the download to take more than a minute. The models files require 1.8gB of disc space.
- The Entry Window status line indicates the download progress.
- The download button text changes to "Done..." when complete.
- When the download is complete click the model filename dropdown to select a model file.
- Place the program in Phone mode, edit the function key file and change one to be:
F## Num,{TTS 0 1 2 3 4 5 6 7 8 9,1}
Press the function key that you changed.
Macro definitions: - There are two new macros named {TTS} and {ICAO} to be used in function key messages.
The macro {TTS text,speed} - Converts the 'text' to speech at the optional 'speed' and immediately plays the TTS wav file. o If the speed parameter is omitted, the speed is set to 0.8. o The range of the 'speed' parameter is 0.3 - 1.0. o The {TTS} macro text can contain ! . ? and space to modify the speech and spacing. o A space is added when a space and a Capitalized word follows the period. o Misspelling text can help to improve the speech.
The macro {ICAO text} - Converts the 'text' or ! to phonetics. o The {ICAO} macro can appear multiple times inside the {TTS} macro.
- Examples of function key text using these macros are: F1 CQ,{TTS ...CQ Contest CQ Contest .. November 1 Mike Mike... November 1 Mexico Mexico . . Contest} F3 EXCH,{TTS {ICAO !} 59 e p a} F7 QRZ?,{TTS Q R Zed?}
- It is not possible to play a combined message of a TTS message and user *.wav file. - There is some additional overhead when changing the voice model. This is only experienced when trying voices. - When a TTS message is played at a different voice speed then the previous TTS message, there is some added overhead. - When Piper text to speech is used, Logger+ Audio concatenation is turned off. - This feature may not work with a 32 bit CPU.
Rev 3:
Fixed error when ICAO used without speed parameter on TTS macro
Fix RTE when None is specified for model
Stopped running model with empty message
Rev 4
Fixed ESM
Added full and partial call correction
Removed poorly done ONNX files from download. Not removed if previously downloaded.
V5: Bug fixes & added error message when piper.exe is missing
V6: Fixed RTE when using non-TTS macros
Added threading to generation of wav files to allow radio code to execute in time for playback.
Rev 7
Extensive bug fixes
Correction in downloading of many ONNX model files
Automated download of piper.zip and install piper
Rev 8
Supported @ macro (announces receive QSX freq)
Added
{SplitNr} macro says numbers over 100 like 8 Forty-Five or 1 Twenty-two or Twenty-Four Thirty-Two (2432)
{SpaceNr} macros insert a pause between each digit e.g. one four two
Changed Models Download to download only low when available, and medium otherwise. Removed high models from download.
When downloading model files, allow download all, download next, or exit. Allows user to limit downloads to save time, bandwidth & space.
Added disk space check. All model downloads take about 2 GB.