Mozzi  version v1.1.0
sound synthesis library for Arduino
AudioConfigTeensy4.h
1 #ifndef AUDIOCONFIGTEENSY4_H
2 #define AUDIOCONFIGTEENSY4_H
3 
4 #warning If you get a compilation error you should probably update Teensyduino to its latest version
5 
6 /** @ingroup core
7 */
8 /* Used internally to put the 0-biased generated audio into the centre of the output range (10 bits on Teensy 4 using PWM) */
9 #define AUDIO_BIAS ((uint16_t) 512)
10 #define AUDIO_BITS 10
11 
12 #define AUDIO_CHANNEL_1_PIN A8
13 #define AUDIO_CHANNEL_2_PIN A9
14 
15 
16 #endif // #ifndef AUDIOCONFIGTEENSY4_H