This commit is contained in:
jorgenkraghjakobsen
2020-05-27 00:30:43 +02:00
Unverified
parent 4dc5a6f058
commit 11823356bf

View File

@@ -1,40 +1,54 @@
##Snapcast client for ESP32
# Snapcast client for ESP32
Synchronous Multiroom audio streaming clint for [Snapcast](https://github.com/badaix/snapcast)
### Synchronous Multiroom audio streaming client for [Snapcast](https://github.com/badaix/snapcast) ported to ESP32
#Feature list
Opus decoding currently supported
Wifi connection hardcoded in app
Snapcast server address hardcoded
Buffers up to 150 ms on Wroom modules
Buffers more then enough on Wrover modules
## Feature list
- Opus decoding currently supported
- Wifi connection hardcoded in app
- Snapcast server address hardcoded
- Buffers up to 150 ms on Wroom modules
- Buffers more then enough on Wrover modules
#Build
Clone this repo
## Build
Clone this repo:
git clone https://github.com/jorgenkraghjakobsen/snapclint
Update third party code
Update third party code:
git submodule update --init
Configure to match your setup
Configure to match your setup:
- Wifi network name and password
- Audio coded setup
Build and compile
Build, compile and flash:
idf.py build flash monitor
#Test
## Test
Setup a snapcast server on your network
On a linux box:
Clone snapcast build and start the server
./snapserver
Pipe some audio to the snapcast server fifo
mplayer http://ice1.somafm.com/secretagent-128-aac -ao pcm:file=/tmp/snapfifo -af format=s16LE -srate 48000
Test the server config on other knowen platform
./snapclient from the snapcast repo
Android : snapclient from the app play store
#Task list
## Task list
- [ ] Integrate ESP wifi provision
- [ ] Find and connect to Avahi broadcasted Snapcast server name
- [ ] Add a client command interface layer like volume/mute control