SuperCollider CLASSES

Line

Line generator.
Source: /Applications/SuperCollider/SuperCollider.app/Contents/Resources/SCClassLibrary/Common/Audio/Line.sc
Inherits from: UGen : AbstractFunction : Object

Description

Generates a line from the start value to the end value.

Class Methods

*ar (start = 0, end = 1, dur = 1, mul = 1, add = 0, doneAction = 0)

*kr (start = 0, end = 1, dur = 1, mul = 1, add = 0, doneAction = 0)

Arguments:

start

Starting value.

end

Ending value.

dur

Duration in seconds.

mul

Output will be multiplied by this value.

add

This value will be added to the output.

doneAction

A doneAction to be evaluated when the Line is completed. See

UGen done-actions for more detail.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

-canFreeSynth

From extension in /Applications/SuperCollider/SuperCollider.app/Contents/Resources/SCClassLibrary/Common/Audio/canFreeSynth.sc

Examples


// XLine is usually better than Line for frequency
play({ SinOsc.ar(Line.kr(200,17000,10),0,0.1) });