How to use MIDI Keyboard with Musescore

7,828

Solution 1

It's not needed to install any program.

Musescore by default was not using ALSA audio on my installation. It was only needed to select ALSA at preferences menu and it just worked!

preferences menu

to see if the MIDI was recognized just type aconnect -i

pauloh@mccartney:~$ aconnect -i
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]
    0 'CH345 MIDI 1    '

This last 'CH345' is my MIDI controller and it is shown only when connected.

To more details about MIDI I read this article from Rafał Cieślak

Solution 2

In the new MuseScore 3, I couldn't find an ALSA option, until I checked the PortAudio box (I'm on Ubuntu 18.04 LTS):

enter image description here

Seems like they integrated it.

Don't forget to first turn on the piano (and connect it) and then start MuseScore. Works great with the Yamaha P-45 which I connected through USB (which I used here).

me@mycomputer:~$ aconnect -i
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 14: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 20: 'Digital Piano' [type=kernel,card=1]
    0 'Digital Piano MIDI 1'

Solution 3

You need to select PortAudio into MuseScore Preferences I/O panel.

Please, check about the very important parameters:

1) API: To me, at least, it should be ALSA

2) Audio Device: System Default

3) MIDI Input, and MIDI Output: You have to select your recognized external MIDI device here.

Then... Close MuseScore and Open it again.

You will be able to use the external MIDI device BUT... There is some "bugs" because the internal MuseScore way to play the score (it is not full General MIDI Standard compatible).

Share:
7,828

Related videos on Youtube

Paulo Henrique
Author by

Paulo Henrique

Updated on September 18, 2022

Comments

  • Paulo Henrique
    Paulo Henrique over 1 year

    It is my first time using a MIDI keyboard. When connect to the computer I have no idea if it is working. I want to use in Musescore but it also do not respond to the keyboard.

    I'm using an old "Yamaha PSR-520" and a "CH345 MIDI 1" controller from Alliexpress.

  • cincodenada
    cincodenada about 4 years
    In MuseScore 3, this worked for me but when I first activated PortAudio, no options were available. I checked it anyway, said OK, then restarted, and had the options as necessary. I had to set the device to "pulse" (I'm using PulseAudio) before sound would work again.