Mozzi  version v2.0
sound synthesis library for Arduino
Skeleton_Multi_Unit2.cpp
1 #include <MozziHeadersOnly.h> // <Mozzi.h> should be included only once in the whole program. Sketches needing
2  // core Mozzi functions in more than one .cpp file, shall include MozziHeadersOnly.h
3  // in all but one.
4 
5 AudioOutput_t updateAudio() {
6  return MonoOutput::from8Bit(0); // just a dummy
7 }
This file provides declarations of the Mozzi Core Functions Mozzi functions, but no implementation.
AudioOutput_t updateAudio()
This is where you put your audio code.
static MonoOutput from8Bit(int16_t l)
Construct an audio frame from a zero-centered value known to be in the 8 bit range.
Definition: AudioOutput.h:137