Closed gavinhenderson closed 9 months ago
Maybe of interest https://developer.apple.com/forums/thread/5787
https://developer.apple.com/documentation/avfaudio/avaudiosession/category/1616484-multiroute
Also in PASCo look for "Override output" in the code. I'm sure that was it. I have a feeling though it got dropped / ripped out in the last bit refactor
If we were to develop an electronics board it would be worth googling esp32-s3 (needs multicore), A2DP, see this library, and the VS1053
Interesting board: https://kateiren.github.io/esp32-webradio/ https://github.com/paulgreg/esp32-bluetooth-audio-adafruit/ and hackaday page: https://hackaday.io/project/183183-esp32-bluetooth-audio-receiver
Note what we would also need is:
So in short
Audio Output Management:
Speaker Output: Connect the left channel of the VS1053 to a small amplifier circuit and then to the speaker.
Headphone Jack: Connect the right channel of the VS1053 to the headphone jack. We may need a small resistor to match impedance and protect the headphones.
Would also need some power regulation and charging circuit for a lipo
Note, this is not to do the work but instead to figure out the best way to do it then create the tasks to do it. Those tasks will then be prioritised seperately