Using the excellent MIDI Mapping tutorial By Matthew Regan, I was able to map my Akai MIDI MIX to the MIDI Map and have all the buttons and sliders responsive and saved into a custom .tox file
My goal is to control video projection interactively.
I loaded in a pair of videos for each of the 8 slider channels and connected them with a cross (fade)TOP
Then I took the MIDI MAP into a math CHOP so I could divide into 8 channels and specify the range from 1-127
I then connected each slider and a null - the programming remained accurate when checked with the Midi IN
Next I locked the Null and Attempted to connect the Null DATA from each slider to the Cross (fade) Top Cross control
I dragged the arrow from the null and set it to the relative path
op(‘null2’)[‘ch2n16’] is the read out,after the connection from slider 1 - but ch2ctrl20 is the actual value I viewed there.
Oddly op(‘null6’)[‘ch2ctrl20’] is the value displayed in Cross 5 - It works with Slider 1 but is linked to slider 5 ch2ctrl5
The system works, but I am leaving out a step or something else is affecting the programming result.
I have a great deal of experience with MIDI programming. This is my first Touch Designer project
I checked the Device Mapping to make sure my custom map was still active - check
Under Devices the sliders and buttons were still showing the same read out check
Over in MIDI In each slider code showed a clear response
Data cables showed communication -maybe a clue that all the cables show communication on each slider?
When I manually entered ch2ctrl20 in the Cross data field I received a red error
I am planning to do a lot of MIDI control programming this week to get 2 sets of 8 buttons, and 8 sliders to work properly.
It is essential that the careful MIDI map can be transferred to the CHOP without errors.
Perhaps my error was using the math as a router for all the sliders?
Thank you for solving my issue. I sincerely hope it is something really simple.
.