Function's Domain

Anthony Bisset's icon

I'm looking for a way to zoom in/out of a function breakpoint editor in sync with a waveform~ display (for creating effects automation, volume envelopes and the like).

I could accomplish this with Max directly but it'd take non-trivial amounts of time to get right.

Perhaps the domain message could be mod'd to accept a list:
If two floats, start/end display, else old behavior.

Have I missed something?

Mike S's icon

you might want to check out the ejies function. A lot more flexible than the standard one

Anthony Bisset's icon

Thanks. ej.function.js is really excellent.

EMV's icon

Although this topic is quite old and already solved, I will post my attempt at creating a zoomable function editor with native Max objects (I built it because I found ej.function too late ).

Maybe the author of ej.function could steal some ideas from my approach and implement them in his external? (Really the only thing that is in my patch and not in ejies is the numbers at the grid).

(the maxpat is also attached to the bottom of this post btw)

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