Codebox Qeustion

    Jun 24 2013 | 7:23 pm
    I've try to implement Earlevels biquad coeff. calculator in gen codebox, but without luck. There is nothing coming out from gen :(
    Could you please take a look?

    • Jun 24 2013 | 11:04 pm
      Something weird is going on with Gen. The gen~ object in your patch only has two inputs and one output even though I can clearly see that there are four inputs and five outputs inside the gen~.
      I even reconstructed the patch but as soon as I copy that codebox in it nerfs the patch and any new inputs don't show up on the gen~ object.
    • Jun 24 2013 | 11:17 pm
      Could be different versions of Max 6. (6.0.8 vs. 6.1+). I have this happen with some of my gen patches. I think they made some changes in codebox. (such as introducing for loops, etc.)
    • Jun 24 2013 | 11:21 pm
      I'm on 6.1.3.
    • Jun 25 2013 | 4:08 am
      Im on 6.1.2 I can see all of the ins and outs, but nothing come out from the gen...
    • Jun 25 2013 | 9:24 am
      Weird. Checked on a windows machine and Stringpaper has right. I've declared the inputs/outputs, they're connecte to the codebox, but the GEN OBJECT has only 2 ins and 1 out.
      WHAT? :D:D:D:D
    • Jun 25 2013 | 11:00 am
      any ides?
    • Jun 26 2013 | 6:32 am
      You have some expressions:
      a(-1, 1) = ...;
      While these parse as GenExpr, they are actually invalid. The bug here is that we don't post an error message about this. I'm not sure what you're trying to accomplish with the a(-1, 1) syntax. Are you trying to clamp the values?
    • Jun 26 2013 | 8:41 am
      Yap. Anyway, fixed the problem, now it's working :