sub-patch scripting


    Oct 25 2006 | 3:57 am
    Hello,
    I am wondering if there is a way to use scripts (or perhaps somethign else) to set,connect, discconct, elements in a subpatch at a certain time. Here is a simple not working example. Any inuput is greatly appreciated.
    Cheers.
    max v2;

    • Oct 25 2006 | 6:46 am
      thispatcher only works w/ a given patcher if the thispatcher object is IN THE PATCH you want to demarcate as "this one".
      here's a modified example:
    • Oct 25 2006 | 10:50 pm
      You'd need to send the script messages to a thispatcher object inside the subpatch - via send/receive, forward/receive or the messagebox 'send to a named object' syntax or such.
      Alternately, javascript can look inside a subpatch and add/remove/connect objects. There were examples posted, try a search for subpatcher()
    • Oct 27 2006 | 6:01 am
      nick wrote:
      > Hello, I am wondering if there is a way to use scripts (or perhaps
      > somethign else) to set,connect, discconct, elements in a subpatch at
      > a certain time. Here is a simple not working example. Any inuput is
      > greatly appreciated. Cheers.
      pattrforward can do it. (It could send also directly to the object)
      In the modified example the subpatcher is named!
      --
      Stefan Tiedje------------x-------
      --_____-----------|--------------
      --(_|_ ----|-----|-----()-------
      -- _|_)----|-----()--------------
      ----------()--------www.ccmix.com
    • Dec 12 2006 | 3:34 pm
      Thank you for your help and suggestions!
      Greatly appreciated!
    • Dec 12 2006 | 4:31 pm
      i remember seeing somewhere a subpatch initialized with arguments (#1). is
      that possible?
      On 12/12/06, nick wrote:
      >
      >
      > Thank you for your help and suggestions!
      > Greatly appreciated!
      >
    • Dec 14 2006 | 7:54 am
      yes;
      the pound-sign argument will drive down into sub-patchers.
      jl