ESP32-A2DP
ESP32-A2DP copied to clipboard
How to get sound data from mic on bluetooth headset?
I am trying to implement a walkie-talkie type functionality with an ESP32, arduino-audio-tools and a bluetooth headset. Here is my intended topology: (square nodes are software/internal to ESP32, round are external hardware)
graph LR
mic([electret mic]) --> adc[ESP32 internal ADC] --> bt([bluetooth headset])
dac([MAX98357 DAC]) --> s([speaker])
bt == "what class used here?" ==> effects --> dac
o[other sound effect stuff] --> bt
o --> dac
I can probably figure out using the arduino-audio-tools what other copier stream, etc. classes to use for the other links, but what is the class for the bolded, marked link? I don't see any info on how to read the sound data from a bluetooth headset's microphone and process it. Or is this functionality just not implemented yet?