Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyboard bindings? #30

Open
bburdette opened this issue Dec 24, 2023 · 4 comments
Open

keyboard bindings? #30

bburdette opened this issue Dec 24, 2023 · 4 comments

Comments

@bburdette
Copy link

Is there a list of keyboard bindings anyplace? Would like to use keypresses to control it from my USB foot pedal. Thx!

@bburdette
Copy link
Author

Also, is it possible to issue commands from a script, like from bash? Is midi the only external command type?

@eldstal
Copy link

eldstal commented Mar 16, 2024

This probably isn't the best answer, but the midimonster project lets you convert between various signal and event formats such as MIDI, Joysticks, keyboard input, etc.

You can configure it to take exclusive control of your foot pedal, and then get it to send MIDI signals for the various "keypresses" from the pedal.

Midimonster has JACK support, but it hasn't been stable for me. As a fallback, it works well to use a2jmidid to forward ALSA MIDI devices (i.e. midimonster) into the JACK system and from there you can plug it into loopers.

@bburdette
Copy link
Author

@eldstal that all sounds like a huge pain, lol. I've started using ardour to record my practice loops instead and that's a nice solution. Would be nice to have a simple looper controllable by a foot pedal but if I have to use jack and route midi and etc then forget it.

@eldstal
Copy link

eldstal commented Mar 18, 2024

Oh, if you're not using JACK in the first place it doesn't need it. Midimonster is just a handy way to turn whatever controller you do have into a MIDI controller, so you can use it in applications that don't support other protocols.

If anyone else comes by looking for a solution, here's an example configuration that is sufficient:

[backend evdev]
  detect = on

[evdev kbd]
  device = /dev/input/my_footpedal_device
  output = keys
  exclusive = on


[backend midi]
  name = MidiMonster
  detect = on

[midi footpad]
  write = "Midi Through"


[map]
  kbd.EV_KEY.KEY_SPACE > footpad.ch0.note9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants