final case class TrigHold[L](in: B, length: GE[L], clear: B = false)(implicit numL: NumInt[L]) extends SingleOut[Boolean] with ProductWithAdjuncts with Product with Serializable
A UGen that holds an input trigger signal for a given duration.
When a trigger is received from in
, the output changes from zero
to one for the given length
amount of frames. If a new trigger
arrives within this period, the internal length counter is reset
(the high state is kept for further length
frames).
- in
an input trigger or gate signal. Whenever the signal is positive, the internal hold state is reset. If a strict trigger is needed instead of a gate signal, a
Trig
UGen can be inserted.- length
the number of sample frames to hold the high output once a high input is received. A new value is polled whenever
in
is high.- clear
an auxiliary trigger or gate signal that resets the output to low if there is currently no high
in
. This signal is read synchronously within.
If bothclear
andin
are high at a given point, then the UGen outputs high but has its length counter reset.
- Alphabetic
- By Inheritance
- TrigHold
- Serializable
- ProductWithAdjuncts
- SingleOut
- SomeOut
- Lazy
- GE
- UGenSource
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TrigHold(in: B, length: GE[L], clear: B = false)(implicit numL: NumInt[L])
- in
an input trigger or gate signal. Whenever the signal is positive, the internal hold state is reset. If a strict trigger is needed instead of a gate signal, a
Trig
UGen can be inserted.- length
the number of sample frames to hold the high output once a high input is received. A new value is polled whenever
in
is high.- clear
an auxiliary trigger or gate signal that resets the output to low if there is currently no high
in
. This signal is read synchronously within.
If bothclear
andin
are high at a given point, then the UGen outputs high but has its length counter reset.
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
- def adjuncts: List[Adjunct]
- Definition Classes
- TrigHold → ProductWithAdjuncts
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val clear: B
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val in: B
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val length: GE[L]
- def makeUGen(args: IndexedSeq[UGenIn[_]])(implicit b: Builder): UGenInLike[Boolean]
- Attributes
- protected
- Definition Classes
- TrigHold → UGenSource
- def makeUGens(implicit b: Builder): UGenInLike[Boolean]
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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated