loopers icon indicating copy to clipboard operation
loopers copied to clipboard

keyboard bindings?

Open bburdette opened this issue 1 year ago • 4 comments

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

bburdette avatar Dec 24 '23 06:12 bburdette

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

bburdette avatar Dec 24 '23 20:12 bburdette

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.

eldstal avatar Mar 16 '24 13:03 eldstal

@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.

bburdette avatar Mar 17 '24 12:03 bburdette

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

eldstal avatar Mar 18 '24 21:03 eldstal