Implemented midi support`

This commit is contained in:
patben8 committed 2026-11-03 22:56:19 +01:00
1 parent f55b8f06e4
commit 8d0817b39e
41 files changed
+2827 -26

No files matched your search

@@ -36,6 +36,7 @@ export function DeckTempo({ deck, master, synced, syncBlocked, onSync, onMaster,
return (
<div className="flex h-9 shrink-0 items-center gap-2">
<button
data-midi-action={`deck.${deck.channel}.keylock`}
onClick={() => setKeylock(!keylock)}
disabled={!keylockAvailable}
aria-pressed={keylock}
@@ -51,6 +52,7 @@ export function DeckTempo({ deck, master, synced, syncBlocked, onSync, onMaster,
KEY
</button>
<button
data-midi-action={`deck.${deck.channel}.sync`}
onClick={onSync}
disabled={!track || (!synced && syncBlocked != null)}
aria-pressed={synced}
@@ -79,6 +81,7 @@ export function DeckTempo({ deck, master, synced, syncBlocked, onSync, onMaster,
}}
/>
<Fader
midi={`deck.${deck.channel}.pitch`}
orientation="horizontal"
value={pitch}
min={-1}