feature/1khz_testtone #27

Merged
pober merged 6 commits from feature/1khz_testtone into main 2026-05-19 13:21:53 +00:00

6 Commits

Author SHA1 Message Date
pstruebi 4d8418f670 Merge branch 'main' into feature/1khz_testtone 2026-04-10 07:55:36 +00:00
pstruebi 03d54eaddf Replace in-memory LC3 file loading with streaming byte generator to reduce memory usage
Refactors LC3 file handling to stream frames byte-by-byte from disk instead of loading the entire file into memory. Adds _lc3_file_byte_gen generator function that skips the 18-byte LC3 header, reads frame size headers, and yields individual bytes with optional looping. Removes read_lc3_file usage and itertools.cycle approach in favor of the new streaming generator.
2026-04-09 14:30:13 +02:00
pstruebi 5f7fd1c0ff Fix LC3 file reading to return individual frames instead of concatenated stream
Modifies read_lc3_file to collect LC3 frames in a list before joining, and updates multicast streamer to write each LC3 frame to all BIS queues in the BIG. Previously the entire LC3 file was concatenated into a single byte string without frame boundaries.
2026-04-09 14:05:46 +02:00
pstruebi f82de89ce3 Replace WAV test files with LC3 format, remove unused announcement files
Updates all audio source references in config and demo mode from WAV to LC3 format. Removes obsolete WAV test files including wave_particle samples in multiple languages (de, en, es, fr, it, pl) at various sample rates, test tones, and unused announcement files. Refactors demo content handling to use kwargs for stream name and program info configuration.
2026-04-09 13:52:56 +02:00
pstruebi e35b8aa2f9 Set stream name and program info for test tone broadcasts, update test tone WAV files 2026-04-09 13:47:48 +02:00
pstruebi 85532b034c Add demo content selector for 1 kHz test tone option
Adds a selectbox in Demo mode UI to choose between program material and a 1 kHz test tone. Includes test tone WAV files at 16/24/48 kHz sample rates. The server detects and persists the demo content type based on the selected audio source files.
2026-04-08 09:28:28 +02:00