Minim |
|
setParameters |
Description Permits the changing of the ADSR parameters.Signature void setParameters(float maxAmp, float attTime, float decTime, float susLvl, float relTime, float befAmp, float aftAmp) Parameters maxAmp — float: the maximum amplitude for the envelopeattTime — float: the attack time, in seconds decTime — float: the decay time, in seconds susLvl — float: the percentage of the maximum amplitude to maintain after the decay completes relTime — float: the release time, in seconds befAmp — float: the amplitude to apply before the envelope is activated aftAmp — float: the amplitude to apply once the envelope has completed Returns None Related ADSRExample None available Usage Web & Application |