SendTrig

object SendTrig extends ProductReader[SendTrig]

A UGen that sends a value from the server to all notified clients upon receiving triggers. The message sent is osc.Message("/tr", <(Int) nodeId>, <(Int) trigId>, <(Float) value>) .

For sending an array of values, or using an arbitrary reply command, see SendReply .

See also
Note

The argument order is different from its sclang counterpart.

Companion
class
trait Product
trait Mirror
trait ProductReader[SendTrig]
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(trig: GE, value: GE, id: GE): SendTrig
Value Params
id

an arbitrary integer that will be sent along with the "/tr" message. This is useful to distinguish between several SendTrig instances per SynthDef.

trig

the trigger signal causing the value to be read and sent. A trigger occurs when passing from non-positive to positive.

value

a changing signal or constant that will be polled at the time of trigger, and its value passed with the trigger message

def kr(trig: GE, value: GE, id: GE): SendTrig
Value Params
id

an arbitrary integer that will be sent along with the "/tr" message. This is useful to distinguish between several SendTrig instances per SynthDef.

trig

the trigger signal causing the value to be read and sent. A trigger occurs when passing from non-positive to positive.

value

a changing signal or constant that will be polled at the time of trigger, and its value passed with the trigger message

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