Browser audio · API integration
Better Radio
Live radio with artwork, visualisations and wireless playback.
An installable live-radio player with changing artwork and track metadata, independent stereo analysis and ten audio-reactive displays. Google Cast and Safari AirPlay integrate playback on compatible TVs and speakers.
Player features
- Artwork & now-playing informationArtist, song and cover updates, with station-logo fallback.
- 10 audio-reactive displaysWaveforms, spectrum bars, stereo scopes and analogue-style meters.
- Independent stereo analysisSeparate left/right levels, smoothing and peak indicators.
- Chromecast & AirPlayPlayback handoff and device controls on supported browsers and receivers.
- Responsive station browsingA sliding drawer, expanded mobile list and landscape visualisers.
- Installable PWAApp-shell caching, installation help and optional screen wake lock.
Engineering & validation
- Problem
- Safari played live HLS audio, but its normal playback route left the audio meters flat.
- Approach
- A bounded buffered-audio path brings supported live chunks into Web Audio. Overlapping decode helps smooth the joins between chunks.
- Evidence
- Playback and stereo displays checked on a real iPhone. Unsupported streams fall back to ordinary playback.
The frontend shares one audio-analysis graph across waveforms, spectrum displays and independent left/right meters. The API resolves stream addresses and aggregates metadata. Recent work adds a responsive station drawer and reusable Cast/AirPlay transports. Receiver behaviour is browser- and device-dependent; Android hardware and background listening remain separate test areas.








