Automatically generate list of all send~ objects in a patcher?


    Feb 22 2008 | 12:19 am
    Hi,
    I'd like to automatically create a list of all of the [send~] objects in a patcher, so I can set up an ubumenu to choose which [send~] a [receive~] will receive from.
    Is this possible?
    Thanks,
    Aengus.

    • Feb 22 2008 | 11:14 am
      Actually, to clarify a bit, or make the problem more difficult: I'd like to be able to generate a list of the names of all [send~] busses that are in use at any particular time- in any open patcher including bpatchers.
      Thanks for any help,
      Aengus.
    • Feb 22 2008 | 1:20 pm
      Well, I thought of a way to do it, so here it is:
      I first created a wrapper for the [send~] object like this:
      Then I created a little patch which tells all the [send~] wrappers to report their names and sends out the names on another [send] bus:
      .... to fill any umenus or ubumenus which might be listening through the appropriate [receive-] such as the one in this example patcher:
      I did a similar system for the [buffer~] object so that I can automatically fill lists of these as well.
      If there is another way to do this, without the wrapper, I'd be very interested.
      Cheers,
      Aengus.
      ---------------------- www.am-process.org
    • Feb 26 2008 | 9:51 am
      aengus schrieb: > If there is another way to do this, without the wrapper, I'd be very interested.
      I did it the same way, a wrapper is a good, if not the best method... Only thing I'd add is a closebang to be able to erase an entry...
      Stefan
      -- Stefan Tiedje------------x------- --_____-----------|-------------- --(_|_ ----|-----|-----()------- -- _|_)----|-----()-------------- ----------()--------www.ccmix.com