Hey everybody!
I am currently working on a midi controller using a teensy 3.1 as teensyduino an accelerometer, an infrared sensors and different LEDs that I want to have light up simultaneously with the midi message coming from ableton live. I have installed a midi send channel in live and am already successfully reading midi messages with the USB.midi PrintIncoming example from the library:
This seems to work so far, however, is it possible to directly access the click function (the metronome) in ableton?
and to change the bpm variable through the teensy?
i already tried out this: http://little-scale.blogspot.de/2011/08/how-to-deal-with-real-time-midi-beat.html
but so far I have not managed to get it to work..
Is there an updated midi-library for the teensy, which includes a direct midi clock connection?
thank you in advance, all the best!
I am currently working on a midi controller using a teensy 3.1 as teensyduino an accelerometer, an infrared sensors and different LEDs that I want to have light up simultaneously with the midi message coming from ableton live. I have installed a midi send channel in live and am already successfully reading midi messages with the USB.midi PrintIncoming example from the library:
Code:
int ledPin = 13;
void OnNoteOn(byte channel, byte note, byte velocity)
{digitalWrite(ledPin, HIGH);}
void OnNoteOff(byte channel, byte note, byte velocity)
{digitalWrite(ledPin, LOW);}
void setup()
{
pinMode(ledPin, OUTPUT);
usbMIDI.setHandleNoteOff(OnNoteOff);
usbMIDI.setHandleNoteOn(OnNoteOn) ;
digitalWrite(ledPin, HIGH);
digitalWrite(ledPin, LOW);
}
void loop()
{
usbMIDI.read();
}
This seems to work so far, however, is it possible to directly access the click function (the metronome) in ableton?
and to change the bpm variable through the teensy?
i already tried out this: http://little-scale.blogspot.de/2011/08/how-to-deal-with-real-time-midi-beat.html
but so far I have not managed to get it to work..
Is there an updated midi-library for the teensy, which includes a direct midi clock connection?
thank you in advance, all the best!