XLine

object XLine extends ProductReader[XLine]

An exponential curve generator UGen that moves from a start value to the end value in a given duration.

At a given point in time 0 <= t <= dur , the output value is start * (stop/start).pow(t/dur) .

'''Warning''': It must be ensured that the both start is not zero and start and end have the same sign (e.g. a start of -1 and an end of -0.001 are valid), otherwise the UGen will output a NaN ! While in the case of end being zero the UGen will also output zero, it is recommended to treat this case as pathological as well.

===Examples===

// glissando
play { SinOsc.ar(Line.kr(200, 2000, 10, freeSelf)) * 0.2 }
See also
Companion
class
trait Product
trait Mirror
trait ProductReader[XLine]
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def ar: XLine
def ar(start: GE, end: GE, dur: GE, doneAction: GE): XLine
Value Params
doneAction

A done-action that is evaluated when the Line has reached the end value after the given duration

dur

Duration in seconds ''(init-time only)''

end

Ending value ''(init-time only)''

start

Starting value ''(init-time only)''

def kr: XLine
def kr(start: GE, end: GE, dur: GE, doneAction: GE): XLine
Value Params
doneAction

A done-action that is evaluated when the Line has reached the end value after the given duration

dur

Duration in seconds ''(init-time only)''

end

Ending value ''(init-time only)''

start

Starting value ''(init-time only)''

def read(in: RefMapIn, key: String, arity: Int): XLine