-
Notifications
You must be signed in to change notification settings - Fork 186
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
Comments
Hi. Do you know how to make it work with ESP32? Or maybe a similar library with ESP32 support? |
Has anyone made progress on this? Thanks. |
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. |
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? |
Hello. I ported Mozzi to Arduino Due with a very good result. It was really easy. |
looks like another angle https://github.com/bitluni/ULPSoundESP32 |
Maybe he needs that for his application (I didn't watch the video) but I
have a hard time believing that sending audio to the DAC via DMA (the usual
way on ESP32) isn't the right answer. There's not that much needed for an
audio driver... basically you need to set up the I2S and then fill a ring
buffer with the audio samples. The samples in the ring buffer can be sent
to the DAC in the background, clocked by the DAC itself.
…On Thu, Jun 20, 2019 at 3:53 PM tobozo ***@***.***> wrote:
looks like another angle https://github.com/bitluni/ULPSoundESP32
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#58?email_source=notifications&email_token=AAAITLWTA3M2RZWMISCETJ3P3ODWFA5CNFSM4F3UG5QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYFPK7Y#issuecomment-504034687>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAITLVLELLBUJVLACFSEJDP3ODWFANCNFSM4F3UG5QA>
.
|
I've only had acceptable sound using an external DAC or the ULP, the Tetris demo is very convincing |
Did anyone manage to do some progress on ESP32 support lately? |
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. |
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? |
Here you can find patched files to support ESP32 with a very good sound. I'm not using earlephilhower code. |
ESP32 is now supported in the main lib with several output modes. |
Thanks for the ESP8266 Support but the ESP32 is better in every manner.
The text was updated successfully, but these errors were encountered: