SendTrig

final case
class SendTrig(rate: MaybeRate, trig: GE, value: GE, id: GE) extends ZeroOut with HasSideEffect

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 .

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

See also
Note

The argument order is different from its sclang counterpart.

Companion
object
trait Serializable
trait HasSideEffect
class ZeroOut
class UGenSource[Unit]
trait Expander[Unit]
trait Lazy
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

final
def name: String
Inherited from
UGenSource
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Inherited fields

lazy override
val hashCode: Int
Inherited from
UGenSource