Mozzi
version v1.1.0
sound synthesis library for Arduino
AudioConfigSAMD21.h
1
#
ifndef
AUDIOCONFIGSAMD21_H
2
#
define
AUDIOCONFIGSAMD21_H
3
4
/* Note: SAMD21 has 12 bits ADC, but only 10 bits DAC. See https://github.com/sensorium/Mozzi/issues/75 */
5
#
define
AUDIO_BITS
10
6
7
/** @ingroup core
8
*/
9
/* Used internally to put the 0-biased generated audio into the centre of the output range (10 bits) */
10
#
define
AUDIO_BIAS
(
(
uint16_t
)
1
<<
(
AUDIO_BITS
-
1
)
)
11
12
#
define
AUDIO_CHANNEL_1_PIN
DAC0
13
14
#
endif
// #ifndef AUDIOCONFIGSAMD21_H
AUDIO_BITS
#define AUDIO_BITS
Definition:
MozziGuts.h:228
AudioConfigSAMD21.h
Generated on Thu Mar 16 2023 14:01:35 for Mozzi by
1.8.14