Class/Object

de.sciss.synth.ugen

MdaPiano

Related Docs: object MdaPiano | package ugen

Permalink

final case class MdaPiano(rate: Rate, freq: GE = 440, gate: GE = 1, velocity: GE = 100, decay: GE = 0.8f, release: GE = 0.8f, hardness: GE = 0.8f, velHard: GE = 0.8f, muffle: GE = 0.8f, velMuff: GE = 0.8f, velCurve: GE = 0.8f, stereo: GE = 0.2f, tune: GE = 0.5f, random: GE = 0.1f, stretch: GE = 0.1f, sustain: GE = 0) extends MultiOut with Product with Serializable

A piano synthesiser UGen. It is not polyphonic, but it can be retriggered to play notes in sequence.

The original VST plugin by Paul Kellett was ported to SuperCollider by Dan Stowell. Most likely the arguments are in the normalized range 0 to 1.

This is a third-party UGen (MdaUGens).

freq

Frequency of the note in Hz.

gate

note-on occurs when gate goes from non-positive to positive; note-off occurs when it goes from positive to non-positive. Most of the other controls are only updated when a new note-on occurs.

velocity

velocity (range is 0 to 127)

decay

The time for notes to decay after the initial strike.

release

The time for notes to decay after the key is released.

hardness

adjusts sample key-ranges up or down to change the "size" and brightness of the piano.

muffle

gentle low pass filter.

stereo

Width of the stereo effect (which makes low notes sound towards the left, high notes towards the right). 0 to 1.

tune

Overall tuning.

random

Randomness in note tuning.

stretch

Stretches the tuning out (higher notes pushed higher).

sustain

if positive, act as if the piano's sustain pedal is pressed.

Linear Supertypes
Serializable, Serializable, MultiOut, SomeOut, GE.Lazy, GE, UGenSource[UGenInLike], Expander[UGenInLike], Lazy, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MdaPiano
  2. Serializable
  3. Serializable
  4. MultiOut
  5. SomeOut
  6. Lazy
  7. GE
  8. UGenSource
  9. Expander
  10. Lazy
  11. Product
  12. Equals
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MdaPiano(rate: Rate, freq: GE = 440, gate: GE = 1, velocity: GE = 100, decay: GE = 0.8f, release: GE = 0.8f, hardness: GE = 0.8f, velHard: GE = 0.8f, muffle: GE = 0.8f, velMuff: GE = 0.8f, velCurve: GE = 0.8f, stereo: GE = 0.2f, tune: GE = 0.5f, random: GE = 0.1f, stretch: GE = 0.1f, sustain: GE = 0)

    Permalink

    freq

    Frequency of the note in Hz.

    gate

    note-on occurs when gate goes from non-positive to positive; note-off occurs when it goes from positive to non-positive. Most of the other controls are only updated when a new note-on occurs.

    velocity

    velocity (range is 0 to 127)

    decay

    The time for notes to decay after the initial strike.

    release

    The time for notes to decay after the key is released.

    hardness

    adjusts sample key-ranges up or down to change the "size" and brightness of the piano.

    muffle

    gentle low pass filter.

    stereo

    Width of the stereo effect (which makes low notes sound towards the left, high notes towards the right). 0 to 1.

    tune

    Overall tuning.

    random

    Randomness in note tuning.

    stretch

    Stretches the tuning out (higher notes pushed higher).

    sustain

    if positive, act as if the piano's sustain pedal is pressed.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val decay: GE

    Permalink

    The time for notes to decay after the initial strike.

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. val freq: GE

    Permalink

    Frequency of the note in Hz.

  10. val gate: GE

    Permalink

    note-on occurs when gate goes from non-positive to positive; note-off occurs when it goes from positive to non-positive.

    note-on occurs when gate goes from non-positive to positive; note-off occurs when it goes from positive to non-positive. Most of the other controls are only updated when a new note-on occurs.

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. val hardness: GE

    Permalink

    adjusts sample key-ranges up or down to change the "size" and brightness of the piano.

  13. lazy val hashCode: Int

    Permalink
    Definition Classes
    UGenSource → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def left: GE

    Permalink
  16. def makeUGen(_args: Vec[UGenIn]): UGenInLike

    Permalink
    Attributes
    protected
    Definition Classes
    MdaPiano → UGenSource
  17. def makeUGens: UGenInLike

    Permalink
    Attributes
    protected
    Definition Classes
    MdaPiano → Expander
  18. val muffle: GE

    Permalink

    gentle low pass filter.

  19. final def name: String

    Permalink
    Definition Classes
    UGenSource
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. val random: GE

    Permalink

    Randomness in note tuning.

  24. val rate: Rate

    Permalink
    Definition Classes
    MdaPiano → GE
  25. val release: GE

    Permalink

    The time for notes to decay after the key is released.

  26. def right: GE

    Permalink
  27. val stereo: GE

    Permalink

    Width of the stereo effect (which makes low notes sound towards the left, high notes towards the right).

    Width of the stereo effect (which makes low notes sound towards the left, high notes towards the right). 0 to 1.

  28. val stretch: GE

    Permalink

    Stretches the tuning out (higher notes pushed higher).

  29. val sustain: GE

    Permalink

    if positive, act as if the piano's sustain pedal is pressed.

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. val tune: GE

    Permalink

    Overall tuning.

  32. val velCurve: GE

    Permalink
  33. val velHard: GE

    Permalink
  34. val velMuff: GE

    Permalink
  35. val velocity: GE

    Permalink

    velocity (range is 0 to 127)

  36. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from MultiOut

Inherited from SomeOut

Inherited from GE.Lazy

Inherited from GE

Inherited from UGenSource[UGenInLike]

Inherited from Expander[UGenInLike]

Inherited from Lazy

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped