Updated _8_mid.ino
This commit is contained in:
parent
05fc0c94af
commit
c10d2e5b0c
BIN
hardware/datasheets/A1301-2-Datasheet.pdf
Normal file
BIN
hardware/datasheets/A1301-2-Datasheet.pdf
Normal file
Binary file not shown.
@ -10,14 +10,18 @@
|
||||
// The Music object is automatically instantiated when the header file is
|
||||
// included. Make calls to the Music objects with "Music.function(args)".
|
||||
// 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>
|
||||
|
||||
void setup() {
|
||||
|
||||
// We initialise the sound engine by calling Music.init() which outputs a tone
|
||||
Music.init();
|
||||
Midi.init();
|
||||
Music.enableEnvelope();
|
||||
Midi.init();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user