diff --git a/replit.md b/replit.md index f26acb6..01300a9 100644 --- a/replit.md +++ b/replit.md @@ -62,12 +62,14 @@ Preferred communication style: Simple, everyday language. **Problem**: Need to broadcast pre-recorded AMBE voice announcements on a schedule to specific talkgroups **Solution**: Configurable scheduled announcement system in `bridge_master.py` with up to 4 independent announcement slots -**Configuration in adn.cfg [GLOBAL] section**: +**Configuration in config/voice.cfg [VOICE] section** (separated from adn.cfg): - Slot 1: `ANNOUNCEMENT_*` (ENABLED, FILE, TG, TIMESLOT, MODE, INTERVAL, LANGUAGE) - Slot 2: `ANNOUNCEMENT2_*` (same parameters with prefix ANNOUNCEMENT2_) - Slot 3: `ANNOUNCEMENT3_*` (same parameters with prefix ANNOUNCEMENT3_) - Slot 4: `ANNOUNCEMENT4_*` (same parameters with prefix ANNOUNCEMENT4_) +**Note**: voice.cfg is loaded automatically from the same directory as adn.cfg. If voice.cfg does not exist, the server starts normally with all announcements and recording disabled (safe defaults). + Each slot supports: - `*_ENABLED`: True/False to enable/disable - `*_FILE`: Name of the .ambe file (without extension, located in Audio//ondemand/) @@ -93,7 +95,7 @@ Each slot supports: **Problem**: Need to record voice announcements directly from radio traffic for later playback as scheduled announcements **Solution**: AMBE voice recorder that captures traffic on a configured TG/TS -**Configuration in adn.cfg [GLOBAL] section**: +**Configuration in config/voice.cfg [VOICE] section** (same file as announcements): - `RECORDING_ENABLED`: True/False to enable/disable recording - `RECORDING_TG`: Talkgroup to monitor for recording - `RECORDING_TIMESLOT`: Timeslot to monitor (1 or 2)