As we have seen in my last blog, we will need to use a codec to send and receive the audio data with some proper sampling rate: CD quality e.g. is using 44100.
I started to collect some promising low-complexity codecs and converted them to Arduino libraries:
As a the next step I will need to provide some nice integration into my Arduino Audio Tools.
Arduino Sketches
Detailed Information on how to use the codecs can be found in the wiki. Examples using e.g the aptx codec will look as follows:
- communication-codec-espnow-send
- communication-codec-espnow-receive_measure
- communication-codec-espnow-receive
Running the communication-codec-espnow-receive_measure sketch shows that we can generate a signal and process it with around 132000 bytes per second_ using a SBC decoder. This is not sufficient for a sampling rate of 44100, but we can use 32000!
0 Comments