ESP32 Webradio

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

Re: ESP32 Webradio

Postby BuddyCasino » Mon Apr 17, 2017 4:33 pm

@jorgen: merged your changes and refactored a bit, use menuconfig to activate the Merus backend. Btw., any chance you can send me schematics on how to wire up your amp, now that I have the necessary software support? I'm curious.

@rudi: made a slight tweak to buffering behaviour, mobile phone might work now

User avatar
Jakobsen
Posts: 89
Joined: Mon Jan 16, 2017 8:12 am

Re: ESP32 Webradio

Postby Jakobsen » Mon Apr 17, 2017 6:46 pm

Hi Buddy
Nice call - moving audio configuration to the menuconfig setup tool - very handy. And code works out of the box.
Yes - I will send you a diagram for wiring up our amp. Do you have the small demo board or our evk - cannot recall what I send you? Small demoboard is 4x5cm - evk is 7x8cm with banan for PVDD.
/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

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

Re: ESP32 Webradio

Postby BuddyCasino » Mon Apr 17, 2017 7:50 pm

Its about 4cm x 4cm in size.

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

Re: ESP32 Webradio

Postby rudi ;-) » Wed Apr 19, 2017 8:18 pm

BuddyCasino wrote:
..

Yeah I noticed that too, I'm filling the DMA queue with silence which helps a bit but not completely, I'm missing something. Also I wasn't sure how much of that is due to the I2S codec I'm using, which e.g. makes a pop when the sample rate changes. But now with the DAC working properly I can test that better.
..

Not sure if I understood you - are you working on adding A2DP support? Pull requests are always welcome, wanted to add that anyway, but most of my free time goes to finishing the Alexa client currently.
..


@rudi: made a slight tweak to buffering behaviour, mobile phone might work now
sry for delay, mike - thank you!
i will test this on weekend detailed.

btw:
yes work on A2DP general support ( SBC decoding and other Stream decoding's ) and would be nice If we have SBC decoding as additional decoder have available -

good work on it mike - with menuconfig - and all is configable light
now :)

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 » Wed Apr 19, 2017 8:26 pm

rudi ;-) wrote: good work on it mike - with menuconfig - and all is configable light
now :)
Not sure if you noticed this, but since I saw you editing the wifi config directly in source code - you can set the credentials in menuconfig as well using the "Wifi Configuration" menu.

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

Re: ESP32 Webradio

Postby rudi ;-) » Wed Apr 19, 2017 8:59 pm

BuddyCasino wrote:
rudi ;-) wrote: good work on it mike - with menuconfig - and all is configable light
now :)
Not sure if you noticed this, but since I saw you editing the wifi config directly in source code - you can set the credentials in menuconfig as well using the "Wifi Configuration" menu.
yeap - cause i do not cut the live video ( want show this in the playerconfig.h ;-) but had "Stage Fright" in this moment ;-) )
this is in the video text:
in the video pos
https://youtu.be/XGwcBt2DSs0?t=341

is shown the config for SSID and PASSWD
this is only for the video compulsory

you can set this in menuconfig
https://youtu.be/XGwcBt2DSs0?t=221


or if you not use the menuconfig setup
you can set this in playerconfig.h directly.
https://github.com/MrBuddyCasino/ESP32_ ... onfig.h#L6
best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

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

Re: ESP32 Webradio

Postby rudi ;-) » Wed Apr 19, 2017 9:50 pm

BuddyCasino wrote:
Not sure if you noticed this, but ....
btw noticed...
It is online and I have not noticed it yet ...So a coincidence but also :)

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

User avatar
supersat
Posts: 10
Joined: Tue Apr 11, 2017 10:17 pm

Re: ESP32 Webradio

Postby supersat » Wed Apr 19, 2017 11:08 pm

I need to do a bit more investigating, but it seems like using the internal DAC mode only outputs mono audio. I have a separate project which synthesizes audio samples, and if I only send audio to the left channel, I hear silence, and if I only send audio to the right channel, I hear both channels. Has anyone else seen this behavior? Any ideas what's wrong?

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

Re: ESP32 Webradio

Postby BuddyCasino » Thu Apr 20, 2017 7:34 am

I only got a mono output hooked up, so I never noticed. Kinda assumed that audio on both DAC pins meant things were working as they should.
@Espressif: any idea?

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

Re: ESP32 Webradio

Postby rudi ;-) » Tue May 02, 2017 2:13 am

@mike
just in time tested with I2S,
am happy with the DAC PCM5102A
and it is cheap, very cheap. PA and DSP comes this days .. will update the things here next week,
cause we are in vacation this week.
txs

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

Who is online

Users browsing this forum: No registered users and 7 guests