DC

object DC extends ProductReader[DC]

A UGen that creates a constant signal at a given calculation rate.

===Examples===

// create a silent audio signal
play {
 // Note: Select.ar requires audio-rate input.
 // Therefore, DC can be used to wrap the otherwise
 // incompatible constant zero. In future versions of
 // ScalaCollider, this wrapping will be done
 // automatically, however.
 Select.ar(MouseButton.kr(lag = 0), Seq(DC.ar(0), SinOsc.ar * 0.2))
}
See also
Companion
class
trait Product
trait Mirror
trait ProductReader[DC]
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(in: GE): DC
Value Params
in

constant value to output, fixed at initialisation time. ''(init-time only)''

def kr(in: GE): DC
Value Params
in

constant value to output, fixed at initialisation time. ''(init-time only)''

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