Hi all,
Screenshot attached. I built a network that took changing position data and converted it to MIDI value numbers (in the form of CHOPs), and converted that into frequency to control oscillator pitch. My problem is: now I want to use those numbers to be actual MIDI values, and to affect a VST. Just curious if anyone has any ideas about how to reuse the network I already have, and somehow finagle a conversion to sending out MIDI values!
Hi @vertefeuilles,
check out the Midi Out CHOP for which you need to name the channels according to the parameters of the Midi Out CHOP itself.
From the docs:
Naming the CHOP channels: Channels are mapped to events by their name. Events like notes, controllers and velocities must be followed by the note/controller number (n65, c7). If the number is left off a note event, the note number is the value of the channel. Other events, which are sent to the entire channel, do not need a trailing number (pc, pw). The channel prefix can be used to identify the MIDI channel the event should be sent on (i.e. “ch1n45” assigns that TouchDesigner channel to note 45 messages on MIDI channel 1). Channels can always be renamed with a Rename CHOP before entering the MIDI Out CHOP.
More information here:
cheers
Markus
Thanks for the reply Markus—
I actually ended up just setting up a little Rename/Expression CHOP situation to set new and changing channel names, and then sending that into Ableton. It felt simpler, somehow, as I could just rely on a Python script to deal with all my logic at the end.
Picture attached below of the new network, but I just posted the finished product of why I ended up here on Instagram as well: @vertefeuilles on Instagram: "john cage cage in a francis bacon box ~ first in a series of experiments in visualizing sound. one side is standard notation, the other john cage-styled—all wrapped up in a bacon box. . . . #touchdesigner #soundvisualization"