Modifying RGB/HSV Point Values in Ramp TOPs with TouchOSC

Hi,

I’m trying to use TouchOSC on an iPad to change the colour values on the various points in a Ramp TOP.

I have managed to establish a handshake between TD and my iPad fine but I’m confused as to how to proceed.

Do I need to script a selection of CHOPs to modify a Table DAT that feeds colour values into the Ramp TOP?

Thanks

Hello,
You can use Chop Execute Dat to change the ramp value, with this Python:
def onValueChange(channel, sampleIndex, val, prev):
row = int(channel.name[1])
col = str(channel.name[2:])
op(‘ramp1_keys’)[row,col] = val
return
rampOSC.toe (4.2 KB)

2 Likes

Hey Jacques,

Fantastic. Many thanks for the help!