[CM] a Grace/OSC question

Heinrich Taube taube at uiuc.edu
Sat Apr 24 13:49:21 PDT 2010


On Apr 24, 2010, at 3:15 PM, Dave Phillips wrote:

> Greetings,
>
> I want to pick from a list of OSC messages but the following code  
> does not work correctly:
>
>   send("osc:message", pick("/ardour/transport_play", "/ardour/ 
> transport_stop", "/ardour/goto_end", "/ardour/goto_start"))
>
> It picks only the gotos, it never toggles the transport.

are you sure?? this is what i get:

loop repeat 10
   print(pick("/ardour/transport_play", "/ardour/transport_stop", "/ 
ardour/goto_end", "/ardour/goto_start"))
end


/ardour/transport_play
/ardour/goto_end
/ardour/goto_end
/ardour/transport_play
/ardour/goto_start
/ardour/transport_play
/ardour/transport_play
/ardour/transport_play
/ardour/goto_start
/ardour/transport_stop


i dont have ardour, i can try to send those messages to liblo_server  
to see what it says.



More information about the Cmdist mailing list