Just because this stuff isn’t obvious:
I have my M-Audio KeyStudio 25 keyboard working as an input device for MuseScore under Ubuntu 16.04. Steps I used:
- Plugged in the keyboard.
- Started MuseScore. I had version 2.0.2 installed because that’s what Ubuntu Software Center finds and installs.
- Edit > Preferences > I/O. Checked PortAudio. Nothing obvious happened.
- Clicked OK.
- Quit and restarted MuseScore.
- Edit > Preferences > I/O. Now API is ALSA and Device is default. Good.
- Went into note entry mode, mashed some keys on the MIDI keyboard, they got entered. Huzzah.
But I had a later version of MuseScore on my Mac, so I uninstalled it in Ubuntu Software Center, then went to https://launchpad.net/~mscore-ubuntu/+archive/ubuntu/mscore-stable and followed the instructions:
- sudo add-apt-repository ppa:mscore-ubuntu/mscore-stable
- sudo apt-get update
- sudo apt-get install musescore
But then I had to do:
- Edit > Preferences > I/O. MIDI Input is ALSA, Midi Through Port-0. Changed it to ALSA, USB O2 MIDI 1.
- Clicked OK.
- Quit and restarted MuseScore.
- Went into note entry mode, mashed some keys on the MIDI keyboard, they got entered. Huzzah again.
