alexandros301
Posts: 18
Joined: Thu Jan 22, 2015 9:52 am

Connect a MIDI keyboard to Pure Data[solved]

Wed Sep 30, 2015 8:14 pm

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?

alexandros301
Posts: 18
Joined: Thu Jan 22, 2015 9:52 am

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

Sat Oct 03, 2015 7:12 am

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.

Return to “Interfacing (DSI, CSI, I2C, etc.)”