Bug in matrix~ (object or doc?) - maxmsp 457


    Mar 14 2006 | 10:49 am
    Hello,
    I have a problem with matrix~
    it is said in the doc that if a thrid optional float is provided,
    matrix~ works in non binary mode. Otherwise, binary is used with gain 0
    or 1.
    But the object behaves exactly in reversed. BIN is NONBIN and NONBIN is
    BIN mode.
    See the patch, which is giving results:
    NONBINMODE: 0 0 0.000000
    NONBINMODE: 0 1 0.000000
    BINMODE: 0 0 0.500000
    BINMODE: 0 1 0.000000

    • Mar 14 2006 | 11:02 am
      Works just as expected here: see patch below.
      cheers
      Roger
      max v2;
    • Mar 14 2006 | 12:05 pm
      Yes, you're right...
      In fact, I found the problem :
      if audio is OFF, then nonbinary matrix coefficients are not updated when
      triplet is received (dump shows the previous coefs, so thrid param at
      startup), while binary matrix coefficients are updated immediatly.
      and binary matrix is not binary at all, as if it receives a triplet with
      a float gain, it uses it.
      Regards
      Chris
    • Mar 14 2006 | 12:12 pm
      > and binary matrix is not binary at all, as if it receives a triplet with
      > a float gain, it uses it.
      sorry, I mean internal coefficients are not 0/1, but the received float.
      But outputs are muted if coef is zero, unmuted otherwise, as stated in
      the doc.
      Regards,
      Chris