View Issue Details

IDProjectCategoryView StatusLast Update
0000896OpenMPTGeneralpublic2017-06-23 21:58
ReporterDave McCool Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionunable to reproduce 
Platformx64OSWindowsOS Version7
Product VersionOpenMPT 1.26.07.00 / libopenmpt 0.2-beta20.3 (upgrade first) 
Summary0000896: Midi keyboard shows up after opening MPT but doesn't always work
Description

I have an AKAI LPK 25 USB midi keyboard and use it with MPT with usually no issues, but sometimes after I plugin the keyboard then open MPT, the keyboard shows up in the midi tab (see attached image) but when I try to play the keyboard, nothing happens and I hear no sounds from the samples/instruments and it won't work and often it won't work until I restart my computer. Is there a way to fix this?

TagsMidi
Attached Files
MPT_Midi.jpg (192,077 bytes)   
MPT_Midi.jpg (192,077 bytes)   
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2016-11-29 22:40

administrator   ~0002800

As long as OpenMPT receives MIDI messages, it will record them - so it is most likely a driver issue. Have you tried closing and reopening the MIDI connection in OpenMPT?

Dave McCool

Dave McCool

2016-11-29 22:57

reporter   ~0002801

How do you do close and reopen the MIDI connection? I have unplugged my keyboard and plugged it back in while OpenMPT was running and it didn't change anything.

Saga Musix

Saga Musix

2016-11-29 22:59

administrator   ~0002802

How do you do close and reopen the MIDI connection?

See here: https://wiki.openmpt.org/Manual:_Frequently_Asked_Questions#MIDI_Input_does_not_work

I have unplugged my keyboard and plugged it back in while OpenMPT was running and it didn't change anything.

That's a bad idea, there is no way for OpenMPT (or other programs) to know that the device got plugged out and in again. In that case, OpenMPT is very likely to no longer receive until you re-open the MIDI connection (see above).

Dave McCool

Dave McCool

2016-11-30 00:33

reporter   ~0002803

Ok the only "Enable MIDI recording " box I found was "Enable MIDI recording when lanching OpenMPT" so I unchecked it, closed OpenMPT and reopened it and checked the box, tested it, nothing, then I closed MPT and reopened it and still nothing, but I know its working fine as I could use my computer keyboard and play notes fine.

Saga Musix

Saga Musix

2016-11-30 00:37

administrator   ~0002804

Uhm, you you applied the FAQ entry in the opposite way than it is supposed to be. If you uncheck "Enable MIDI recording when lanching OpenMPT" and restart OpenMPT, then it <b>no longer activates MIDI recording by default</b>, so it is no wonder that now it doesn't work for you anymore. The important part of that FAQ entry is that you should click on the <b>MIDI Record</b> icon which is displayed on the right side of the FAQ entry so that it is activated; And in particular, if it was activated and you are no longer able to receive MIDI messages, you should click it twice so that MIDI input is closed and then re-opened.

Dave McCool

Dave McCool

2016-12-09 16:20

reporter   ~0002808

Uhm, you you applied the FAQ entry in the opposite way than it is supposed to be. If you uncheck "Enable MIDI recording when lanching OpenMPT" and restart OpenMPT, then it no longer activates MIDI recording by default, so it is no wonder that now it doesn't work for you anymore. The important part of that FAQ entry is that you should click on the MIDI Record icon which is displayed on the right side of the FAQ entry so that it is activated; And in particular, if it was activated and you are no longer able to receive MIDI messages, you should click it twice so that MIDI input is closed and then re-opened.

No its not that, I always had the midi enabled but it didn't always work when enabled, like I mentioned, so I though maybe unchecking the enable Midi record box, closing MPT and restarting it and checking the box to enable it again would solve the issue. It didn't. I am still getting that sometimes the midi will work, sometimes it won't until I restart my PC and restart MPT and even then it might not always work.

Saga Musix

Saga Musix

2016-12-09 17:02

administrator   ~0002809

That still sounds like a driver or device problem then. When MIDI stops working even after restarting OpenMPT, try if any other application receives MIDI (try SendSX from https://www.bome.com/products/sendsx) - if OpenMPT does not receive any MIDI messages, neither should SendSX.
Also, always make sure that only one application accesses the MIDI port at a time, because most MIDI drivers do not support more than that.

Saga Musix

Saga Musix

2017-06-23 21:58

administrator   ~0003087

Without any further information, there is nothing we can do here.

Issue History

Date Modified Username Field Change
2016-11-29 22:38 Dave McCool New Issue
2016-11-29 22:38 Dave McCool File Added: MPT_Midi.jpg
2016-11-29 22:38 Dave McCool Tag Attached: Midi
2016-11-29 22:40 Saga Musix Note Added: 0002800
2016-11-29 22:57 Dave McCool Note Added: 0002801
2016-11-29 22:59 Saga Musix Note Added: 0002802
2016-11-30 00:33 Dave McCool Note Added: 0002803
2016-11-30 00:37 Saga Musix Note Added: 0002804
2016-12-05 22:36 Saga Musix Status new => closed
2016-12-05 22:36 Saga Musix Resolution open => no change required
2016-12-05 22:36 Saga Musix Has the bug occurred in previous versions? Yes =>
2016-12-09 16:20 Dave McCool Status closed => feedback
2016-12-09 16:20 Dave McCool Resolution no change required => reopened
2016-12-09 16:20 Dave McCool Note Added: 0002808
2016-12-09 17:02 Saga Musix Note Added: 0002809
2017-06-23 21:58 Saga Musix Status feedback => closed
2017-06-23 21:58 Saga Musix Resolution reopened => unable to reproduce
2017-06-23 21:58 Saga Musix Note Added: 0003087