Files
meshing-around/modules/radio.md
SpudGunMan 4406f2b86f it SPEAKS
KittenML/KittenTTS
2025-10-29 20:52:14 -07:00

1.6 KiB
Raw Permalink Blame History

Radio Module: Meshages TTS (Text-to-Speech) Setup

The radio module supports audible mesh messages using the KittenTTS engine. This allows the bot to generate and play speech from text, making mesh alerts and messages audible on your device.

Features

  • Converts mesh messages to speech using KittenTTS.

Installation

  1. Install Python dependencies:

    • kittentts is the TTS engine.

pip install https://github.com/KittenML/KittenTTS/releases/download/0.1/kittentts-0.1.0-py3-none-any.whl

  1. Install PortAudio (required for sounddevice):

    • macOS:
      brew install portaudio
      
    • Linux (Debian/Ubuntu):
      sudo apt-get install portaudio19-dev
      
    • Windows:
      No extra step needed; sounddevice will use the default audio driver.

Configuration

  • Enable TTS in your config.ini:
    [radioMon]
    meshagesTTS = True
    

Usage

When enabled, the bot will generate and play speech for mesh messages using the selected voice.
No additional user action is required.

Troubleshooting

  • If you see errors about missing sounddevice or portaudio, ensure you have installed the dependencies above.
  • On macOS, you may need to allow microphone/audio access for your terminal.
  • If you have audio issues, check your systems default output device.

References