mirror of
https://github.com/MrPatben8/konduktor.git
synced 2026-11-27 10:22:51 +01:00
Implemented STEM playback
This commit is contained in:
1 parent
ae03a93f98
commit
ecc0e4c8df
13 files changed
+775
-61
No files matched your search
@@ -10,6 +10,7 @@ interface Props {
|
||||
// says "Cmd/Ctrl" everywhere is harder to scan than one that names your key.
|
||||
const IS_MAC = /Mac|iPhone|iPad/.test(navigator.userAgent)
|
||||
const MOD = IS_MAC ? '⌘' : 'Ctrl'
|
||||
const ALT_KEY = IS_MAC ? '⌥' : 'Alt'
|
||||
|
||||
type Row = { keys: string[][]; action: string }
|
||||
type Section = { title: string; rows: Row[] }
|
||||
@@ -36,6 +37,9 @@ function sections(slots: number): Section[] {
|
||||
{ keys: [['Shift', '←'], ['Shift', '→']], action: 'Previous / next grid marker' },
|
||||
{ keys: [[pads]], action: 'Hotcue — set if empty, else jump (hold to preview)' },
|
||||
{ keys: [['Shift', pads]], action: 'Delete hotcue' },
|
||||
{ keys: [['Q'], ['W'], ['E'], ['R']], action: 'Stem track: mute / unmute stem 1–4' },
|
||||
{ keys: [['Shift', 'Q–R']], action: 'Stem track: solo — mute every other stem (again to unmute all)' },
|
||||
{ keys: [[ALT_KEY, 'Click', 'stem']], action: 'Solo a stem from its lane button' },
|
||||
{ keys: [['Drag waveform']], action: 'Scratch' },
|
||||
{ keys: [[MOD, 'Scroll']], action: 'Zoom the waveform' },
|
||||
{ keys: [['Right-click', 'pad']], action: 'Hotcue type, rename, delete' },
|
||||
|
||||
Reference in new issue
Block a user