AceCentre / Echo

Echo is an AAC app designed for those with a visual difficulty and physical difficulty to access communication.
https://docs.acecentre.org.uk/products/v/echo
GNU General Public License v3.0
0 stars 0 forks source link

Investigate possible ways to split audio sources across two devices #37

Closed gavinhenderson closed 9 months ago

gavinhenderson commented 11 months ago

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

willwade commented 11 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

gavinhenderson commented 10 months ago

Possible solution:

https://www.amazon.co.uk/dp/B00CS8FQJC?ref_=cm_sw_r_apin_dp_63MCRWQDQ4D8PQKGAPM3&language=en-GB https://www.1mii.com/product-item/ml100/

willwade commented 10 months ago

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