Function: How to control function "points" in real time? Noob Question...

azahn123's icon

Hey all ... I am trying to control the points within the Function object in real time (for live control of a synth). This soft of works but not really. I would really appreciate if anyone could help by showing in a patch what to do... Thanks !!!

1948.functionControl.maxpat
Max Patch
brendan mccloskey's icon

Hi
to dynamically add points, use [pak i f] to a message then bang the message; [function] expects x-y coordinates for new points:

Max Patch
Copy patch and select New From Clipboard in Max.

Brendan

azahn123's icon

Thanks so so much Brendan ! But I would ALSO like to be able to MOVE the points in real time... IS there a way to do this WHILE the sound (or whatever) is playing WITHOUT sending a bang ? Like, I just change a flownum or int and the lines (or points) dynamically move... ? Thanks again !

brendan mccloskey's icon

This sounds a little counter-intuitive: changing an envelope once it has been triggered, unless you're talking about longer durations. Look at the helpfile for [function], there should be advice/example on moving points once there are set.

Brendan

brendan mccloskey's icon

ps

I'll have a look at this and get back to you later....

brendan mccloskey's icon

try this; not perfect - you might need to look at [coll] to store x-y coords?

Max Patch
Copy patch and select New From Clipboard in Max.

Brendan

azahn123's icon

Thanks man ! So far this is what I want ... I will tweak and get back with you ... unless you found out more stuff ?!?!