Code Monkey home page Code Monkey logo

Comments (2)

tfry-git avatar tfry-git commented on July 4, 2024

Good idea, indeed!

Breaking all STANDARD_PLUS sketches would seem a rather heavy collateral to me. But perhaps you can make it so that

  • including one of the "mode" header, explicitly, becomes documented best practice
  • if no audio header has been included, Mozzi will default to "standard_plus.h" with a warning

Does this work for AUDIO_RATE, too? Can you set the two independently using a define near the top of your sketch?

from mozzi.

sensorium avatar sensorium commented on July 4, 2024

After testing, it didn't work after all - the #defines included at sketch level don't work in the source files, even if included above the sources in the sketch. It looked like it was working, until I listened to audio output.
I reckon I went through this years ago, and just forgot.

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.