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
|
// 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();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user