Replies: 1 comment 7 replies
-
Now i got the first output via bluetooth using the following, but it seems that it is not okay to just override channel_len. The sound is just stuttering...
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am just trying to implement Audio Out over bluetooth using the
ESP32-A2DP Library by Phil Schatzmann https://github.com/pschatzmann/ESP32-A2DP
Here is a description of a simple sine output, which works on my Audio Kit board.
https://www.pschatzmann.ch/home/2020/09/15/sending-sound-from-an-esp32-to-a-bluetooth-sink-e-g-bluetooth-speaker/
On the bottom of the libraries github page under the headline A2DP Source (Music Sender) there is another example of how to output to a bluetooth sink.
Can someone help to implement it to the sampler? Do you think there is a way of using the aptX Live codec for bluetooth instead of the SBC to get a lower latency?
I just copied and pasted the audio_task() function and make it fit the get_data_channels callback of the bluetooth sender example but it s not working yet.
best,
paul
EDIT: I am trying to understand how to the audio is played back
this is the call from the main loop. Is the main loop called at 240Mhz?
What does the comment mean? As I understand the audio_task() function processes the two buffers of 64 32bit values for left and right and then it sends alle 64 values to the dac.
Here i put some comments and questions into the functions code for better understanding:
Beta Was this translation helpful? Give feedback.
All reactions