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
- Alphabetic
- By Inheritance
- SendTrig
- Serializable
- Serializable
- HasSideEffect
- ZeroOut
- UGenSource
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
lazy val
hashCode: Int
- Definition Classes
- UGenSource → AnyRef → Any
- val id: GE
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
makeUGen(_args: Vec[UGenIn]): Unit
- Attributes
- protected
- Definition Classes
- SendTrig → UGenSource
-
def
makeUGens: Unit
Abstract method which must be implemented by creating the actual
UGen
s during expansion. -
final
def
name: String
- Definition Classes
- UGenSource
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val rate: MaybeRate
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val trig: GE
- val value: GE
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )