Scaling input with Function… sugestions for creating ellegant curves?

George Khut's icon

Hi all

I'm using function to scale input, and am creating lists that I can load into my function object, to allow me to switch between various response curves for scaling my input.

I have been doing with with Klaus Flip's !llog object, but am interested in way to use the function object – its a very graphic way to observe the scaling process!

Has anyone done work on editing functions with Bezier type curve manipulation processes?

For my current purposes, I'm looking for some algorithm that will allow me to create lists (messages) that I can then use to load presets curves.

Here's an example of what I'm working on…

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

Thanks in advance!

Mike S's icon

ej.function allows for curves (hey ej, when is this going to be in the normal max distribution?)

oh and you should donate, i haven't yet, but in fairness I don't find myself using it : /

seejayjames's icon

ej.function is fantastic!

Another workaround would be to use a multislider, [itable], filtergraph~, or techno~ which can make curves. But they're not full-fledged bezier-style and they're not as versatile as [function] for this purpose.

This would be a really nice addition---maybe a right-click lets you choose linear, exponential, and maybe some other options. That's available in Sony Vegas for audio and video fades and it's very handy...

George Khut's icon

Emmanuel Jourdan's ej.function OMG!
This is brilliant! Thanks Guys!
Awesome interface, brilliant work! …and Curves too!

Highly recommended!

Cheers

George Khut

George Khut's icon

Re: ej.function

I'm trying to set 'CurveMode' in ej.function. Not sure what I have misunderstood, but

The help file says "check curve mode in inspector" but there is no "curvemode" check box in the inspector.

If you Command + double click on the ej.function object - you can access the Java file. There seem to be options to switch things here - but I can't locate the right part of the code to do this (not being familiar with Java).

Luke Hall's icon

No need to post the code, it's too long for the forum so it got chopped, in the future just posting a link should do it. If you didn't notice the reply: set the number of curves attribute to 1 which should work.

lh

George Khut's icon

Yeah

I just found it: it is in the inspector - its just called "mode" (not "curvemode" and you set either zero or one.

thanks
g