de.sciss.synth.ugen

DemandEnvGen

final case class DemandEnvGen(rate: Rate, levels: GE, durs: GE, shapes: GE = synth.this.GE.const(1), curvatures: GE = synth.this.GE.const(0.0), gate: GE = synth.this.GE.const(1.0), reset: GE = synth.this.GE.const(1.0), levelScale: GE = synth.this.GE.const(1.0), levelBias: GE = synth.this.GE.const(0.0), timeScale: GE = synth.this.GE.const(1.0), doneAction: GE = ...) extends SingleOut with HasSideEffect with Product with Serializable

An envelope generator UGen using demand-rate inputs for the envelope segments. For each parameter of the envelope (levels, durations and shapes), values are polled every time a new segment starts.

levels

demand-rate ugen (or other ugen) returning level values

durs

demand-rate ugen (or other ugen) returning durational values

shapes

demand-rate ugen (or other ugen) returning shape number for the envelope segment.

curvatures

demand-rate ugen (or other ugen) returning curvature values. these are used for curveShape segments (shape number 5) and should be zero for other shapes.

gate

a control rate gate: if gate is x >= 1, the ugen runs. if gate is 0 > x > 1, the ugen is released at the next level (according to doneAction). if gate is x <= 0, the ugen is sampled and held.

reset

a trigger signal. a trigger occurs when passing from non-positive to positive. when the trigger amplitude is < 1, the input ugens (those that are demand-rated) are reset when the current segment ends. if the trigger amplitude is > 1, the reset is performed immediately.

levelScale

demand-rate ugen returning level scaling values

levelBias

demand-rate ugen returning level offset values

timeScale

demand-rate ugen returning time scaling values

doneAction

a done action performed when one of the demand-rated series ends

See also

de.sciss.synth.DoneAction

de.sciss.synth.Env.Shape

de.sciss.synth.ugen.EnvGen

Linear Supertypes
HasSideEffect, SingleOut, SomeOut, GE.Lazy, GE, UGenSource[UGenInLike], Product, Equals, Expander[UGenInLike], Lazy, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DemandEnvGen
  2. HasSideEffect
  3. SingleOut
  4. SomeOut
  5. Lazy
  6. GE
  7. UGenSource
  8. Product
  9. Equals
  10. Expander
  11. Lazy
  12. Serializable
  13. Serializable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DemandEnvGen(rate: Rate, levels: GE, durs: GE, shapes: GE = synth.this.GE.const(1), curvatures: GE = synth.this.GE.const(0.0), gate: GE = synth.this.GE.const(1.0), reset: GE = synth.this.GE.const(1.0), levelScale: GE = synth.this.GE.const(1.0), levelBias: GE = synth.this.GE.const(0.0), timeScale: GE = synth.this.GE.const(1.0), doneAction: GE = ...)

    levels

    demand-rate ugen (or other ugen) returning level values

    durs

    demand-rate ugen (or other ugen) returning durational values

    shapes

    demand-rate ugen (or other ugen) returning shape number for the envelope segment.

    curvatures

    demand-rate ugen (or other ugen) returning curvature values. these are used for curveShape segments (shape number 5) and should be zero for other shapes.

    gate

    a control rate gate: if gate is x >= 1, the ugen runs. if gate is 0 > x > 1, the ugen is released at the next level (according to doneAction). if gate is x <= 0, the ugen is sampled and held.

    reset

    a trigger signal. a trigger occurs when passing from non-positive to positive. when the trigger amplitude is < 1, the input ugens (those that are demand-rated) are reset when the current segment ends. if the trigger amplitude is > 1, the reset is performed immediately.

    levelScale

    demand-rate ugen returning level scaling values

    levelBias

    demand-rate ugen returning level offset values

    timeScale

    demand-rate ugen returning time scaling values

    doneAction

    a done action performed when one of the demand-rated series ends

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. val curvatures: GE

    demand-rate ugen (or other ugen) returning curvature values.

    demand-rate ugen (or other ugen) returning curvature values. these are used for curveShape segments (shape number 5) and should be zero for other shapes.

  9. val doneAction: GE

    a done action performed when one of the demand-rated series ends

  10. val durs: GE

    demand-rate ugen (or other ugen) returning durational values

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. val gate: GE

    a control rate gate: if gate is x >= 1, the ugen runs.

    a control rate gate: if gate is x >= 1, the ugen runs. if gate is 0 > x > 1, the ugen is released at the next level (according to doneAction). if gate is x <= 0, the ugen is sampled and held.

  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. val levelBias: GE

    demand-rate ugen returning level offset values

  17. val levelScale: GE

    demand-rate ugen returning level scaling values

  18. val levels: GE

    demand-rate ugen (or other ugen) returning level values

  19. def makeUGen(_args: IndexedSeq[UGenIn]): UGenInLike

    Attributes
    protected
    Definition Classes
    DemandEnvGen → UGenSource
  20. def makeUGens: UGenInLike

    Attributes
    protected
    Definition Classes
    DemandEnvGen → Expander
  21. final def name: String

    Definition Classes
    UGenSource
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val rate: Rate

    Definition Classes
    DemandEnvGen → GE
  26. val reset: GE

    a trigger signal.

    a trigger signal. a trigger occurs when passing from non-positive to positive. when the trigger amplitude is < 1, the input ugens (those that are demand-rated) are reset when the current segment ends. if the trigger amplitude is > 1, the reset is performed immediately.

  27. final def rewrap(args: IndexedSeq[UGenInLike], exp: Int): UGenInLike

    Attributes
    protected
    Definition Classes
    SomeOut → UGenSource
  28. val shapes: GE

    demand-rate ugen (or other ugen) returning shape number for the envelope segment.

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. val timeScale: GE

    demand-rate ugen returning time scaling values

  31. final def unwrap(args: IndexedSeq[UGenInLike]): UGenInLike

    Attributes
    protected
    Definition Classes
    UGenSource
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from HasSideEffect

Inherited from SingleOut

Inherited from SomeOut

Inherited from GE.Lazy

Inherited from GE

Inherited from UGenSource[UGenInLike]

Inherited from Product

Inherited from Equals

Inherited from Expander[UGenInLike]

Inherited from Lazy

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped