For instance, I have:
path live_set tracks 0 devices 0 chains 0
And i want to get all chains, devices…
Could i SET a variable that I iter over, and then use:
path live_set tracks $1 devices $2 chains $3
The [sprintf] object is best suited for this. Try instantiating it like this: [sprintf path live_set tracks %ld devices %ld chains %ld].
Personally I’m using the [pak] object for this: [pak path live_set tracks 0 devices 0 chains 0].
Advantage: it delivers output when input is received on any inlet.
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74