Enable and disable bpm scaling
use_arg_bpm_scaling
[bool (boolean)]
Turn synth argument bpm scaling on or off for the current thread. This is on by default. Note, using rt for args will result in incorrect times when used after turning arg bpm scaling off.
Introduced in v2.0
|
use_bpm 120 play 50, release: 2 sleep 2 use_arg_bpm_scaling false play 50, release: 2 sleep 2 |
# release is actually 1 due to bpm scaling # actually sleeps for 1 second # release is now 2 # still sleeps for 1 second |
|
use_bpm 120 play 50, release: rt(2) sleep rt(2) use_arg_bpm_scaling false play 50, release: rt(2) sleep rt(2) |
# Interaction with rt # release is 2 seconds # sleeps for 2 seconds # ** Warning: release is NOT 2 seconds! ** # still sleeps for 2 seconds |