altering OSCroute arguments in patchers/bpatchers


    Feb 08 2012 | 2:56 pm
    I was wondering if there is a different way to alter arguments in patchers/bpatchers?
    I know you can use the #1 #2 but in this case I use a OSCroute which uses slashes:
    [OSC-route /Multiball/y6 /Multiball/x6 /Multiball/z6]
    Normally you would do it like this: #1_Multiball but OSC data doesn't let you do this.
    I would like to alter the 6 into a different number so I don't have to type tons of numbers.
    Any tips would be greatly appreciated!!!
    Cheers, Danny

    • Feb 08 2012 | 3:19 pm
      Hi Danny,
      you can use the sprintf object to construct symbols. for example like this:
    • Feb 08 2012 | 3:37 pm
      Hi Mudang,
      Thanx a lot. That will do the job nicely. I didn't know you could change the arguments of the OSC-route object.
      Saves me a lot of typing!!!!
      Cheers, Danny
    • Feb 08 2012 | 7:57 pm
      The "changing arguments" subpatch in the OSC-route help patch holds some good tricks. Also the alternate slash format. (eg [OSC-route slash #1_Multiball] )