switching samples in gen
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????
PS
by simpler, i mean only using one buffer and one sample object, changing the buffers reference in sync... if that makes sense...
Any one?
????
have a look at the thread from march 20 :
"Can I switch from buffer~ to buffer~ with gen~ ?"
it is pretty simple :-)
r.
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
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.