Categories: Sound

Raspberry Pi as USB MIDI Host

Raspberry Pi 3 B+ USB MIDI Host

Using Raspberry Pi as a USB MIDI host is very simple.

Connect your MIDI USB instrument or keyboard to Pi and tie them together using a “aconnect” command (ALSA sequencer connection manager).

Example, if I want to play Korg NTS-1 with Arturia Minilab MK2.

“aconnect -l” command will give below result.

pi@raspberrypi:~ $ aconnect -l

client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 24: 'Arturia Minilab mkII' [type=kernel,card=2] 
    0 'Arturia MiniLab mkII MIDI 1'
client 28: 'NTS-1 digital kit' [type=kernel,card=1]
    0 'NTS-1 Digital Kit MIDI 1' 

“aconnect 24 28” command will connect them together (aconnect sender receiver) and I can play NTS-1 via Minilab keyboard.

Type “aconnect -l” again to verify connection.

pi@raspberrypi:~ $ aconnect -l

client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 20: 'CH345' [type=kernel,card=1]
    0 'CH345 MIDI 1    '
client 24: 'Arturia MiniLab mkII' [type=kernel,card=2]
    0 'Arturia MiniLab mkII MIDI 1'
        Connecting To: 28:0
client 28: 'NTS-1 digital kit' [type=kernel,card=3]
    0 'NTS-1 digital kit MIDI 1'
        Connected From: 24:0

Pi 3 B+ have 4 USB port and if you need more gear to connect then easily expend using USB hub.

If fancy add a small oled screen to display connection status.

I prefer manual way to do but if you want to automatic connection between gear check-out this article.

When I don’t use as a MIDI host it’s playing internet radio 24hr using Modipy.

Eunjae Im

View Comments

  • Hi. Thanks for the information, im trying to connect I am trying to connect my BOSS katana Mk2 with my MIDI pedalboard. Do you think it is possible to do it?

Recent Posts

바닷속에 치과/피부과가 있다? 내셔널지오그래픽 다큐 감독의 바다 이야기

https://youtu.be/C5ub-2du6MI 바닷속에 치과/피부과가 있다? 바닷속의 치과/피부과 클리닝 스테이션(clearing station), 해양 생물의 공생, 기생 그리고 편리공생에…

11 months ago

물고기도 말을 할까?

https://youtu.be/xJC2CmJOYCY 물고기들도 말을 할까요? 수중 생물들은 어떤 소리를 낼까요? 수중에서 소리 녹음에 관한 이야기도 같이…

3 years ago

Volca Drum + DIY Arduino Midi Clock + Effects

https://youtu.be/vhgJNg8MuMw I added some effects (PO like?) to my DIY arduino midi clock. All effects…

3 years ago

How to use USB MIDI keyboard with NTS-1 or Volca?

https://youtu.be/w0S2LI26fGk How to use USB MIDI keyboard such as a Arturia MiniLab with Korg NTS-1…

3 years ago

Sidechain Gate & Compressor in REAPER

https://youtu.be/ZV4MI0iQF8M This is how I use sidechain gate & compressor in REAPER.

3 years ago

DAW Audio Output (ASIO) into OBS Studio for Live Streaming

https://youtu.be/2NfxFDVchmg Live streaming DAW music production using a OBS Studio but keep using a ASIO…

3 years ago