change boundmode attribute in sample

Mar 21, 2012 at 5:13pm

change boundmode attribute in sample

Hi,
How can I change the boundmode attribute of sample. I just want to do a simple zoom & offset effect and I want to be able to change dynamically the boundmode. I know it’s pretty silly but I don’t get it from the doc.
Thanks

– Pasted Max Patch, click to expand. –
#62508
Mar 22, 2012 at 4:45pm

You can’t. Although gen operators resemble standard Max externals in terms of letting you set initial states using attributes and arguments, you can’t change them once they’re set – they’re strictly declarative. Have you noticed that typing “+” instead of “+ 5″ gives you different looking gen operators? Same idea. That’s all covered and described here:

http://www.cycling74.com/docs/max6/dynamic/c74_docs.html#gen_overview

You’ll need to duplicate the portion of your patch where sample is used and use a ? and a param operator to handle the switching.

#225798
Mar 22, 2012 at 5:56pm

Thanks ! I get it now. I thought it was something like that but I didn’t know the “?” operator.

– Pasted Max Patch, click to expand. –
#225799

You must be logged in to reply to this topic.