Max:
Filter:
Classes (extension) | UGens > Analysis

Max : UGen : AbstractFunction : Object
ExtensionExtension

maximum within last x samples
Source: SLUGens.sc

//SLUGens released under the GNU GPL as extensions for SuperCollider 3, by Nick Collins, http://composerprogrammer.com/index.html 

Description

Will output the maximum value of over the last numsamp samples, calculated efficiently by storing a local maximum for every control period. The numsamp argument will be rounded to a multiple of control period lengths. The output is the held maximum at control rate.

Class Methods

Max.ar: METHOD NOT FOUND!

Arguments:

in

input to sample (.ar rate)

numsamp

take the maximum over this number of samples into the past (will be rounded to control periods)

Inherited class methods

Undocumented class methods

Max.kr(in, numsamp: 64)

Instance Methods

Inherited instance methods

Examples