![]() ![]() ![]() At least KM can respond to MIDI System Realtime messages just fine (with the Raw Packet MIDI trigger). I actually tried recreating what I did in Hammerspoon with KM but I gave up (for now). Determines whether the hotkey combination can be assigned a callback. Hammerspoon works by writing mostly Lua scripts, another similar tool that may be more user-friendly (but not free) is Keyboard Maestro. Signature, hs.hotkey.assignable(mods, key) -> boolean. I want to have several global keybinds that change depending on the active application. Unfortunately Hammerspoon seems to have a bug reacting to system Realtime messages. That way it wouldn't be necessary to have MIDI event on a region on some track at position 1 1 1 1. Use a for option (AKA alt) Use f for command. Now you can: Use h / j / k / l for left / down / up / right respectively. (Whoa.) It's optimized for keeping you on the home row, or very close to it. The way I was hoping to do this was by using the MIDI Start command that gets sent out at position 1 1 1 1 when sending MIDI Clock from Logic. It's like a secret keyboard inside your keyboard. When it gets to Bar 1, I "switch" to Playback mode by having a MIDI message (in a region) on position 1 1 1 1, which is sent out via a MIDI port that Hammerspoon is "listening" to and when it receives the MIDI message it sends the keystroke to trigger the Play command (Numpad Enter on my setup). The following keys are configured as hot keys in their respective apps (or in Keyboard Maestro) - send ESCAPE if no other keys are pressed. Since I'm doing this from Bar 1, it jumps back -4 bars. Hamerspoon config examples for hyper key. With another keystroke, I'm setting the Count-In to 4 Bars (same as above) then triggering the Record command. With one keystroke, I'm setting the Count-In to 2 Bars (with some Hammerspoon-triggered Applescript because there's no key command for that) then triggering the Record command (the "R" key on my setup). There's quite a bit happening behind the scenes for that to work and I'm using an automation tool called Hammerspoon. As for what's going on in that GIF, it's nothing you can achieve with Logic alone. In that particular example I'm "recording" to a software instrument track, so no problem going into Record mode. I tried what you tried above and although it worked in many applications, it still didnt work in Chrome. Don't you have to have some track record enabled? 3 Answers Sorted by: 7 I ran into the same problem. I don't get how you "switch" to playback instead of record. Which are best open-source Hammerspoon projects in Lua This list will help you: keyboard, awesome-hammerspoon, stackline, VimMode.spoon, Spoons.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |