@whale-av said:
@esaruoho OSC is horrible in Vanilla..... because message headers are symbols but can include numbers that Pd interprets as floats. It is much easier to use the MrPeach externals.
Anyway...... vanilla....... plom.zip using a multifader object.
The index currently played by metro turns green.....
David.
Low-res screenshot.......
ok, i think i'm ready to try this out. i've been getting back'n'forth type stuff going on with TouchOSC and Ableton Live, so in theory i should be able to get PD stuff back to TouchOSC via OSC.
fingers crossed!
so on TouchOSC "Grid" called multifader1, the scripting contains
function onReceiveOSC(msg)
local colors =
{
red = Color(1.,.16,.11),
green = Color(.46,.8,.15),
blue = Color(.0,.77,.66),
yellow = Color(1.,.93,.0),
purple = Color(.67,.5,.67),
gray = Color(1.,1.,1.),
orange = Color(.98,.63,.11),
brown = Color(.51,.4,.28),
pink = Color(1.,.02,.95)
}
local address = msg[1]
if(address:sub(-6) == '/color') then
local argument = msg[2][1].value
local color = colors[argument]
if(color ~= nil) then
self.color = color
end
end
end
and the multifader1-named-grid sends out 7 different messages