We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0593fb8 commit 0bb3e41Copy full SHA for 0bb3e41
examples/examples-vs1053/streams-midi-vs1053/streams-midi-vs1053.ino
@@ -13,7 +13,6 @@
13
14
15
VS1053Stream vs1053; // final output
16
-MidiStreamOut out(vs1053);
17
uint16_t note = 65; // 0 to 128
18
uint16_t amplitude = 128; // 0 to 128
19
int channel = 0;
@@ -50,9 +49,9 @@ void loop() {
50
49
Serial.print("playing ");
51
Serial.println(++note);
52
53
- out.noteOn(channel, note, amplitude );
+ noteOn(channel, note, amplitude );
54
delay(900);
55
- out.noteOff(channel, note, 20 );
+ noteOff(channel, note, 20 );
56
delay(200);
57
if (note>=90) {
58
note = 64;
0 commit comments