Updated _8_mid.ino

This commit is contained in:
Jakob Bak 2013-03-21 11:26:43 +01:00
parent 05fc0c94af
commit c10d2e5b0c
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -10,14 +10,18 @@
// The Music object is automatically instantiated when the header file is // The Music object is automatically instantiated when the header file is
// included. Make calls to the Music objects with "Music.function(args)". // included. Make calls to the Music objects with "Music.function(args)".
// You still need to call Music.init() in the setup() function below. // You still need to call Music.init() in the setup() function below.
#define NUM_OSCILLATORS 3
#define BIT_DEPTH 8
#define MIDI
#define MIDI_CHANNEL 1
#include <Music.h> #include <Music.h>
void setup() { void setup() {
// We initialise the sound engine by calling Music.init() which outputs a tone // We initialise the sound engine by calling Music.init() which outputs a tone
Music.init(); Music.init();
Midi.init();
Music.enableEnvelope(); Music.enableEnvelope();
Midi.init();
} }