kgoncharuk
Member
Hi everyone, need you help with my simple MIDI setup.
I'm trying to send midi notes (and potentially clock) from Teensy LC to TX port using the schematics from https://www.pjrc.com/teensy/td_libs_MIDI.html but without midi in, so basically:
That's how it looks on the board:
But midi devices are not getting any input. Also tried with USB to midi interface (by connecting MIDI OUT from teensy to the interface and monitoring the input on the laptop), but it doesn't recognise any input as well.
Here's the program itself:
What is also strange that my Usb to Midi interface doesn't seam to "detect" the input -- it has two leds that blinks when it receives incoming MIDI or sends outgoing, but it doesn't seam to be triggered when connected to teensy.
Is there anything wrong in my setup?
Thanks in advance.
I'm trying to send midi notes (and potentially clock) from Teensy LC to TX port using the schematics from https://www.pjrc.com/teensy/td_libs_MIDI.html but without midi in, so basically:
That's how it looks on the board:
But midi devices are not getting any input. Also tried with USB to midi interface (by connecting MIDI OUT from teensy to the interface and monitoring the input on the laptop), but it doesn't recognise any input as well.
Here's the program itself:
Code:
#include <MIDI.h>
int led = 13;
MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI);
const int channel = 1;
void setup() {
pinMode(led, OUTPUT);
MIDI.begin(MIDI_CHANNEL_OMNI);
Serial1.setTX(1);
}
void loop() {
int note;
for (note=10; note <= 127; note++) {
Serial.println(note);
digitalWrite(led, HIGH);
MIDI.sendNoteOn(note, 100, channel);
delay(1000);
MIDI.sendNoteOff(note, 0, channel);
digitalWrite(led, LOW);
delay(1000);
}
delay(2000);
}
What is also strange that my Usb to Midi interface doesn't seam to "detect" the input -- it has two leds that blinks when it receives incoming MIDI or sends outgoing, but it doesn't seam to be triggered when connected to teensy.
Is there anything wrong in my setup?
Thanks in advance.