softVol_:
Filter:
Reference | JITLib > GUI

softVol_

set a nodeproxy's vol conditionally

Description

Extension method to NodeProxy to set vol conditionally.

softVol

setter.

Arguments:

val

the volume value to set to

within

the normalized range within which the set is accepted

pause

a flag whether to pause the nodeproxy when volume is 0. waits for 0.2 seconds for volume to go down first.

lastVal

the previous value that the controller has set - can be

spec

a ControlSpec can be passed in. if nil, \amp.asSpec is used.

Examples