MIDI Keyboard Input do not works in Musescore 2 and Ubuntu 14.4
My system: Ubuntu 14.4
Musescore 2.0.0
Keyboard: MIDISTART 2
After upgrade to 2.0: Musescore are not more listed in aconnectgui and MIDI keyboard input is not working anymore..
Any ideas how to work out this problem?
Thank you in advance,
Marco
p.s.: removing 2.0 and installing 1.3 solve the problem, MIDI is working without problems with the old version of Musescore. My solution at the moment ist to work with 1.3 in Ubuntu and to use 2.0.1 with Wine.
Comments
Can you report this to the ubuntu packagers? Maybe it's due to different dependencies. https://bugs.launchpad.net/ubuntu/+source/musescore
In reply to Can you report this to the by [DELETED] 5
yes, good idea, I'll do it immediately
I was recently using Ubuntu Studio 15.04, was having problems with midi, and I remember fixing it by using JACK instead of ALSA. I also remember installing "sudo apt-get install a2jmidi" to allow me to access the midi device via JACK. https://help.ubuntu.com/community/UbuntuStudioPreparation#Alsa_and_Jack…
In reply to I was recently using Ubuntu by ericfontainejazz
Thank you eric, but:
Terminal after sudo apt-get install a2jmidi:
"Impossibile trovare il pacchetto a2jmidi"
In reply to Thank you eric, but: Terminal by marcoambrosini
Looks like it is actually "a2jmidid"
In reply to Looks like it is actually by ericfontainejazz
I have already the last version but no chance with musescore...
In reply to I have already the last by marcoambrosini
Usually you have to start the JACK server with qjackctl, then you start musescore (make sure in Edit->Preferences->I/O you are set to use Jack and have "Use Jack Midi" checked...it that was not already set before, then you need to restart musescore), and then you may have to open the qjackctl connections and draw a line from the midi keyboard into the musescore as input.
The following worked for me:
connect the keyboard
start musescore
Enter Settings, I/O (not shure how it is called, in german it is E/A)
check Port Audio
restart musescore
Settings IO: there should be API:ALSA, device: default
now it works
In reply to The following worked for by Petro Bos
Thank you very much! I spent several hours trying to figure how to make it work, I've installed JACK, broke sound system. After your comment I got it in 2 minutes.
In reply to The following worked for by Petro Bos
Thank you Petro - https://musescore.org/en/user/643436
Thank you thank you.
This fixed things for me I don't know why but it did.
I also removed all jack stuff from my machine (ubuntu lx-qt 16.04 64 bit).
A shame but my life will be simpler.
Again Thank you.
Jon
In reply to The following worked for by Petro Bos
You rock Pedro!
In reply to You rock Pedro! by mangueLinux
Portaudio also worked for me on Ubuntu 15.10 and AKAI Lpk25 . Could hear the sound immediatetly after restart, so happy. Thanks !!
Ok but it breaks the playback sound for my case...
I found a solution to have both MIDI keyboard input and sound, with using jack and a couple hours of research. I'm running Ubuntu 14.04 and Musescore 2.02, with MIDI keyboard Akai LPK25.
Create a .jackdrc file on your "home" directory containing the following:
/usr/bin/jackd -d alsa --device hw:0 --rate 44100 --period 128 --midi-driver raw
The last
--midi-driver raw"
is essential for jackd being able to mix the midi keyboard into musescore. Musescore will pick up automatically the .jackdrc when launched, and will start jackd.Now launch musescore, Edit > Preferences > I/O. Select "Jack", tick both "Use MIDI jack" and "Use sound jack".
Launch qjackctl (install it if not there). This is the GUI that enables you to connect ports together.
In qjackctl, click on "Connect". In the connection dialog select the "MIDI" tab, you should see both musescore ("mscore") and "system" ports (thanks to the --midi-driver raw trick above).
Select the port "midi_capture" under "system" on the left, and the port "mscore-midiin-1" in "mscore" on the right. Click on "Connect". A line should be now drawn between the two ports.
Quit qjackctl.
I noticed that the connection is persistent, therefore each time I start musescore everything is ready to play! (no need to go through qjackctl again)
Below the most useful posts I found if you need more details thanks to the authors!):
http://tedfelix.com/linux/linux-midi.html (however I did not need to remove pulseaudio)
https://wiki.archlinux.org/index.php/JACK_Audio_Connection_Kit
--Rk