Mozzi  version v2.0
sound synthesis library for Arduino
config_example_avr_stereo.h
1 /* Configuration example
2 
3 This example is targetted at the AVR platform (Arduino Uno & friends), only!
4 
5 This example shows setting up stereo mode on AVR. */
6 
7 #include "MozziConfigValues.h" // for named option values
8 
9 #define MOZZI_AUDIO_CHANNELS MOZZI_STEREO
10 
11 // should you wish to customize the output pins:
12 //#define AUDIO_AUDIO_PIN_1 TIMER1_A_PIN
13 //#define MOZZI_AUDIO_PIN_1_REGISTER OCR1A // must also specify the hardware register responsible for this pin
14 //#define AUDIO_AUDIO_PIN_2 TIMER1_B_PIN
15 //#define MOZZI_AUDIO_PIN_2_REGISTER OCR1B // must also specify the hardware register responsible for this pin