USB Midi
USB-Midi Software
Links:
https://wiki.archlinux.org/index.php/USB_MIDI_keyboards https://bugs.archlinux.org/task/44286
- Insert module manually, only since the 3.19 kernels and following:
# modprobe snd_seq_midi
- Check loaded USB Midi module:
# lsmod | grep usb
- Check your hardware, for presence:
$ lsusb $ amidi -l $ aconnect -i or aconnect lio
- Check your hardware, for actual input:
aseqdump -p ##
(where you should replace ## with the client number of your keyboard from aconnect -i)
- Create connection in patchage:
$ a2jmidid -e
(After starting jack)
USB-Midi Hardware
The Ubiquitous Korg:
http://www.korg.com/us/products/controllers/nanokontrol2/ 0944:0117 KORG, Inc. nanoKONTROL2 MIDI Controller
The Korg Setup software is an .exe, but works with wine
The Hungarian Pedal:
http://www.ebay.fr/usr/guitar.fun.stuff?_trksid=p2047675.l2559
- is on the Linux-USB list of vendor IDs
http://www.linux-usb.org/usb.ids
as:
05e4 Free shared USB VID/PID pair for MIDI devices
and returns here as it should as:
ID 16c0:05e4 Van Ooijen Technische Informatica Free shared USB VID/PID pair for MIDI devices
The short manual on the ebay page reads as follows:
Plug and play, no driver or installation needed. Just plug it into a free USB slot and your OS will recognize it. Choose USB Midi device in your software settings and you're ready to go. Two controller mode: * Mode 1: Changing whole presets. The controller sends program change messages. The LEDs indicates which preset is working. * Mode 2: To activate this mode, press buttons 2&3&4. To change back to mode 1, press buttons 1&2&3 (All LEDs will blink for half a second to indicate this). In mode 2 the controller sends control change messages. It allows you turn functions/effects on and off individually. The LEDs indicate their status. In mode 2, press a button for 10 seconds to switch to momentary mode. (All LEDs will blink for half a second to indicate this). It allows you to use non-on/off functions like 'previous/next preset', 'tape deck play' etc. The LEDs do not light up in momentary mode since it's unnecessary. External pedal input. You can connect any standard pedal with a 6.3mm (¼ inch) stereo jack. Using an “insert” or “Y-shaped” cable. To use the full range of the pedal you may have to calibrate it. Calibration: Step 1:turn the pedal to minimum position and press button 1 AND button 3. (All LEDs will blink for half a second to indicate this). Step 2:turn the pedal to maximum position and press button 1 AND button 4. (All LEDs will blink for half a second to indicate this) The device will save the calibration data so you only have to do it once.
More on Vendor IDs: http://www.eevblog.com/forum/projects/usb-vendor-product-ids/
List of Linux-recognized VIP/PIDs: http://www.linux-usb.org/usb.ids
The Full Monty: HugarianPedal + IDJC + D::Light
0. Set your pedal's keys to Note/Momentary as described above.
1. Create connection in patchage: (After starting jack, by, i.e., starting idjc already.
It doesn't matter, you'll just restart it later. This is needed to provide midi input to IDJC)
$ a2jmidid -e
2. Start qmidiroute
3. Go back to Patchage, after successful launch of the a2jmidid -e daemon and re-launch of IDJC,
4. Go back t qmidiroute, hit Ctrl-G to re-arrange the view, and now connect the following:
From the the a2j Output box (Left one): The RED output labelled: "USB Midi ontroller [XX] (capture): USB Midi Controller MIDI 1"
Goes to BOTH: in the idjc input box (right one) * RED midi_control in the a2j input box (right one) * RED qmidiroute [XXX](playback): in and either create the inputs/outputs pairs needed like this, or load them if you already did it:
(This is to "speak" a language D::Light understand, since it doesn't do Go on CC, and receive all 4 PC from the pedal as the same event)
Hit the "Add New MIDI Route" button to create a new tab; Set input to "controller" Set Channel to 1 / 16 Set Controller to 0 / 96 (that is the value of the first button) Leave value to 0 / 127 Set output to "Note" Set Channel Offset to 0 Set Note Offset to 0 Set Velocity at 0 / 127 Leave ALSA port to 1 Hit "Duplicate" and do the same with Controller to "97" Save your map!
In D::Light / Setup, refresh the Midi section with the blue arrows and select "Out1" In D::Light / Midi, you should see the output when you hit button 3 or 4 of the pedal; assign them as you wish.