Mozzi  version v2.0
sound synthesis library for Arduino
config_example_avr_legacy_standard_mode.h
1 /* Configuration example
2 
3 This example is targetted at the AVR platform (Arduino Uno & friends), only!
4 
5 Set configuration options according to the mode that was formerly known as "STANDARD" (not STANDARD_PLUS). */
6 
7 #include "MozziConfigValues.h" // for named option values
8 
9 #define MOZZI_AUDIO_MODE MOZZI_OUTPUT_MODE_PWM
10 #define MOZZI_AUDIO_RATE 16384
11 #define MOZZI_PWM_RATE 16384
12 
13 // should you wish to customize the output pin:
14 //#define AUDIO_AUDIO_PIN_1 TIMER1_A_PIN
15 //#define MOZZI_AUDIO_PIN_1_REGISTER OCR1A // must also specify the hardware register responsible for this pin