Dynamically generating windows in gen~

    Nov 01 2016 | 6:09 pm
    Hey all,
    I'm reworking a patch that I'm trying to dynamically generate a window of a changing length. I ran into a roadblock when trying to do this, and tried to simplify the it in the attached patch. Can someone explain why the gen code on the left doesn't give increasing values from 0 -1?
    Thanks in advance!

    • Nov 01 2016 | 7:55 pm
      The order of arguments - first value, then index. Try: poke(window, i/127, i, 0);
    • Nov 01 2016 | 8:29 pm
      wow. Thanks for that. I wonder how long that would've taken me to sort out on my own...
    • Nov 01 2016 | 9:37 pm
      I was just a fresh pair of eyes. Cheers:)