You can do this by using /setOffsetInBank
from the TotalMix OSC doc:
setOffsetInBank
0...Banksize-1
Received value sets the channel in page 2 relative to start of bank in page 1 (counted in faders)
Regarding your example (volume5), this would be sth like:
/setOffsetInBank 4 // as it starts with 0, we use 4 for "channel" 5
/2/width x // your float value from 0 - 1 for width
If you are working with TouchOSC, a more advanced example:
you can create a radial, make sure you set tag property in its properties to 0, for the first radial...
https://hexler.net/touchosc/manual/edit … erties#tag
copy paste this script to the radials script section....
function onValueChanged(key)
-- we have to switch the bus and offset only if the radial was touched
if key == "touch" then
-- just to make sure we switch to input bus on page 2 ("simple" OSCmessage)
sendOSC('/2/busInput', 1)
-- "complex" OSCmessage (see TouchOSC scripting API)
sendOSC(
{
-- our path to set the channel directly in page 2
'/setOffsetInBank',
{
-- converts the string tag property of our radial to float32
{tag = 'f', value = self.properties.tag}
}
}
)
end
-- now, we send the value of our radial to TM...
if key == "x" then
sendOSC('/2/width', self.values[key])
end
end
and the just copy paste the radial multiple times. - no ned to touch the script section anymore.
All you need to edit is the tag property for each clone (1 for clone1, 2 for clone2, etc...,)
“Do It For Her”
My Gear: Bontempi Magic light Keyboard