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, HasSideEffect, ZeroOut, UGenSource[Unit], Expander[Unit], Lazy, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SendTrig
  2. Serializable
  3. HasSideEffect
  4. ZeroOut
  5. UGenSource
  6. Expander
  7. Lazy
  8. Product
  9. Equals
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  8. lazy val hashCode: Int
    Definition Classes
    UGenSource → AnyRef → Any
  9. val id: GE
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def makeUGen(_args: Vec[UGenIn]): Unit
    Attributes
    protected
    Definition Classes
    SendTrigUGenSource
  12. 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
  13. final def name: String
    Definition Classes
    UGenSource
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  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(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

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