Mozzi
version v2.0
sound synthesis library for Arduino
config_example_external.h
1
/* Configuration example
2
3
Configure Mozzi for "external" audio output. You will need to provide an audioOutput() function in your sketch.
4
5
See TODO: link to relevant tutorial
6
*/
7
8
#include "
MozziConfigValues.h
"
// for named option values
9
10
#define MOZZI_AUDIO_MODE MOZZI_OUTPUT_EXTERNAL_TIMED
11
// or use this:
12
//#define MOZZI_AUDIO_MODE MOZZI_OUTPUT_EXTERNAL_CUSTOM
13
14
//#define MOZZI_AUDIO_RATE 32768 // the default, in this mode
15
//#define MOZZI_AUDIO_BITS 16 // the default in this mode, but e.g. when connecting to a 24-bit DAC, you'd set 24, here.
MozziConfigValues.h
This file keeps a list of named configuration values.
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