Packages

final case class SendTrig(rate: MaybeRate, trig: GE, value: GE = 0.0f, id: GE = 0) extends ZeroOut with HasSideEffect with Product with Serializable

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 .

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

id

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

Note

The argument order is different from its sclang counterpart.

See also

SendReply

Linear Supertypes
Serializable, Serializable, HasSideEffect, ZeroOut, UGenSource[Unit], Expander[Unit], Lazy, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SendTrig
  2. Serializable
  3. Serializable
  4. HasSideEffect
  5. ZeroOut
  6. UGenSource
  7. Expander
  8. Lazy
  9. Product
  10. Equals
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SendTrig(rate: MaybeRate, trig: GE, value: GE = 0.0f, id: GE = 0)

    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

    id

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  9. lazy val hashCode: Int
    Definition Classes
    UGenSource → AnyRef → Any
  10. val id: GE
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def makeUGen(_args: Vec[UGenIn]): Unit
    Attributes
    protected
    Definition Classes
    SendTrigUGenSource
  13. def makeUGens: Unit

    Abstract method which must be implemented by creating the actual UGens during expansion.

    Abstract method which must be implemented by creating the actual UGens during expansion. This method is at most called once during graph expansion

    returns

    the expanded object (depending on the type parameter U)

    Attributes
    protected
    Definition Classes
    SendTrigExpander
  14. final def name: String
    Definition Classes
    UGenSource
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. val rate: MaybeRate
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. val trig: GE
  21. val value: GE
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from HasSideEffect

Inherited from ZeroOut

Inherited from UGenSource[Unit]

Inherited from Expander[Unit]

Inherited from Lazy

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped