MIDI input works for playback but not for note input

• Aug 31, 2017 - 12:29

I am using my launchkey 25 MIDI keyboard with musescore 2. I plugged it in, and then opened musescore. The keyboard playback works when a stave is selected, but when I enter note input mode, I can not enter notes with the MIDI keyboard, only using the onscreen keyboard or by typing in notes. Notes on the MIDI keyboard show up on the on-screen keyboard, even when note input mode is enabled, but no sound is made when note input mode is on, and no notes appear on the stave. Any ideas?


Comments

If you first enter a note using another method, does your keyboard then start working to add notes to the first note, forming a big chord? If so, then it seems your keyboard is failing to send note off messages - that is what MuseScore needs to see in order to know a note has been entered. otherwise it keeps waiting to see if you want to add more notes to the current chord. So you will need to consult the documentation for your keybaord to see if there is a way to get it to send these. All MIDI keyboards should do so by default, but apparently some models don't.

In reply to by robert leleu

I tested 2 MIDI keyboards which are seen by aplaymidi under Ubuntu 17.04
leleu@leleu-portable:~$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
20:0 E-MU XMidi1X1 Tab E-MU XMidi1X1 Tab MIDI 1

leleu@leleu-portable:~$ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
20:0 miditech MIDI I/O miditech MIDI I/O MIDI 1

however none appears en score2.1

In reply to by Marc Sabatella

Update: I have tested the keyboard with Garageband, and it works totally fine, leading me to think that it is something to do with musescore. I also can not find any way to change the preferences of my MIDI keyboard... you just plug it in and it works, there aren't any drivers or anything. Still can't find a fix.

In reply to by Marc Sabatella

I've looked at the user manual and there is nothing on how to turn on note-off messages. In the "MIDI implementation" table at the bottom of the manual, note-off messages are checked "yes" in the column for transmission, which suggests that they are on by default. I still don't have any idea on what to do.

I have the (same?) problem under Mscore 2.1 (Ubuntu 17.04)
The onscreen keyboard sizes notes
The external MIDI keyboard doesn't. It doesn't appear in the Preferences>I/O tab, where pulseaudio is selected, and in the Preferences>Edition tab "MIDI in" is activated

In reply to by robert leleu

Here some further investigations, successful for a native USB keyboard, but not for a MIDIconnecting one equipped with Xmidi1xi Tab E-MU

Connecting a keyboard to musescore
1/Alsa is running and receives events from the keyboard, as demonstrated by the following lines
leleu@leleu-portable:~$ aconnect -i
client 0: 'System' [type=noyau]
0 'Timer '
1 'Announce '
client 14: 'Midi Through' [type=noyau]
0 'Midi Through Port-0'
client 24: 'miditech MIDI I/O' [type=noyau,card=2]
0 'miditech MIDI I/O MIDI 1'
leleu@leleu-portable:~$ aseqdump -p24
Waiting for data. Press Ctrl+C to end.
Source Event Ch Data
24:0 Active Sensing
24:0 Note on 0, note 59, velocity 83
24:0 Note off 0, note 59
24:0 Note on 0, note 60, velocity 65

2/Mscore starts configured on Pulseaudio
the keyboard events don't impact mscore

3/Mscore starts configured on portaudio. (or Alsa audio)
Mscore is seen by aconnect
leleu@leleu-portable:~$ aconnect -i
client 0: 'System' [type=noyau]
0 'Timer '
1 'Announce '
client 14: 'Midi Through' [type=noyau]
0 'Midi Through Port-0'
client 20: 'miditech MIDI I/O' [type=noyau,card=1]
0 'miditech MIDI I/O MIDI 1'
client 128: 'MuseScore' [type=utilisateur,pid=3391]
2 'MuseScore Port-0'
Keybord "plays" mscore

4/ same as previous but keyboard is MIDI connected through a MIDI-USB adaptator, which is seen (as MIDI-through) by aconnect
leleu@leleu-portable:~$ aconnect -i
client 0: 'System' [type=noyau]
0 'Timer '
1 'Announce '
client 14: 'Midi Through' [type=noyau]
0 'Midi Through Port-0'
client 20: 'E-MU XMidi1X1 Tab' [type=noyau,card=1]
0 'E-MU XMidi1X1 Tab MIDI 1'
However aseqdump receives no information
leleu@leleu-portable:~$ aseqdump -p20
Waiting for data. Press Ctrl+C to end.
Source Event Ch Data
However the MIDI-USB association is seen
leleu@leleu-portable:~$ amidi -l
Dir Device Name
IO hw:1,0,0 E-MU XMidi1X1 Tab MIDI 1

Do you still have an unanswered question? Please log in first to post your question.