document setcps in cycles reference

This commit is contained in:
Aurel Bílý
2025-06-30 12:17:24 +02:00
parent caf6686d01
commit 504fe9ed40
+2
View File
@@ -67,6 +67,8 @@ Or using 2 beats per cycle:
s("bd sd, hh*4")`}
/>
You can use the `setcps` method to set the global tempo in cycles per second. `setcpm(x)` is the same as `setcps(x / 60)`.
<Box>
To set a specific bpm, use `setcpm(bpm/bpc)`