I just published a new UNO Q App Lab experiment:
UNO-Q-AudioPlayer-Brick
The project explores a generic audio playback brick architecture for Arduino App Lab on UNO Q.
Main features:
- custom App Lab brick
- containerized Linux audio backend
- ALSA audio playback
- MP3 streaming
- volume control
- playback status
- reusable Python API
The current version focuses on HTTP/HTTPS audio streams:
from audioplayer import AudioPlayer
player = AudioPlayer()
player.set_volume(50)
player.play("http://icecast.radiofrance.fr/franceinfo-lofi.mp3")
The backend uses:
- Docker containers
- mpg123
- ALSA
/dev/sndexposure inside the container
This project started as a WebRadio experiment and progressively evolved into a more generic audio abstraction layer for App Lab.
Local MP3 file playback will be explored in a future update.
Repository: