sleep - guyjbrown/bleepmanual GitHub Wiki

sleep(duration)

This causes playback to pause for the specified duration, which is in beats (and therefore depends on the BPM). For example, to wait for one beat you would use

sleep(1)

You can also use fractional values. Assuming a time signature of 4/4, a beat is a quarter note - so you can wait for an 8th note by using sleep(0.5) or a wait for a 16th note by using sleep(0.25).