matrixctrl / radiogroup feature request / routing advises


    Jan 21 2012 | 10:10 pm
    Hi list,
    I have 2 problems
    First one:
    4 quicktime players, 8 outputs (on 3 projectors) with a matrixctrl doing the routing in between.
    I want the players and the outputs to be turned off whenever they are not needed.
    It would be easy if the matrixctrl would tell the number of the row/column being outputted after a getcolumn/row command.
    Second one:
    To make the interface more friendly I want to use radiogroup and text instead of directly the matrixctrl.
    But like in the matrixctrl, I would like something like "one cell per row"
    But I can find a way to change the state of toggles individually without changing the others, the flagmode doesn't allow that.
    Any ideas ???
    Am I missing something obvious ?
    Thanks
    Here is a patch to illustrate:
    btw, it's a max6 patch, why does it says max 5 ?

    • Jan 22 2012 | 8:08 pm
      The equivalent of "one non-zero cell per column" using [radiogroup] is to set the item type to "radio buttons" instead of "check boxes".
    • Jan 22 2012 | 9:10 pm
      +1 for the matrixctrl to output the row/column number, but an easy workaround is by "set $1" to [prepend], then run the list through it, and [route] when you need it. Or open a corresponding [gate] outlet.
      I think the [matrixctrl] might work more cleanly without sending the row or column number, but it might be a nice flag to set in the Inspector. With such a flag, when off (default for compatibility), it outputs:
      0 0 1 1 0 0
      On:
      row 3 0 0 1 1 0 0
      or
      col 5 0 0 1 1 0 0
      then you can just [zl slice] as needed.
    • Jan 22 2012 | 10:42 pm
      Thanks for the replies,
      @Luke,
      For the radiogroup, I need "one cell per row"
      But as they are separated objects, there are no rows...
      @seejay,
      I don't really understand what you mean. That would be for check/uncheck some cells, right ?
      I still want to use the graphic interface of the matrix, but I want to know when a row or column is empty. And I would like to that without a metronome.
      So far I found something for the radiogroup thing and the metro/trig/gate is enough for what I need now.
      Still, it could be so much easier...
      ps:Why would matrixctrl be "dirtier" if outputting the row/col number ?
    • Jan 23 2012 | 3:04 am
      Only "dirtier" in that it has extra information which you already have, that is, when you send it the message to output a specific row/column. As it is now it's just lists of raw data.
      To check if a row/column (any list) contains only 0's, there's many ways, but [zl sum] --> sel 0 works. [zl filter 1] is a nice way to get any active cells and their indices. [listfunnel] might also be useful somewhere, somehow...