mannyteensy
Member
Hi all.
I am getting my feet wet and got wet.
I am trying this first attempt to get a sound.
#include <MIDI.h>
void setup() {
// put your setup code here, to run once:
MIDI.begin(MIDI_CHANNEL_OMNI); // Listen to all incoming messages
/////begin(); I tried this instead of the pervious cmd and it wont work either
}
void loop() {
// put your main code here, to run repeatedly:
// Send note 42 with velocity 127 on channel 1
MIDI.sendNoteOn(42, 127, 1);
// Read incoming messages
MIDI.read();
}
MIDI.h is not found and I dont know where to get it.
I was told begin(); is a switch to turn on the midi communication. I am using a teensy4.1 a host cable and a compliant wind controller.
Please advise.
Thanks
I am getting my feet wet and got wet.
I am trying this first attempt to get a sound.
#include <MIDI.h>
void setup() {
// put your setup code here, to run once:
MIDI.begin(MIDI_CHANNEL_OMNI); // Listen to all incoming messages
/////begin(); I tried this instead of the pervious cmd and it wont work either
}
void loop() {
// put your main code here, to run repeatedly:
// Send note 42 with velocity 127 on channel 1
MIDI.sendNoteOn(42, 127, 1);
// Read incoming messages
MIDI.read();
}
MIDI.h is not found and I dont know where to get it.
I was told begin(); is a switch to turn on the midi communication. I am using a teensy4.1 a host cable and a compliant wind controller.
Please advise.
Thanks