amedes / esp_a2dp_sink_spdif Goto Github PK
View Code? Open in Web Editor NEWS/PDIF driver for ESP32
S/PDIF driver for ESP32
Hi Amedes,
thanks for your spdif encoder. In itself it works great.
Unfortunately the higher I2S frequency or the added encoding burden seem to consistently break the ESP32 A2DB stream in my tests.
I'd like to ask if you experience the same issue or if I maybe doing somthing wrong?
What I did (not too much to do wrong here, I guess):
What I get when sending sound from my phone:
I worked on this with pschatzmann, who added SPDIF to his arduino-audio-tools and I even added tasks doing the encoding and i2s writes on the other core to remove stress from the bluetooth core. But same issue, so far nothing helped.
pschatzmann/ESP32-A2DP#168,
pschatzmann/ESP32-A2DP#137
I also added an issue on the espressif idf repo, but so far no reaction.
espressif/esp-idf#8368
My current point of view is: the dropped frame in the bluetooth layer leads to an incomplete stream delivered via the bt callback to your encoder. Since this drop happens inside the closed source code, one can only influence it by changing configuration. The algorithm itself is ok, verified by encoding and sending a locally generated sine wave.
I hope you have some insights there, that might help making it work - would be awsome to get rid of the analog line from the esp to the receiver.
Regards,
Joachim
Hello, your project is the only one that i checked and can really generate audio. Do you perhaps have example on how to play mp3 from sd card?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.