A piano synthesiser (originally a VST plugin by Paul Kellett, ported to SC by Dan Stowell). This UGen is not polyphonic (but can be retriggered to play notes in sequence).
This UGen is stereo - it returns two channels, with a stereo "wideness" effect controlled by the stereo argument. It has lots of parameters:
Frequency of the note
note-on occurs when gate goes from nonpositive to positive; note-off occurs when it goes from positive to nonpositive. Most of the other controls are only updated when a new note-on occurs.
velocity (range is 0 to 127, default 100)
The time for notes to decay after the initial strike (default 0.8)
The time for notes to decay after the key is released (default 0.8)
Width of the stereo effect (which makes low notes sound towards the left, high notes towards the right). 0 to 1.
Randomness in note tuning (default 0.1)
Stretches the tuning out (higher notes pushed higher)
If positive, act as if the piano's sustain pedal is pressed.