OSC-ing midi notes from Ableton Live
in
Integration and Hardware
•
11 months ago
Hello,
I am attempting to create visualisations of my music in real time by sending midi data from Ableton Live to Processing via OSC. Receiving this data in Processing has been quite easy, but here's my problem...
With any midi note triggered there is a note-on and note-off message sent as the key is pressed and released, Processing receiving 2 OSC messages per note pressed. I would like to have an object appear and disappear with each note and I have tried to make this happen using an array of note objects built from a note class without success.
I think that what I need to do is identify each OSC message received and if it's the first of it's kind, add an object based on this message - and if it is the second, remove the object this message corresponds to.
Any advice on this would be greatly appreciated,
Adam
1