What I set out to build.
IntanWave Web is a general-purpose LAN-based public-address audio server for managing announcements across network-connected speakers. It is not limited to one organization or location. A React console manages audio files, speaker inventory, groups, schedules, and playback, while a Python/FastAPI backend coordinates storage, scheduling, and delivery. FFmpeg sends encoded audio over RTP to multicast or unicast IP-speaker destinations. This portfolio entry covers the web/Python server, which is separate from the C#/WinUI IntanWave Desktop application.
The problem
Managing network announcements involves several connected tasks: choosing a recording, targeting the intended speakers, scheduling routine playback, and resolving requests that compete for the same destinations. A responsive console also needs to reflect active sessions and queued work. Network reachability, codec compatibility, and actual audible reception are related checks, but none can substitute for the others.
The approach
The React console uses REST APIs for management actions and WebSocket updates for live status. FastAPI connects those requests to SQLite persistence and an audio engine that coordinates playback sessions, destination conflicts, priorities, and routine queues. APScheduler submits scheduled requests in the Asia/Jakarta timezone. The engine launches FFmpeg for network delivery and can use ffplay for optional host-local output.
What it does
- Audio-file upload and management with recording metadata stored in SQLite.
- Speaker inventory, group-based selection, and custom playback destinations.
- Daily, weekday, interval, and one-time announcement schedules with enabled-state controls.
- Manual playback, active-session controls, priority handling, and a queue for routine requests.
- RTP multicast/unicast profiles for G.722, G.711A, G.711U, and Opus, according to receiver compatibility.
- Live console status through WebSockets, speaker ping telemetry, and application audit logs.
- Linux Docker deployment with persistent local storage and optional host-local audio playback.
This is the web/Python server, separate from IntanWave Desktop. Source availability does not establish operational acceptance or emergency-system certification; network health alone does not prove audible delivery.
A closer look.

How it works.
From operator action to speaker delivery
An operator selects a recording and destination in the console, or an enabled schedule submits a playback request. The backend passes that request to the audio engine, which coordinates its priority and target usage before starting an FFmpeg process. Playback and queue updates are sent back to the console through WebSockets.
Separating HTTP, scheduling, and audio processes
FastAPI owns the HTTP and WebSocket interface; APScheduler owns timed submissions; and the audio engine handles session and process control. SQLite stores file metadata, schedules, speaker inventory, groups, settings, and audit events, while the audio recordings remain on disk.
This division keeps a dashboard request separate from the lifetime of an audio process. The frontend can represent active sessions and pending work while the backend coordinates target conflicts and routine queues.
Codec and deployment decisions
A saved codec profile selects the FFmpeg encoder and RTP parameters. G.722 uses 16 kHz audio with an 8 kHz RTP clock; G.711A and G.711U use 8 kHz audio; Opus uses 48 kHz audio with a dynamic payload mapping. Receivers must be configured for a compatible profile—the console does not automatically reconfigure their firmware.
The Linux Compose setup uses host networking for LAN delivery and mounts persistent storage. The dashboard is intended for an access-controlled network; it should not be presented as providing a verified authentication boundary or emergency-system certification. A healthy API response or successful ping does not prove that a listener heard the announcement.
What each layer does.
Web and scheduling
- React, Vite, and Tailwind CSS management console
- Python, FastAPI, and Uvicorn HTTP/WebSocket server
- APScheduler with Asia/Jakarta schedule execution
Audio, storage, and deployment
- FFmpeg RTP encoding and multicast/unicast delivery
- Optional ffplay for host-local playback
- SQLite with local audio-file storage
- Docker Compose with Linux host networking
Data structure.
SQLite holds operational configuration and metadata. Uploaded audio is stored on disk; the database references those files for playback and scheduling. The tables below summarize the central playback records.
audio_files9 fields
idfilenamedisplay_namefile_pathformatdurationsizecategorycreated_at
schedules14 fields
idnameaudio_file_idschedule_typetime_strdays_of_weekinterval_hourstarget_multicasttarget_localtarget_modetarget_zonetarget_speakersenabledcreated_at
speakers11 fields
idnameip_addressportzonestatuslatency_mslast_onlinelast_checkedenabledcreated_at
groups4 fields
idnamedescriptioncreated_at
settings2 fields
keyvalue
logs5 fields
idtimestampleveleventdetails