Packages

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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MdaPiano
  2. Serializable
  3. MultiOut
  4. SomeOut
  5. Lazy
  6. GE
  7. UGenSource
  8. Expander
  9. Lazy
  10. Product
  11. Equals
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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)

    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. val decay: GE
  2. val freq: GE
  3. val gate: GE
  4. val hardness: GE
  5. lazy val hashCode: Int
    Definition Classes
    UGenSource → AnyRef → Any
  6. def left: GE
  7. val muffle: GE
  8. final def name: String
    Definition Classes
    UGenSource
  9. def productElementNames: Iterator[String]
    Definition Classes
    Product
  10. val random: GE
  11. val rate: Rate
    Definition Classes
    MdaPianoGE
  12. val release: GE
  13. def right: GE
  14. val stereo: GE
  15. val stretch: GE
  16. val sustain: GE
  17. val tune: GE
  18. val velCurve: GE
  19. val velHard: GE
  20. val velMuff: GE
  21. val velocity: GE