We recommend using the MIDI Mapper Dialog, it is much easier to use and manage channels with. I’ll explain how to use the MIDI In CHOP, but first you must open the MIDI Mapper Dialog so you can see the incoming MIDI events. Select your step sequencer as the Input device and turn on the “In Events” tab at the top of the dialog so you will be monitoring in events.
Now you should be able to see both your CC and notes coming in.
If the CC and notes are being send in on separate MIDI channel numbers, then I’d recommend using separate MIDI In CHOPs for each channel.
Let go over the setup for Notes first.
Source tab
1- Set MIDI Source to your device.
2- Set MIDI Channels to whatever MIDI channel you see the notes coming into TouchDesigner on. In my case this was channel 1 (ch1).
Note tab
1- Determine the note range you need, lets say it is 30-40, put that in the Note Scope parameter. You will see these notes created as channels in the CHOP, you should now see channels ch1n30 thru to ch1n40.
2- In this default, you will only see 0 and 1 values as the notes go on and off. Change the Velocity parameter to Note Amplitude, now the channels will be a floating point number indicating the velocity, the range will be 0.0-1.0
That’s it for setting up notes. If CC values are on another MIDI channelm, create an new MIDI In CHOP to do just CC in events.
Control Change (CC)
Source tab
1- Set MIDI Source to your device.
2- Set MIDI Channels parameter to whatever MIDI channel you see the CC values coming into TouchDesigner on. In my case this was channel 3 (ch3).
Control tab
1- Leave Controller Type set to “by Index Only”
2- Determine the range of controllers that you need, lets say it is 80-100, put that in the Controller Index parameter. You see 20 channels created in the MIDI In CHOP named ch3c80 thru to ch3c100.
3- Moving your controllers will control the values of the channels you created, their range will be 0.0-1.0
Regarding exporting channels to triplet parameters such as transforms and rotates. If you want to export a channel to all 3 parameters in the triplet, drop the channel name on the parameter’s actual ‘name’ (ie, the label word “translate”). If you would like to export the channel to just one of the three, make sure the mouse is over the value field of just one of them when you release the mouse to drop.
To edit exports that you’ve created, go to the originalting CHOP, right0click and select CHOP Exporter from the menu. This dialog lets you inspect, add, remove, and swap exports.
Hope that helps. Give the MIDI Mapper Dialog another try if the MIDI In CHOP is still troublesome.