Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with streaming mp3 #5

Open
ithinkcode opened this issue Oct 16, 2019 · 3 comments
Open

Issue with streaming mp3 #5

ithinkcode opened this issue Oct 16, 2019 · 3 comments

Comments

@ithinkcode
Copy link

ithinkcode commented Oct 16, 2019

Hi first of all awesome project! Been trying this out today and while RTTTL works great I have an issue trying to stream mp3.

Command used

{mp3:'http://www.universal-soundbank.com/sounds/21763.mp3',oncegain:0.1}

The player does not play and I get the following error in the serial logs. Anything I am doing wrong ?

{"mp3":"http://www.universal-soundbank.com/sounds/21763.mp3","oncegain":0.1}

Free heap: 33680
**MP3 stream: http://www.universal-soundbank.com/sounds/21763.mp3

Exception (29):
epc1=0x4022403f epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000004 depc=0x00000000

ctx: sys
sp: 3ffffd90 end: 3fffffb0 offset: 01a0

stack>>>
3fffff30: 00000008 3fff19fc 3ffed9b0 40224034
3fffff40: 3ffed9b0 402287ec 3ffed9b0 3ffebac8
3fffff50: 3ffebac8 000005e2 00000000 0000002f
3fffff60: 00000002 0000001a 402322f7 3ffed9b0
3fffff70: 3ffebabc 3fffdcc0 3ffe9f70 3ffe9f70
3fffff80: 00000080 3ffed9b0 00000002 3ffefe40
3fffff90: 40231bd3 3fffdab0 00000000 40216773
3fffffa0: 3ffe9f70 40000f49 3fffdab0 40000f49
<<<stack<<<

ets Jan 8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld

ets Jan 8 2013,rst cause:4, boot mode:(3,7)

Any help is appreciated.

@CosmicMac
Copy link
Owner

Hi,
Try {"mp3":"http://www.universal-soundbank.com/sounds/7340.mp3","oncegain":"0.1"} (all keys and values surrounded with double quotes).
If it does not work, you should consider using me-no-dev exception decoder to get more clues.

@momo90-2
Copy link
Contributor

I solved jittering by using [email protected]. Maybe it helps for your problem too

@Gifford47
Copy link

Gifford47 commented Oct 28, 2022

@CosmicMac i have also problems to get a mp3 stream running. everytime i get an exception like @ithinkcode . littlefs mp3 and other is fine!
do you have any help for me? i have also tried latest ESP8266Audio. it is something with the buffer i think...
i also have some restarts after a while (without doing anything in between)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants