Namespaces

Variants
Actions

function

From Cycling '74 Wiki
(Difference between revisions)
Jump to: navigation, search
(Using the {{maxword|name=function}} object)
(Using the {{maxword|name=function}} object)
Line 3: Line 3:
 
==Using the {{maxword|name=function}} object==
 
==Using the {{maxword|name=function}} object==
  
The {{maxword|name=function}} object has a mode - "curve" mode - that produces output consistent with the values required by the {{maxword|name=curve~}} object - value triplets that include delta time, target value and curve value. When function is in this mode, you can directly change the curvature of any line segment by option-clicking on the segment, then dragging vertically.
+
The {{maxword|name=function}} object has two modes: "linear" and "curve". When in the linear mode, the output will output value pairs that represent the time and target value for each of the points in the function display. Typically, this output is sent to a {{maxword|name=line~}} object, which can be used to drive almost any object at audio rate.
 +
 
 +
When in curve mode - either set in the inspector or using the ''mode'' message - the function object produces output consistent with the values required by the {{maxword|name=curve~}} object - value triplets that include delta time, target value and curve value. The curve value ranges from -1.0 through 1.0, with positive values producing a logarithmic curve, and negative values producing an exponential curve:
 +
 
 +
[[File:FunctionCurveImage.gif]]
 +
 
 +
When function is in curve mode, you can directly change the curvature of any line segment by option-clicking on the segment, then dragging vertically.
 +
 
 +
(To learn more about logarithmic and exponential curves, you can check out [http://people.richland.edu/james/lecture/m116/logs/logs.html| this site].)
  
 
=={{maxword|name=function}} Tutorials==
 
=={{maxword|name=function}} Tutorials==

Revision as of 07:13, 7 May 2013

Contents

function online refpage

Using the function object

The function object has two modes: "linear" and "curve". When in the linear mode, the output will output value pairs that represent the time and target value for each of the points in the function display. Typically, this output is sent to a line~ object, which can be used to drive almost any object at audio rate.

When in curve mode - either set in the inspector or using the mode message - the function object produces output consistent with the values required by the curve~ object - value triplets that include delta time, target value and curve value. The curve value ranges from -1.0 through 1.0, with positive values producing a logarithmic curve, and negative values producing an exponential curve:

FunctionCurveImage.gif

When function is in curve mode, you can directly change the curvature of any line segment by option-clicking on the segment, then dragging vertically.

(To learn more about logarithmic and exponential curves, you can check out this site.)

function Tutorials

function Tips and Workarounds

Third-Party Max externals similar to the function object

Maxobjects.com listing for the function object

People who looked at/used this object also looked at....

Errors or Clarifications

(please list things that you believe to be errors or omissions from the existing refpage)