#include <MIDIReader.h>
#include <MIDIPlayer.h>
#include "music.h"
MIDIPlayerSoft p(2);
MIDIPlayer* nema17_arr[] = {
new MIDIPlayerSoft(2),
new MIDIPlayerSoft(3),
new MIDIPlayerSoft(4),
new MIDIPlayerSoft(5),
new MIDIPlayerSoft(6),
new MIDIPlayerSoft(7),
new MIDIPlayerSoft(8),
new MIDIPlayerSoft(9),
};
const uint8_t nema17_len = sizeof(nema17_arr) / sizeof(nema17_arr[0]);
MIDIPlayerMulti nema17(nema17_arr, nema17_len);
MIDIReader r(&nema17, doom_e1m1, sizeof(doom_e1m1) / sizeof(doom_e1m1[1]));
void setup() {
// put your setup code here, to run once:
r.start();
}
void loop() {
// put your main code here, to run repeatedly:
r.tick();
}