Extension method to NodeProxy to set vol conditionally.
setter.
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, |