MOZZI

sound synthesis library for Arduino

Examples

These are the example sketches that come with Mozzi, and the sounds they make. They’re intended to be instructive, rather than musically interesting…

01.Basics : how to make a sound and simple modifications like gain.
02.Control : changing sound parameters, scheduling, pausing.
03.Sensors : using various sensors to change sounds.
04.Audio Input : sample incoming sound at audio rate.
05.Control Filters : smoothing and other processing for sensor inputs.
06.Synthesis : for more versatile and detailed sounds.
07.Envelopes : give sounds changing dynamics.
08.Samples : play recorded sounds in various ways.
09.Delays : for effects like flanging or reverb.
10.Audio Filters : modify audio frequencies.
11.Communication : non-blocking communication with external devices.
12.Misc : other useful things.


Control_Gain


Sinewave


Sinewave_HIFI


Skeleton

…(no recording of this one)


Table_Resolution


Vibrato



Control_Echo_Theremin


Control_Oscil_Wash


Control_Tremelo


EventDelay


Line_Gliss


Line_Gliss_Double_32k_HIFI


Metronome_SampleHuffman


Pause



Knob_LDR_x2_WavePacket


Knob_LightLevel_FMsynth


Knob_LightLevel_x2_FMsynth


Light_Temperature_Detuned


Light_Temperature_Multi_Oscil


Piezo_Frequency


Piezo_SampleScrubber


Piezo_SampleTrigger


Piezo_Switch_Pitch


RCpoll


Sinewave_Pinchange_Interrupt


Volume_Knob


Volume_Knob_LightLevel_Frequency



Audio_Input

…(no recording of this one)


Audio_Input_with_Knob_Filter


Audio_and_Control_Input

…(no recording of this one)



DCfilter

…(no recording of this one)


Line_vs_Smooth


MIDI_portamento


RollingAverage


Smooth


Smooth_Frequency


Thermistor_OverSample



AMsynth


AMsynth_HIFI


Detuned_Beats_Wash


FMsynth


FMsynth_32k_HIFI


PDresonant


PWM_Phasing


WavePacket_Double


WavePacket_Sample


WavePacket_Single


Waveshaper


Waveshaper_Difference_Tone



ADSR_Audio_Rate_Envelope


ADSR_Audio_Rate_Envelope_x2


ADSR_Control_Rate_Envelope


Ead_Envelope


Phasemod_Envelope



Sample


SampleHuffman_Umpah


Sample_Loop_Points


Sample_Scrub


Samples


Samples_Tables_Arrays


Wavetable_Swap



AudioDelay


AudioDelayFeedback


AudioDelayFeedbackAllpass


AudioDelayFeedbackX2


AudioDelayFeedback_HIFI


ReverbTank_STANDARD



LowPassFilter


LowPassFilterX2


StateVariableFilter


StateVariableFilter_HIFI



Mozzi_MIDI_Input

…(no recording of this one)