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

ESP32 support #58

Closed
JacobErnst98 opened this issue Oct 15, 2018 · 13 comments
Closed

ESP32 support #58

JacobErnst98 opened this issue Oct 15, 2018 · 13 comments

Comments

@JacobErnst98
Copy link

Thanks for the ESP8266 Support but the ESP32 is better in every manner.

@joknjokn
Copy link

joknjokn commented Dec 5, 2018

Hi. Do you know how to make it work with ESP32? Or maybe a similar library with ESP32 support?
And I agree. ESP32 is dual core and more, so it would be so great to have support for this.

@mangtronix
Copy link

Has anyone made progress on this? Thanks.

@tfry-git
Copy link
Collaborator

tfry-git commented Apr 6, 2019

Dear folks. Support for new architectures depends on someone working with those architectures to care enough to invest somewhere between 10 and 20 hours of work. Personally, I do own one ESP32, but I'm using it for a different project, and the ESP32 is a bit too expensive to have a couple, just in case. Yet more importantly, I do not have a personal use for Mozzi on ESP32, currently.

You can either: a) Try to do this yourself. It is not really all that hard. Since Mozzi has been ported to several different architectures, already, you should be able to figure out the basic steps, involved. One of the hardest parts is testing, actually. b) Offer a bounty for this, hoping somebody else will do the work for you.

@mangtronix
Copy link

I have basic sound output working on ESP32 using the ESP8266Audio library (https://github.com/earlephilhower/ESP8266Audio). That library is licensed GPL, so I believe it's not possible to integrate with Mozzi because the Mozzi Creative Commons license is not compatible. Is there any possibility of making Mozzi dual license with a GPL compatible license?

@zircothc
Copy link

Hello. I ported Mozzi to Arduino Due with a very good result. It was really easy.
Now I've ported Mozzi to ESP32 I2S DAC (PT8211) but audio output is a bit dirty.
May be timer issue. I'm very busy next days and cannot test it . If somebody want it, library patched files are in zip attached included DUE patch (DueTimer library needed to run).
Mozzi_ESP32_and_DUE_files.zip

@tobozo
Copy link

tobozo commented Jun 20, 2019

looks like another angle https://github.com/bitluni/ULPSoundESP32

@mangtronix
Copy link

mangtronix commented Jun 20, 2019 via email

@tobozo
Copy link

tobozo commented Jun 20, 2019

I've only had acceptable sound using an external DAC or the ULP, the Tetris demo is very convincing

@wyan
Copy link

wyan commented May 5, 2020

Did anyone manage to do some progress on ESP32 support lately?

@mangtronix
Copy link

I got sound output working using this library (https://github.com/earlephilhower/ESP8266Audio), but unfortunately the licenses are not compatible so I can't release the code. In the end it wasn't toooo hard... basically you just send the samples to the audio library and you can cut out a lot of the more esoteric Mozzi code.

@wyan
Copy link

wyan commented May 5, 2020

Thanks! I'm not as familiar with the internals of Mozzi as I'd like, so I'm not sure I follow you. Perhaps posting a code patch without merging it could be a way to respect both licences? That way it's the end user who's applying the patch and that's ok as long as they are not distributing the code or a product derived from it?

@zircothc
Copy link

zircothc commented May 6, 2020

Did anyone manage to do some progress on ESP32 support lately?

Here you can find patched files to support ESP32 with a very good sound. I'm not using earlephilhower code.
https://groups.google.com/forum/#!topic/mozzi-users/qw2nIkcVaZE

@tfry-git
Copy link
Collaborator

tfry-git commented Jan 8, 2021

ESP32 is now supported in the main lib with several output modes.

@tfry-git tfry-git closed this as completed Jan 8, 2021
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

7 participants