Audio Support
Audio Support
Hello,
we are considering using ESP32 in audio application, i.e. for creating a BT speaker.
We would like to ask what kind of audio support does ESP32 have? Is this support already implemented in SDK?
Can ESP32 be used for HiFi audio applications (i.e. BT speakers) and what is the overall quality of audio? What audio profiles/codecs does it support? Does it suport Advanced Audio Distribution Profile (A2DP)?
We are considering connecting a full digital amplifier - like this one: http://www.st.com/web/catalog/sense_pow ... 6/PF253416, directly to I2S outputs. Will this work with ESP32?
Best regards,
Drasko
we are considering using ESP32 in audio application, i.e. for creating a BT speaker.
We would like to ask what kind of audio support does ESP32 have? Is this support already implemented in SDK?
Can ESP32 be used for HiFi audio applications (i.e. BT speakers) and what is the overall quality of audio? What audio profiles/codecs does it support? Does it suport Advanced Audio Distribution Profile (A2DP)?
We are considering connecting a full digital amplifier - like this one: http://www.st.com/web/catalog/sense_pow ... 6/PF253416, directly to I2S outputs. Will this work with ESP32?
Best regards,
Drasko
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: Audio Support
We have I2S audio support; test code for this is already in the SDK and working. If you want example code: the Sega Master System emulator has a FreeRTOS implementation of a queue-based audio output driver for I2S. As far as I know the I2S output is standard; any codec/amp that supports standard I2S audio input should work just fine.
Re: Audio Support
Hello,
I am here for the same question. Does it have A2DP support, does it have HFP? If yes what are the supported codecs (sbc, mp3, aac, aptx etc).
Is there any documentation, in case of A2DP support how can we forward sound to i2s output and how can we support the sound from ADC to HFP support of BT chip?
Many thanks.
I am here for the same question. Does it have A2DP support, does it have HFP? If yes what are the supported codecs (sbc, mp3, aac, aptx etc).
Is there any documentation, in case of A2DP support how can we forward sound to i2s output and how can we support the sound from ADC to HFP support of BT chip?
Many thanks.
Re: Audio Support
Hello,
Any news on how to pipe audio received on a2dp or hfp to i2s port?
Thanks.
Any news on how to pipe audio received on a2dp or hfp to i2s port?
Thanks.
Re: Audio Support
I'll also interested by A2DP support
I want to connect my car player to Bluetooth on the ISO port to stream music with esp32 and i2s audio decoder (and an amplifier I think).
Is there a code for A2DP ?
Thanks
I want to connect my car player to Bluetooth on the ISO port to stream music with esp32 and i2s audio decoder (and an amplifier I think).
Is there a code for A2DP ?
Thanks
Re: Audio Support
Hi Drasko
We have full digital audio stream running: Webstream -> wifi -> mp3 deocder -> i2c hardware ->
MA12040P
Works perfect - Noise level still to high due to already flagged APLL hardware issue.
/j
We have full digital audio stream running: Webstream -> wifi -> mp3 deocder -> i2c hardware ->
MA12040P
Works perfect - Noise level still to high due to already flagged APLL hardware issue.
/j
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then
Re: Audio Support
hi draskodrasko wrote:Hello,
we are considering using ESP32 in audio application, i.e. for creating a BT speaker.
We would like to ask what kind of audio support does ESP32 have? Is this support already implemented in SDK?
Can ESP32 be used for HiFi audio applications (i.e. BT speakers) and what is the overall quality of audio? What audio profiles/codecs does it support? Does it suport Advanced Audio Distribution Profile (A2DP)?
We are considering connecting a full digital amplifier - like this one: http://www.st.com/web/catalog/sense_pow ... 6/PF253416, directly to I2S outputs. Will this work with ESP32?
Best regards,
Drasko
@barometre
@danchiche
A2DP-SINK demo
perhabs you have a try here
..
..
After the program started, other bluetooth devices such as smart phones can discover this device named "ESP_SPEAKER", and after connection is established, audio data can be transmitted and there will occur a count of audio data packets printed.
..
..
happy easter17!
best wishes
rudi
edit:
test with win10
connect to esp_speaker
and mediaplayer streams audio packet's to esp32 --
( debug msg on uart )
Last edited by rudi ;-) on Thu Apr 13, 2017 9:05 pm, edited 1 time in total.
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
-
- Posts: 263
- Joined: Sun Jun 19, 2016 12:00 am
Re: Audio Support
Oh happy day! Totally missed this when updating the SDK.
Re: Audio Support
Yes
Nice job @Espressif - BT audio packages comming through
Nice job @Espressif - BT audio packages comming through
Analog Digital IC designer / DevOps @ Merus Audio, Copenhagen, Denmark.
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then
We do novel and best in class Audio amplifiers for consumer products.
Programmed assembler for C-64 back in 1980's, learned some electronics - hacking since then
-
- Posts: 4
- Joined: Sun Apr 16, 2017 12:46 pm
Re: Audio Support
But the example fails after latest SDK lib's update. Issue #520 "Invalid cache access somewhere in BT" @ githubJakobsen wrote:Yes
Nice job @Espressif - BT audio packages comming through
It's not easy to buy these IC's or get samples, still waiting for answer from profusonic/MAJakobsen wrote: We have full digital audio stream running: Webstream -> wifi -> mp3 deocder -> i2c hardware ->
MA12040P
Do you mean it's because of incorrect frequency range (not evident, but can be explained)Jakobsen wrote: Works perfect - Noise level still to high due to already flagged APLL hardware issue.
(According to errata: 3.7. There is a limit on the frequency range for the audio PLL.)
or something else?
Best Regards,
Vladislav
Senior ASIC designer at SiTime
Vladislav
Senior ASIC designer at SiTime
Who is online
Users browsing this forum: Bing [Bot], EG1966, Google [Bot] and 87 guests