with_sample_bpm string_or_number (sample_name_or_duration)
Block-scoped modification of bpm so that sleeping for 1 will sleep for the duration of the sample.
Introduced in v2.1
num_beats: |
The number of beats within the sample. By default this is 1. |
# Example 1 | |
|
|
# Example 2 | |
|
|