Code Monkey home page Code Monkey logo

Comments (13)

zircothc avatar zircothc commented on August 26, 2024 5

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

from mozzi.

tfry-git avatar tfry-git commented on August 26, 2024 4

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

from mozzi.

zircothc avatar zircothc commented on August 26, 2024 3

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

from mozzi.

mangtronix avatar mangtronix commented on August 26, 2024 1

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.

from mozzi.

wyan avatar wyan commented on August 26, 2024 1

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?

from mozzi.

joknjokn avatar joknjokn commented on August 26, 2024

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.

from mozzi.

mangtronix avatar mangtronix commented on August 26, 2024

Has anyone made progress on this? Thanks.

from mozzi.

tfry-git avatar tfry-git commented on August 26, 2024

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.

from mozzi.

mangtronix avatar mangtronix commented on August 26, 2024

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?

from mozzi.

tobozo avatar tobozo commented on August 26, 2024

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

from mozzi.

mangtronix avatar mangtronix commented on August 26, 2024

from mozzi.

tobozo avatar tobozo commented on August 26, 2024

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

from mozzi.

wyan avatar wyan commented on August 26, 2024

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

from mozzi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.