The triptych, audible. raw: the wobbly source drifts
off the metronome. varispeed (chapter 07's engine):
beats lock, key changes. granular (this chapter):
beats lock, key does not — the same per-segment rates, sampled as
grains instead of played as tape speed. The default source is a
synthetic arpeggio so the pitch difference is unmissable; drop in
real audio + its .beats map for the full effect.
grainSchedule(), first rows from output 0.5 s
The source-delta column is RULE (grain advance) live:
consecutive grains advance the source by
outputHop × rate — the last column recovers the local
rate. Shrink the grain to hear warble, grow it to hear smearing;
at 50% overlap the Hann windows sum to exactly 1 (COLA).
| outputSec | sourceSec = s(p) | Δsource | Δsource / hop = rate |
|---|