WOOT! Stumbled on this new “voice-kit” GitHub repository where ESPHome developers are developing new or improved components for I2S audio (XMOS) support and media playback support for FLAC, etc. for the upcoming voice-kit hardware platform from Nabu Casa:
They already added features and functions or improvements/enhancements to ESPHome, such as:
- New: Nabu Media Player - new “nabu” media player from Nabu Casa running natively on ESP32
- Music Assistant streams work (both mp3 and flac), but since it requires resampling, the audio quality isn’t great
- New: Added support for FLAC files
- New: Added a proper WAV decoder (that parses WAV headers with LIST, INFO, etc. chunks.)
- New: Initial support for playing back local files
- New: Playback Control for the VoiceKit
- New: Added an
is_paused
condition for media players.
- New: Add Click to Converse to button
- New: LED animation
- New: Scripts for controlling LEDs
- New: Update Button Behaviour for the Voice kit
- New: Dial Volume Control
- New: Timer basic implementation
- New: Dial Volume Control
- New: Added HTTP(s) OTA updates
- New: Dial Volume Control
- New: Added Buttons for force ota update.
- New: Software Mute Switch
- Improvement: A basic resampler adjusts sample rates
- Improvement: Configurable output sample rate (for experimental 48kHz XMOS firmware)
- Improvement: The DAC mute state is read on boot
- Improvement: volume/mute control via the DAC (the wheel works for increasing/decreasing volume)
- Improvement: Logs what element failed if the pipeline breaks
- Improvement: Fails gracefully if the incoming stream can’t be processed
- Improvement: Differentiate between user facing LED Ring and Internal LED ring
- Point external component to dev branch
They also have many TODO inline coments in the code there if anyone are interested in helping them:
Code search results · GitHub
Note! Be aware that there are many comments there to that most of the new stuff are not yet stable.