home/ atoms/ sc-pbind-tempo

Pbind durations are in beats; a TempoClock sets BPM, defaulting to 60 BPM if none is provided

All \dur values in Pbind are measured in beats. At the default 60 BPM, 1 beat = 1 second. To play at a different tempo, pass a TempoClock to .play: Pbind(...).play(TempoClock(120/60)) gives 120 BPM. Many time-based constructs in SC (fork waits, pattern durations) are in beats and scale with the clock. Omitting a TempoClock argument silently uses 60 BPM. Multiple Pbinds sharing the same TempoClock stay in sync; different clocks allow independent tempos.

Examples

Pbind(\degree, Pseq([0,1,2,3]), \dur, 1)
  .play(TempoClock(120/60)); // 120 BPM, 1-beat notes

Assessment

Write a Pbind that plays 4 notes per second at 120 BPM. What \dur value achieves this? Change the clock to 90 BPM — what \dur now produces the same physical note rate?

“Thevaluesyouprovidetothe\durkeyofaPbindareinnumberofbeats,thatis,1means oneb eat,0.5meanshalfab eat,andsoon.”
corpus · a-gentle-introduction-to-supercollider-bruno-ruviaro · chunk 5