Arduino Forum

Using Arduino => Audio => Topic started by: westrose on Apr 01, 2020, 03:07 am

Title: Help with Mozzi library
Post by: westrose on Apr 01, 2020, 03:07 am
I have been playing around with the Mozzi library on a Arduino Nano. When making a four step sequencer I can use the mozziAnalogRead command to change the frequency of each step, but the problem is I would like to use another pot for the tempo of the sequencer. It seems like this library does not use the standard delay type command because it will interrupt the audio. I am new to Mozzi library but not to Arduino. Any help is appreciated. I can post the code if need be.

Thank you
Title: Re: Help with Mozzi library
Post by: MarkT on Apr 01, 2020, 11:58 am
Have you seen and understood the BlinkWithoutDelay example sketch?

Also if you read the Mozzi documentation you'll see there's an EventDelay() mechanism to
help with scheduling.