chore: update deps and docs — add gTTS, ffmpeg note, voice config section

pull/4/head
Rodrigo Pérez 7 months ago
parent 014d8038b7
commit 5e1cff3b06

@ -10,11 +10,21 @@ GPL v3. Derived from FreeDMR / HBlink.
- Python 3.10+
- Dependencies: `pip install -r requirements.txt`
- **ffmpeg** (system package) — required for voice/TTS. Install via your distro:
- Debian/Ubuntu: `apt install ffmpeg`
- openSUSE: `zypper install ffmpeg`
- Fedora/RHEL: `dnf install ffmpeg` or `yum install ffmpeg`
## Configuration
Copy `adn-server.example.yaml` to `adn-server.yaml` and edit with your settings. Production config is not committed.
### Voice configuration
Voice features (announcements, TTS, recording) use a separate config file. Copy `adn-voice.example.yaml` to `adn-voice.yaml` and edit. If the file does not exist, voice features are disabled (no error). Changes are hot-reloaded every 15 seconds.
TTS (Text-to-Speech) requires **ffmpeg** installed on the system (see Requirements above). The pipeline is: `.txt` → gTTS → `.mp3` → ffmpeg → `.wav` → vocoder → `.ambe`
## Run
```bash

@ -16,9 +16,9 @@ dependencies = [
"Twisted>=22.0",
"dmr_utils3>=0.1.19",
"pyyaml>=6.0",
"setproctitle>=1.3",
"bitarray>=2.0",
"cryptography>=41.0",
"gTTS>=2.3.1",
]
[project.optional-dependencies]

@ -4,6 +4,6 @@
Twisted>=22.0.0
dmr_utils3>=0.1.19
pyyaml>=6.0
setproctitle>=1.3.0
bitarray>=2.0.0
cryptography>=41.0.0
gTTS>=2.3.1

Loading…
Cancel
Save

Powered by TurnKey Linux.