Spiffs Mp3 streaming to BT wrong playback speed

fredoug
Posts: 1
Joined: Thu Oct 08, 2020 6:32 am

Spiffs Mp3 streaming to BT wrong playback speed

Postby fredoug » Thu Oct 08, 2020 11:10 am

Hello,
My first post on the esp32 forum :)
I'm working on streaming an MP3 audio ( spiffs_stream ) via bluetooth.
https://github.com/dougofredo/esp-adf-s ... _example.c
My code is a mix of 2 working examples in ESP-ADF ( pipeline_bt_source and pipeline_spiffs_mp3, that work fine when I ran them separately ).
My issue is that the sound file is played at a much faster speed in the bluetooth headset ( I think it's played at 2x speed! ). I don't understand how this is happening.
My setup is the following:
ESP32-Wrover
ESP-IDF version within ESP-ADF ( v3.3.2-107 )
Codec used ES8374
MP3 file: Mono 48 Khz
Thanks for your help!

jason.mao
Posts: 98
Joined: Mon Nov 19, 2018 2:05 am

Re: Spiffs Mp3 streaming to BT wrong playback speed

Postby jason.mao » Fri Oct 09, 2020 12:08 pm

Hi fredoug,

What about the sample rate and channels of
/spiffs/eng-93.mp3
?

Who is online

Users browsing this forum: No registered users and 9 guests