LocalOut

object LocalOut extends ProductReader[LocalOut]

A UGen that writes to buses that are local to the enclosing synth. These buses should have been defined by a LocalIn ugen. These behave like regular buses, but are more convenient for the implementation of a self contained effect that uses a feedback processing loop.

In a synth, there can be only each one control-rate and audio-rate LocalIn / LocalOut pair. The signal written to a LocalOut will not be read by the LocalIn until the next control block cycle, introducing a delay of ControlDur .

For more examples, see LocalIn.

===Examples===

// ping-pong delay with feedback
play {
 val src = Decay.ar(Impulse.ar(0.3), 0.1) * WhiteNoise.ar(0.2)
 val in  = LocalIn.ar(Seq(0, 0)) + Seq[GE](src, 0) // read feedback, add source to left chan
 val dly = DelayN.ar(in, 0.2, 0.2)         // delay sound
 val att = dly * 0.8                       // apply decay factor

 // reverse channels to give ping pong effect
 LocalOut.ar(Seq(att.out(1), dly.out(0)))
 dly
}
See also
Companion
class
trait Product
trait Mirror
trait ProductReader[LocalOut]
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): LocalOut
Value Params
in

signal to be written to the synth-local bus. The signal's number of channels must be the same number of channels as were declared in the corresponding LocalIn .

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

signal to be written to the synth-local bus. The signal's number of channels must be the same number of channels as were declared in the corresponding LocalIn .

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