#define RUN_MIDI_TEST // Uncomment this line to run a MIDI test. You must connect a MIDI cable as a loopback between the MIDI input and output jacks.
//#define RUN_MIDI_TEST // Uncomment this line to run a MIDI test. You must connect a MIDI cable as a loopback between the MIDI input and output jacks.
#define RUN_MEMO_TEST // Uncomment this line if you purchased the option SPI RAM.
//#define RUN_MEMO_TEST // Uncomment this line if you purchased the option SPI RAM.
#define RUN_EXP_TEST // Uncomment if you purchased the Expansion Control Board
//#define RUN_EXP_TEST // Uncomment if you purchased the Expansion Control Board
#include<Audio.h>
#include<Audio.h>
#include"BALibrary.h"
#include"BALibrary.h"
@ -101,7 +100,10 @@ void setup() {
AudioMemory(64);
AudioMemory(64);
codec.enable();
codec.enable();
codec.setHeadphoneVolume(0.8f);// Set headphone volume
codec.setHeadphoneVolume(0.8f);// Set headphone volume
#if defined(RUN_EXP_TEST)
configPhysicalControls(controls,codec);
configPhysicalControls(controls,codec);
Serial.println("Now monitoring for input from Expansion Control Board");
#endif
// Run the initial Midi connectivity and SPI memory tests.
// Run the initial Midi connectivity and SPI memory tests.