Transmitting Microphone Signal to Phone #499
-
Hello, I am in the middle of a project which requires me to transmit an audio signal from an analog microphone to a phone. I have a list of questions I've been dreading to have answers to.
And how do I confirm that my phone indeed has received the audio signal spoken into the microphone? I apologize for the long questions but I would really appreciate anyone's answer to my questions. Thank you all in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
|
Beta Was this translation helpful? Give feedback.
-
If you need to rely on BLE you are in a pretty bad spot: I am not aware of any open source implementation that would support proper BLE Audio (on microcontrollers). It will be quite a challange to get a working solution in the light of the low transmission speeds and MTUs that are available. You will certainly need to use a good codec that does compression. |
Beta Was this translation helpful? Give feedback.
-
I was working on a BLE based prototype and I was positively surprised that I have it working with a sample rate of 44100 on 2 channels. I have it implemented for an ESP32, but unfortunately the API varies from platform to platform. |
Beta Was this translation helpful? Give feedback.
This A2DP library works only on the ESP32. So if you want to use the Nano 33 BLE you will need to use WiFi or BLE
I suggest to have a look at the communications examples of the AudioTools: tcp, udp or vban might be of interrest.
The Nano ESP32 is based on an ESP32-S3, which does not support classic BlueTooth, so there is no A2DP as well.
ps, I have spend quite some time to have I2S working on the Nano 33 BLE.
This will not work: a mobile phone is not an A2DP Sink (=Bluetooth Speaker)!