Resources
Blog Docs Source Status
Social
Discord IRC Bluesky X/Twitter
Contact
team@tangled.org security@tangled.org
Legal
Terms of Service Privacy Policy

Sign in Join now
hackermusic 2000.nyc /
Star Starred Star 0
Something went wrong. Try again.
Fork 0
Eye filled Watch Watching Watch
Star Starred Star 0
Something went wrong. Try again.
Fork 0
Eye filled Watch Watching Watch
Overview Overview Issues Issues Pulls Pulls Pipelines Pipelines
hackermusic /src /lib /player /shift-node.ts
9.2 kB · 178 lines
TypeScript
at main

Download Open raw file
2000.nyc
· The deck has two things to move now, and they are not the same thing: how fast it turns, and at what pitch it turns. `[`/`]` shift the key a semitone at a time over ±2 octaves while the record keeps its tempo; `{`/`}` remain the varispeed they were, an octave of tape speed where pitch and tempo move together, and the tempo readout says what is actually being heard under it — the one number in the bar that has to be scaled, because tempo is a fact about the listener while the pulse below it is measured in buffer seconds and doubles on its own, which is why the two are scaled in different currencies rather than one being wrong. `\` locks the key against the speed, so a record played at twice the speed stays in the key that was asked for rather than being dragged up with it, and the readout says `·lock` only when the lock is the thing doing the work; `|` puts the key, the lock and the speed back at once. `:key`, `:lock`, `:shift` and `:octave` say the same things in words, with `:pitch` and `:transpose` beside `:key` and `:speed`/`:varispeed`/`:tempo` beside `:octave` — two verbs, deliberately two verbs, because they move two different things and an alias that crossed them would be the bug. · 2mo ago
2a2e42d9