Packages

object Vibrato extends ProductReader[Vibrato] with Serializable

A low frequency oscillator UGen for modelling vibrato. It produces a modulating frequency value in Hertz that can be used as the frequency parameter of another UGen.

By setting more extreme settings, one can get back to the timbres of FM synthesis. One can also add in some noise to the vibrato rate and vibrato size (modulation depth) to make for a more realistic motor pattern.

The vibrato output is a waveform based on a squared envelope shape with four stages marking out 0.0 to 1.0, 1.0 to 0.0, 0.0 to -1.0, and -1.0 back to 0.0. The vibrato rate determines how quickly one moves through these stages.

Examples
// constant setting
play { SinOsc.ar(Vibrato.ar(DC.ar(400.0), 1, 0.02)) * 0.2 }
// beat and beatVar mouse control
play {
  val beat    = MouseX.kr(2.0, 100.0)
  val beatVar = MouseY.kr(0.0, 1.0)
  val freq    = Vibrato.ar(DC.ar(400.0), beat, 0.1, 1.0, 1.0, beatVar, 0.1)
  SinOsc.ar(freq) * 0.2
}
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Vibrato
  2. Serializable
  3. ProductReader
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. def ar(freq: GE = 440.0f, beat: GE = 6.0f, depth: GE = 0.02f, delay: GE = 0.0f, onset: GE = 0.0f, beatVar: GE = 0.04f, depthVar: GE = 0.1f, iphase: GE = 0.0f): Vibrato

    freq

    fundamental frequency in Hertz. If the Vibrato UGen is running at audio rate, this must be an audio-rate input as well.

    beat

    vibrato rate, that is the speed of wobble in Hertz. Note that if this is set to a too low value, you may never get vibrato back, since this input is only checked at the end of a cycle.

    depth

    amount of vibrato frequency deviation around the fundamental, as a proportion of the fundamental.

    delay

    delay in seconds before vibrato is established. (init-time only)

    onset

    transition time in seconds from no vibrato to full vibrato after the initial delay time. (init-time only)

    beatVar

    random (noise) variation on the beat parameter, expressed as a proportion of beat . It can change once per cycle of vibrato.

    depthVar

    random (noise) variation on the depth of modulation, expressed as a proportion of depth . It can change once per cycle of vibrato. The noise affects independently the up and the down part of vibrato shape within a cycle.

    iphase

    initial phase of vibrato modulation, allowing starting above or below the fundamental rather than on it. (init-time only)

  5. def ar: Vibrato
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def kr(freq: GE = 440.0f, beat: GE = 6.0f, depth: GE = 0.02f, delay: GE = 0.0f, onset: GE = 0.0f, beatVar: GE = 0.04f, depthVar: GE = 0.1f, iphase: GE = 0.0f): Vibrato

    freq

    fundamental frequency in Hertz. If the Vibrato UGen is running at audio rate, this must be an audio-rate input as well.

    beat

    vibrato rate, that is the speed of wobble in Hertz. Note that if this is set to a too low value, you may never get vibrato back, since this input is only checked at the end of a cycle.

    depth

    amount of vibrato frequency deviation around the fundamental, as a proportion of the fundamental.

    delay

    delay in seconds before vibrato is established. (init-time only)

    onset

    transition time in seconds from no vibrato to full vibrato after the initial delay time. (init-time only)

    beatVar

    random (noise) variation on the beat parameter, expressed as a proportion of beat . It can change once per cycle of vibrato.

    depthVar

    random (noise) variation on the depth of modulation, expressed as a proportion of depth . It can change once per cycle of vibrato. The noise affects independently the up and the down part of vibrato shape within a cycle.

    iphase

    initial phase of vibrato modulation, allowing starting above or below the fundamental rather than on it. (init-time only)

  14. def kr: Vibrato
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def read(in: RefMapIn, key: String, arity: Int): Vibrato
    Definition Classes
    VibratoProductReader
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. 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 ProductReader[Vibrato]

Inherited from AnyRef

Inherited from Any

Ungrouped