Referencia setADSR()

setADSR()

Sets the attack, decay, sustain, and release times of the envelope.

Ejemplos

Sintaxis

setADSR(attack, decay, sustain, release)

Parámetros

attack
Number: how quickly the envelope reaches the maximum level
decay
Number: how quickly the envelope reaches the sustain level
sustain
Number: how long the envelope stays at the decay level
release
Number: how quickly the envelope fades out after the sustain level

Referencias Relacionadas