load mode list

This commit is contained in:
🪞👃🪞 2025-08-03 20:55:45 +03:00
parent 3c8616deba
commit e9f912f4d9
5 changed files with 137 additions and 116 deletions

80
config/profiles.edn Normal file
View file

@ -0,0 +1,80 @@
(module :transport
(name "Transport")
(info "A JACK transport controller.")
(keys :clock)
(keys :global)
:view/transport)
(module :arranger
(name "Arranger")
(info "A grid of launchable clips arranged by track and scene.")
(mode :editor (keys :editor))
(mode :dialog (keys :dialog))
(mode :message (keys :message))
(mode :device-add (keys :device-add))
(mode :browser (keys :browser))
(mode :rename (keys :pool-rename))
(mode :length (keys :pool-length))
(mode :clip (keys :clip))
(mode :track (keys :track))
(mode :scene (keys :scene))
(mode :mix (keys :mix))
(keys :clock)
(keys :arranger)
(keys :global)
:view/dialog
(bsp/w :view/meters/output
(bsp/e :view/meters/input
(stack/n (fixed/y 2 :view/status/h2) :view/tracks/inputs
(stack/s :view/tracks/devices :view/tracks/outputs :view/tracks/names
(fill/xy (either :mode/editor
(bsp/e :view/scenes/names :view/editor)
:view/scenes)))))))
(module :groovebox
(name "Groovebox")
(info "A sequencer with built-in sampler.")
(mode :browser (keys :browser))
(mode :rename (keys :pool-rename))
(mode :length (keys :pool-length))
(keys :clock)
(keys :editor)
(keys :sampler)
(keys :global)
:view/dialog
(bsp/w :view/meters/output
(bsp/e :view/meters/input
(bsp/w
(fill/y (align/n (stack/s :view/midi-ins/status
:view/midi-outs/status
:view/audio-ins/status
:view/audio-outs/status
:view/pool)))
(bsp/n (fixed/y :h-sample-detail (bsp/e (fill/y (fixed/x 20 (align/nw :view/sample-status)))
:view/sample-viewer))
(bsp/e (fill/y (align/n (bsp/s :view/status/v :view/editor-status)))
(bsp/e :view/samples/keys
:view/editor)))))))
(module :sampler
(name "Sampler")
(info "A sampling soundboard.")
(keys :sampler)
(keys :global)
:view/dialog
(bsp/s (fixed/y 1 :view/transport)
(bsp/n (fixed/y 1 :view/status)
(fill/xy :view/samples/grid))))
(module :sequencer
(name "Sequencer")
(info "A MIDI sequencer.")
(mode :browser (keys :browser))
(mode :rename (keys :pool-rename))
(mode :length (keys :pool-length))
(keys :editor)
(keys :clock)
(keys :global)
:view/dialog
(bsp/s (fixed/y 1 :view/transport) (bsp/n (fixed/y 1 :view/status)
(fill/xy (bsp/a (fill/xy (align/e :view/pool)) :view/editor)))))

View file

@ -1,74 +0,0 @@
(module :transport
(name "Transport")
(info "A JACK transport controller.")
(bind :keys/clock)
(bind :keys/global)
:view/transport)
(module :arranger
(name "Arranger")
(info "A grid of launchable clips arranged by track and scene.")
(bind :keys/editor :focused/editor)
(bind :keys/dialog :focused/dialog)
(bind :keys/message :focused/message)
(bind :keys/device_add :focused/device-add)
(bind :keys/browser :focused/browser)
(bind :keys/rename :focused/pool-rename)
(bind :keys/length :focused/pool-length)
(bind :keys/clip :focused/clip)
(bind :keys/track :focused/track)
(bind :keys/scene :focused/scene)
(bind :keys/mix :focused/mix)
(bind :keys/clock)
(bind :keys/arranger)
(bind :keys/global)
:view/dialog
(bsp/w :view/meters/output
(bsp/e :view/meters/input
(stack/n (fixed/y 2 :view/status/h2) :view/tracks/inputs
(stack/s :view/tracks/devices :view/tracks/outputs :view/tracks/names
(fill/xy (either :focused/editor
(bsp/e :view/scenes/names :view/editor)
:view/scenes)))))))
(module :groovebox
(name "Groovebox")
(info "A sequencer with built-in sampler.")
(bind :keys/browser :focused/browser)
(bind :keys/rename :focused/pool-rename)
(bind :keys/length :focused/pool-length)
(bind :keys/clock)
(bind :keys/editor)
(bind :keys/sampler)
(bind :keys/global)
:view/dialog
(bsp/w :view/meters/output (bsp/e :view/meters/input (bsp/w (fill/y (align/n (stack/s :view/midi-ins/status
:view/midi-outs/status
:view/audio-ins/status
:view/audio-outs/status
:view/pool)))
(bsp/n (fixed/y :h-sample-detail (bsp/e (fill/y (fixed/x 20 (align/nw :view/sample-status))) :view/sample-viewer))
(bsp/e (fill/y (align/n (bsp/s :view/status/v :view/editor-status))) (bsp/e :view/samples/keys :view/editor)))))))
(module :sampler
(name "Sampler")
(info "A sampling soundboard.")
(bind :keys/sampler)
(bind :keys/global)
:view/dialog
(bsp/s (fixed/y 1 :view/transport)
(bsp/n (fixed/y 1 :view/status)
(fill/xy :view/samples/grid))))
(module :sequencer
(name "Sequencer")
(info "A MIDI sequencer.")
(bind :keys/browser :focused/browser)
(bind :keys/rename :mode/pool-rename)
(bind :keys/length :mode/pool-length)
(bind :keys/editor)
(bind :keys/clock)
(bind :keys/global)
:view/dialog
(bsp/s (fixed/y 1 :view/transport) (bsp/n (fixed/y 1 :view/status)
(fill/xy (bsp/a (fill/xy (align/e :view/pool)) :view/editor)))))