ESP32 Webradio

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: ESP32 Webradio

Postby BuddyCasino » Tue May 02, 2017 6:00 am

Nice! Are you using the Teensy libraries?I'm currently working on AAC support.

User avatar
rudi ;-)
Posts: 1727
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP32 Webradio

Postby rudi ;-) » Tue May 02, 2017 9:24 am

BuddyCasino wrote:Nice! Are you using the Teensy libraries?I'm currently working on AAC support.
you mean this mike?
will come back to this theme too, but just in time "bare metal" audio :)
but now am audio infected since this theme works lightest from the hand .
jeroen and you have done nice work with this, AAC is good , i will come in the next steps same things on SBC/BT.
what you think about PCM1863 this for have a reserve play ( but limited 192KHz )

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: ESP32 Webradio

Postby BuddyCasino » Tue May 02, 2017 9:35 am

rudi ;-) wrote: you mean this mike?
Yes, theres lots of stuff you can adapt. They got everything.
rudi ;-) wrote: what you think about PCM1863 this for have a reserve play ( but limited 192KHz )
Not sure I can parse that question.

User avatar
rudi ;-)
Posts: 1727
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP32 Webradio

Postby rudi ;-) » Tue May 02, 2017 9:38 am

BuddyCasino wrote:
rudi ;-) wrote: what you think about PCM1863 this for have a reserve play ( but limited 192KHz )
Not sure I can parse that question.
mean using an "extern" ADC for "extra" stuff

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: ESP32 Webradio

Postby BuddyCasino » Tue May 02, 2017 10:08 am

Sorry, I'm a little slow today, I still don't get it. Feel free to PM me in german if you like.

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: ESP32 Webradio

Postby BuddyCasino » Sun May 07, 2017 1:33 am

Just pushed an update with AAC support, its still a bit beta though. If someone knows about AAC (or even libfaad2), there is an issue with the ADTS parser I believe.

bernard.xiong
Posts: 6
Joined: Thu May 04, 2017 1:32 pm
Location: Shanghai, China
Contact:

Re: ESP32 Webradio

Postby bernard.xiong » Sun May 07, 2017 1:54 am

BuddyCasino wrote:Just pushed an update with AAC support, its still a bit beta though. If someone knows about AAC (or even libfaad2), there is an issue with the ADTS parser I believe.
If you want to use libfaad2, you have to increase the task stack to more and more big. libfaad2 is not a good aac decoder, the stack size, the performance etc.

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: ESP32 Webradio

Postby BuddyCasino » Mon May 08, 2017 6:10 am

bernard.xiong wrote:If you want to use libfaad2, you have to increase the task stack to more and more big. libfaad2 is not a good aac decoder, the stack size, the performance etc.
Yeah I noticed it uses a lot of memory, the only other free AAC decoder I'm aware of is Helix, but it doesn't support SBR which is important because web radio streams often use it. What would you recommend?

bernard.xiong
Posts: 6
Joined: Thu May 04, 2017 1:32 pm
Location: Shanghai, China
Contact:

Re: ESP32 Webradio

Postby bernard.xiong » Mon May 08, 2017 2:03 pm

BuddyCasino wrote:
bernard.xiong wrote:If you want to use libfaad2, you have to increase the task stack to more and more big. libfaad2 is not a good aac decoder, the stack size, the performance etc.
Yeah I noticed it uses a lot of memory, the only other free AAC decoder I'm aware of is Helix, but it doesn't support SBR which is important because web radio streams often use it. What would you recommend?
Yes, Helix decoder has big issue in some aac audio data in m4a format. Another open source decoder is FDK AAC:
https://en.wikipedia.org/wiki/Fraunhofer_FDK_AAC

BuddyCasino
Posts: 263
Joined: Sun Jun 19, 2016 12:00 am

Re: ESP32 Webradio

Postby BuddyCasino » Mon May 08, 2017 2:09 pm

I was under the impression the Fraunhofer implementation wasn't free, but apparently that affects only the xHE-AAC version. Will try that one out, thanks for the hint!

The sources are available at https://github.com/mstorsjo/fdk-aac, in case anyone else is interested.

Who is online

Users browsing this forum: No registered users and 15 guests