Page 1 of 1

ESP32-lyrat - Read Data over a2dp and play over hfp

Posted: Mon Apr 12, 2021 3:25 am
by Vbansal1996
Hello Everyone,

I am working on a project where I need to read the music data over a2dp and write the data over hfp.
By referring the example of get_started->pipeline_a2dp_hfp_example.

I am able to read data over a2dp and store it in flash using partition logic.
But when I am writing the same data over hfp I am hearing very broad/heavy sound for the same music while when I play that music over i2s it is working fine.

I tried playing with the a2dp data sample rate and bit rate but didn't get good results while listening over hfp.

I am very new to this audio part.

Any help or suggestions in this will be appreciated.
Thanks.