Mozzi
version v2.0
sound synthesis library for Arduino
config_example_avr_legacy_standardplus_mode.h
1
/* Configuration example
2
3
This example is targetted at the AVR platform (Arduino Uno & friends), only!
4
5
The configuration formerly known as STANDARD_PLUS is still the default on AVR, so you
6
do not need to configure anything! This file just lists the relevant settings involved: */
7
8
#include "
MozziConfigValues.h
"
// for named option values
9
10
// all of these are the defaults on AVR, anyway, thus commented
11
//#define MOZZI_AUDIO_MODE MOZZI_OUTPUT_MODE_PWM
12
//#define MOZZI_AUDIO_RATE 16384
13
//#define MOZZI_PWM_RATE 32768
14
15
16
// should you wish to customize the output pin:
17
//#define AUDIO_AUDIO_PIN_1 TIMER1_A_PIN
18
//#define MOZZI_AUDIO_PIN_1_REGISTER OCR1A // must also specify the hardware register responsible for this pin
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