Support more audio codecs, not just lossy MP3 - in ESPHome #889
nagyrobi
started this conversation in
Feature requests and ideas
Replies: 2 comments
-
FYI, Nabu Casa developers have as part of firmware for the Home Assistant Voice Preview Edition developed a brand new ”nabu” media player custom component which has most of those features and that code will hopefully be pushed upstream to mainline ESPHome soon, see: https://github.com/esphome/home-assistant-voice-pe/tree/dev/esphome/components/nabu And https://www.home-assistant.io/blog/2024/12/19/voice-preview-edition-the-era-of-open-voice/ They already moved some of the new audio decoder and resampling libraries from that repository into their own separate repo that can be found here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ESPHome's Media Player currently seems to support only MP3 streams. MP3 is a lossy format, sound quality is degraded.
Music Assistant integration by default renders the audio streams in FLAC, which is a lossless format.
Would be nice to enable support in ESPHome for other codecs too:
Since only MP3 is supported, one needs to use other firmware than ESPHome, like squeezelite. The goal would be not to have to rely on third party stuff, but remain in the Home Assistant + ESPHome ecosystem.
Adding more codecs of course needs PSRAM for ESP32 (like WROVER module), which is not a problem as plenty of such modules are available. This just needs to be pointed out properly in the documentation.
Also requested in ESPHome FR repo: esphome/feature-requests#1848
Beta Was this translation helpful? Give feedback.
All reactions