Packages

final case class Sine2(partials: Seq[(Float, Float)], normalize: Boolean, wavetable: Boolean, clear: Boolean) extends WaveFill with Product with Serializable

OSC message for filling a buffer with a series of sine waves using specified frequencies and amplitudes.

partials

pairs of frequencies and amplitudes for the partials. Frequencies are given as in cycles per buffer.

normalize

if set, the peak amplitude of the generated waveform is normalized to 1.0

wavetable

if set, the format of the waveform is chosen to be usable by interpolating oscillators such as Osc or VOsc

clear

if set, the previous content is erased, otherwise the new waveform is added to the existing content

Linear Supertypes
Serializable, WaveFill, Command, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sine2
  2. Serializable
  3. WaveFill
  4. Command
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Sine2(partials: Seq[(Float, Float)], normalize: Boolean, wavetable: Boolean, clear: Boolean)

    partials

    pairs of frequencies and amplitudes for the partials. Frequencies are given as in cycles per buffer.

    normalize

    if set, the peak amplitude of the generated waveform is normalized to 1.0

    wavetable

    if set, the format of the waveform is chosen to be usable by interpolating oscillators such as Osc or VOsc

    clear

    if set, the previous content is erased, otherwise the new waveform is added to the existing content

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 args: Seq[Any]
    Definition Classes
    Sine2Command
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val clear: Boolean
    Definition Classes
    Sine2WaveFill
  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. final def flags: Int
    Attributes
    protected
    Definition Classes
    WaveFill
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def name: String
    Definition Classes
    Sine2Command
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. val normalize: Boolean
    Definition Classes
    Sine2WaveFill
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val partials: Seq[(Float, Float)]
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. final def productPrefix: String
    Definition Classes
    Command → Product
  20. def readerKey: String
    Definition Classes
    Sine2Command
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  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])
  25. val wavetable: Boolean
    Definition Classes
    Sine2WaveFill

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 WaveFill

Inherited from Command

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped