Triggering computer keys via MIDI controller.
Hey guys,
I am trying to take a patch a step further by implementing MIDI control.
Basically at the moment the colours of the rainbow and notes of the musical scale are split over the top two rows of the computer keyboard (12345... & QWERTY...). When each corresponding key pressed a point in the colour spectrum is displayed and a accompanying point in the musical scale (note) is heard.
The patch is already quite complex (at least for my level of n00byness) so I was hoping someone could talk me through how to map a particular computer key (and the attributes already assigned to it) to a particular key on my on my MIDI controller so I can trigger the events externally...I'm a bit baffled so cheers for the help.
Firstly I would recommend looking at the [coll] object as a possible replacement for all those [select] objects hooked up to message boxes. It would massively simplify your patch. To grab the incoming MIDI date you can use [notein] and then use the same method to trigger the colours.
Thanks for the reply,
Is it possible to use [notein] to trigger the events mapped to the computer keyboard keys without having to reconfigure the patch? If so, how?
I've never integrated MIDI into my workflow before so if you could give any more insight, that'd be great.
Here's an example. You can always map the MIDI keyboard input to have a different output using a second [coll] object if you want to force a certain scale.