sync cue_id (symbol)
Pause/block the current thread until a cue heartbeat with a matching cue_id is received. When a matching cue message is received, unblock the current thread, and continue execution with the virtual time set to match the thread that sent the cue heartbeat. The current thread is therefore synced to the cue thread. If multiple cue ids are passed as arguments, it will sync on the first matching cue_id. By default the BPM of the cueing thread is inherited. This can be disabled using the bpm_sync: opt.
Introduced in v2.0
| bpm_sync: |
Inherit the BPM of the cueing thread. Default is true |
| # Example 1 | |
|
|
|
| # Example 2 | |
|
|
|
| # Example 3 | |
|
|
|
| # Example 4 | |
|
|
|