I am working on a 3d object that is being controlled by midi data in my DAW and need to control certain aspects such as the angle of rotation and the time it takes for that rotation to complete.
I have so far run into two problems that I need help resolving.
The first is that I am looking to find a way to have midi notes from my DAW select the rotation amount. I haven’t been able to figure this out! Not even sure the switch object is what I need here seeing as how it switches between chops rather than channels…
The second is I would like these completed rotation values to be stored and added to or subtracted to rather than using a bunch of trigger chops as I am doing now.
I am pretty new to all this but know that there must be a simple, elegant solution rather than patching in a bunch of triggers, selects and count chops! It’s very messy!
Any help or a point in the right direction would be seriously appreciated. Most of the wiki chop video tutorials (all of them maybe?) don’t seem to work in any of my browsers.
You might try a select instead of a switch. A select will allow you to choose a chop, a channel, both, a series of channels, a series of CHOPs, etc. They’re a magic operator once you get a handle on them. You might need to do a bit of scripting to make this work correctly, but it’s well worth it.
Speed CHOPS are probably part of what you’re after. They’ll continuously increment at the rate which you’re feeding them - positive values increase the speed, negative values decrease the speed.
Thanks for the reply! I’ll give it a look later on this evening. It’ll certainly things moving in adirection at least which is always a good start.
My impression with select chops are that they function more like filters than anything else though. As in, I’ve got a bunch of channels coming in from whatever and I only want to ‘select’ x amount of them. The only way I’ve found of using them so far has been to have one select chop select the specific midi note I want to use as a trigger from the stream and send that into its own trigger chop which then ‘bangs’ the value. I must be missing something right?
Anyways, thanks for the quick reply! I’ve got some more messing around to do.
The way you might use a select CHOP is to script the selected input.
If I have a number of rotation values that correspond to midi notes, I might use a CHOP or DAT execute to change the target for my select based on the midi note played. If note x changes from off to on, change the target for the select to y, etc.
A select will allow you to grab any CHOP and any Channel out of the selected CHOP from anywhere in your network. You can also select from multiple CHOPs. The select OPs are a serious powerhouse in Touch.
If you have some examples of your work that you can share it might be easier to help you trouble shoot this.
Ok, I will see what I can figure out on my own and then post up a .toe file illustrating the problems. I suspect there’s going to be a bunch of basic workflow issues to correct. For example, I really need to get a proper grasp on basic scripting and using tables.
Man, I am super grateful of your taking the time to help me out on this!