switching samples in gen


    May 08 2013 | 4:14 am
    i want to switch samples in my gen patch in sync with a window using sah. i have figured a work around (below), but is there a simpler way? like using sah to gate a param in sync with a window????

    • May 08 2013 | 4:22 am
      PS by simpler, i mean only using one buffer and one sample object, changing the buffers reference in sync... if that makes sense...
    • May 10 2013 | 2:35 am
      Any one?
    • May 10 2013 | 3:19 am
      ????
    • May 19 2013 | 1:55 am
      have a look at the thread from march 20 : "Can I switch from buffer~ to buffer~ with gen~ ?"
      it is pretty simple :-) r.
    • Jun 16 2013 | 3:06 am
      Thanks Robert, wow the real Robert Henke, im blushing!
      Yes i am fully aware and able to change [buffer] and [data] references inside [gen~] using a message, that is covered in the gen help patch. (I try not to ask questions answered by help patches!)
      my question is whether there is a way to change buffer references in sync with a [sah] object inside of [gen~]...
      my example below does so using two [buffer] objects and a gate...
      can it be done with one?... probably not because [gen~] can't really store text based data only signal and matrix information.... oh well... :)
      thanks. a
    • Jun 26 2013 | 4:23 pm
      No, currently there's no way to switch buffer references in response to a signal event; the only option is to create several buffers with different references and switch between them using e.g. a selector operator, or an if() block in GenExpr.