| Mozzi version v1.1.0 sound synthesis library for Arduino |

AudioConfigExternalDAC.h
1 #ifndef AUDIOCONFIGEXTERNALDAC_H
2 #define AUDIOCONFIGEXTERNALDAC_H
3
4 /**
5 Config file in order to use Mozzi with a true DAC MCP49XX.
6 In order to use this, you will the MCP49XX library that can be found here:
7 https://github.com/exscape/electronics/tree/master/Arduino/Libraries/DAC_MCP49xx written by Thomas Backman.
8 As PortWrite is enabled in order to gain speed, use Pin10 for CS SPI pin.
9 The type of DAC can be changed in the constructor, beware to adapt the AUDIO_BIAS to the number of bits you are using.
10 */
11
12
13 #include <DAC_MCP49xx.h>
14 #include <SPI.h>
15 #define AUDIO_BIAS 2048 //we are using 12bits
16
17 #endif