-->
Page 26 of 27

Re: Demo: I2S sound output and MP3 decoding in an ESP8266

PostPosted: Thu Apr 07, 2016 2:44 pm
by pali52
Well, I'm sad and not sad. I got a good enough quality sound by PWM, but I can not get i2s. I made an I2S DAC with PCM1510 which works very good with Raspberry Pi, but it does not work with ESP. I tried with ESP12, ESP7, but the problem is the same: good sound with PWM, nothing with I2S.
I think, I make wrong something in the playerconfig.h file, but I tried a lot of variations.
Is there anybody who can tell, what should I do?

Re: Demo: I2S sound output and MP3 decoding in an ESP8266

PostPosted: Mon Apr 11, 2016 10:42 am
by Cicero
Damn, this is cool!

Thanks for your work Sprite.

Re: Demo: I2S sound output and MP3 decoding in an ESP8266

PostPosted: Sat May 14, 2016 4:34 pm
by Ovaltineo
pali52 wrote:Well, I'm sad and not sad. I got a good enough quality sound by PWM, but I can not get i2s. I made an I2S DAC with PCM1510 which works very good with Raspberry Pi, but it does not work with ESP. I tried with ESP12, ESP7, but the problem is the same: good sound with PWM, nothing with I2S.
I think, I make wrong something in the playerconfig.h file, but I tried a lot of variations.
Is there anybody who can tell, what should I do?


I had the same problem with PCM5102. The fix is easy :D :D :D - delete or comment out the following in playerconfig.h:
Code: Select all#define ALLOW_VARY_SAMPLE_BITS


The ES9023 allows variable bit lengths (e.g. 17 bits), whereas other DACs only support 16,24, and 32 bits.

Re: Demo: I2S sound output and MP3 decoding in an ESP8266

PostPosted: Thu May 19, 2016 2:14 am
by Poli4
Hello, I am using the TDA1543 and the sound gets terribly distorted and fuzzy. R / C works ok. Maybe some hints or compiled program for testing. m.perkowski@o2.pl