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
}
MozziHeadersOnly.h
This file provides declarations of the Mozzi Core Functions Mozzi functions, but no implementation.
updateAudio
AudioOutput_t updateAudio()
This is where you put your audio code.
Definition:
Skeleton_Multi_Unit2.cpp:5
MonoOutput::from8Bit
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
Generated automatically using Doxygen. If info on this page is outdated, incomplete, or wrong, please open an issue at https://github.com/sensorium/Mozzi/issues