firmware icon indicating copy to clipboard operation
firmware copied to clipboard

Audio only works after using other firmware first.

Open caturine1312 opened this issue 1 year ago • 9 comments

Describe the bug: Audios do not play unless I install an mp3 player firmware first. and the reinstall Bruce.

Steps To Reproduce: Install and/or boot Bruce. Try playing an audio / running dtmf.js. (No audio)

Install any mp3 player firmware. Install Bruce firmware afterwards. Try playing an audio / running dtmf.js. (Audio works fine until next shutdown and reboot)

Expected behavior: Audios play whenever I boot Bruce. Bruce firmware shouldn't be affected by other firmware being installed.

Actual behavior: Audio only works when using bruce right after an mp3player had been installed previously and only works once even then. After next shutdown and reboot playing audio files results in silence again.

Additional context / logs: I'm using launcher to install the firmwares. I also tried placing the audio file in different places like "root", "folder" or in "LittleFS". The outcome is always the same.

caturine1312 avatar Dec 05 '25 23:12 caturine1312

Bruce audio doesn't work on Cardputer ADV yet

bmorcelli avatar Dec 05 '25 23:12 bmorcelli

Bruce audio doesn't work on Cardputer ADV yet

I see, thanks for letting me know, but weirdly it does the way I described. You should be able to reproduce it. I can send you a video otherwise. I'm curious as to why it works that way. Should different firmwares affect each other in this way and how do they? After all the ESP32 is fully flashed with a new firmware, right?

caturine1312 avatar Dec 05 '25 23:12 caturine1312

I need to spend some time to make the ES8311 codec interface work on bruce..

The libraries I've seen didn't work until now..

I hope I make it work in a few weeks

bmorcelli avatar Dec 05 '25 23:12 bmorcelli

I need to spend some time to make the ES8311 codec interface work on bruce..

The libraries I've seen didn't work until now..

I hope I make it work in a few weeks

Thanks Pirata. Don't stress about it, I appreciate the great work you're doing. No pressure! I just thought it was a curious phenomenon and was wondering how that's possible.

caturine1312 avatar Dec 06 '25 00:12 caturine1312

And it is indeed! I am surprised that it worked 😅

bmorcelli avatar Dec 06 '25 00:12 bmorcelli

Enabled sound and microphone on Cardputer ADV!

Available to test on beta in about 30 minutes

bmorcelli avatar Dec 09 '25 09:12 bmorcelli

Enabled sound and microphone on Cardputer ADV!

Available to test on beta in about 30 minutes

Holy shit Pirata you're the best! Thank you so much. Didn't expect such a fast reaction/fix.

caturine1312 avatar Dec 09 '25 09:12 caturine1312

Tested and both dmtf.js and mp3 files worked perfectly. You're awesome man!

caturine1312 avatar Dec 09 '25 09:12 caturine1312

Released 1.13 with fixes.

bmorcelli avatar Dec 24 '25 22:12 bmorcelli