OteyPiano:
Filter:
sc3-plugins/Classes (extension) | UGens > PhysicalModels

OteyPiano
ExtensionExtension

Piano physical model.

Description

Should not use this class but OteyPianoString instead (see example) for having only one soundboard for all strings which is more efficient.

Digital wave guide physical model of a piano wrapping the code provided by Clayton Otey.

It is important to release synth once finished because because it is CPU expensive.

Class Methods

.ar

Arguments:

freq

Sound frequency.

vel

Key pulsation velocity. Betwen 0 and 1.

t_gate

Retriggers note, use a TriggerControl for not retriggering continuosly.

rmin

minimum string radio

rmax

maximun string radio

rampl

radius left sigmoidal shape.

rampr

radius right sigmoidal shape.

rcore

cord nucleus radio.

lmin

minimum string length.

lmax

maximum string length.

lampl

lenght left sigmoidal shape.

lampr

lenght right sigmoidal shape.

rho

string density multiplier.

e

young modulus multiplier.

zb

bridge impedance multiplier.

zh

hammer impedance multiplier.

mh

mass hammer multiplier.

k

force hammer multiplier.

alpha

hysteresys hammer multiplier.

p

stiffness_exponent_hammer multiplier.

hpos

hammer position. (0 to 1)

loss

string loss factor.

detune

detuning among 3 strings.

hammer_type

1 is Stulov model, 2 is Banks model.

Examples