Skip to content

Commit 0bb3e41

Browse files
committed
vs1053 midi
1 parent 0593fb8 commit 0bb3e41

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/examples-vs1053/streams-midi-vs1053/streams-midi-vs1053.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414

1515
VS1053Stream vs1053; // final output
16-
MidiStreamOut out(vs1053);
1716
uint16_t note = 65; // 0 to 128
1817
uint16_t amplitude = 128; // 0 to 128
1918
int channel = 0;
@@ -50,9 +49,9 @@ void loop() {
5049
Serial.print("playing ");
5150
Serial.println(++note);
5251

53-
out.noteOn(channel, note, amplitude );
52+
noteOn(channel, note, amplitude );
5453
delay(900);
55-
out.noteOff(channel, note, 20 );
54+
noteOff(channel, note, 20 );
5655
delay(200);
5756
if (note>=90) {
5857
note = 64;

0 commit comments

Comments
 (0)