Page 1 of 1

Connect a MIDI keyboard to Pure Data[solved]

Posted: Wed Sep 30, 2015 8:14 pm
by alexandros301
I'm trying to connect a MIDI keyboard to Pure Data on a Raspberry Pi B. Having launched Pd (Pure Data) and the MIDI heyboard connected to the Pi via USB, I type this

Code: Select all

aconnect -lio
and I get this

Code: Select all

client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 20: 'nanoKEY' [type=kernel]
    0 'nanoKEY MIDI 1  '
I can't see Pure Data there... can anyone help me out?

Re: Connect a MIDI keyboard to Pure Data[solved]

Posted: Sat Oct 03, 2015 7:12 am
by alexandros301
I managed to do it finally. I launched Qjackctl and then Pd with the -jack flag, but in Pd's Media I set it to use ALSA-MIDI, instead of OSS-MIDI. Then in Qjackctl I clicked on "Connect" and hit the "ALSA" tab. There I connected my MIDI keyboard to Pd and Pd could finally see it.
It's a Raspberry Pi B, and it has a very long latency in responding to key presses of the MIDI keyboard.
Anyway, now I need to find a way to do this whole thing from a terminal.