Logic MIDI control surface issue (Native Instruments)

Hi there, I'm experiencing a rather specific issue.

Perhaps like many of you I use Native Instruments hardware and plugins in combination with Logic Pro X. I use a Komplete Kontrol A49 and a Maschine Mikro MK3. I'm unsure if my problem is related to Logic, Mac or Native Instruments or a combination. That's why I decided to ask about it here as well as on the NI forums.


I use tow Native Instruments Midi controllers. An "Komplete Kontrol A49" keyboard and a "Maschine Mikro MK3" pad controller. The Mikro has no control surface mapping in logic but I was able to manually map the buttons to the key commands.


Then the following happend: after while of functioning perfectly I starting up my Mac and logic I got an "Error initializing CoreMidi", and my controllers stopped functioning. In my mind I did nothing to induce this. While troubleshooting I did the following: "Preferences > Reset all preferences except key commands" which seemed to do nothing. Then I did the following: "Preferences > MIDI > Reset all MIDI drivers". Again, nothing seemed to happen other than me not getting the error anymore. Nevertheless, the MIDI devices still weren't working. Then under the MIDI menu I discovered the tab "Inputs". It kind of freaked me out because it was showing the following: 




The "Maschine Mikro MK3" and "Komplete Kontrol A DAW" show up dozens of times, and I don't know why. All of them were set to "On". I manually deactivated all the grayed out listings and only left the white listings activated, like you can see on the images. This helped and the devices are working again, however for some reason all my manual mappings for the Maschine Mikro MK3 seem to be "gone".


My main question is: why do I have so many listings of duplicate midi inputs? How do I prevent this from happening? And how can I clean out the MIDI Inputs list?

I have a theory that I might have had the "Error initializing CoreMidi" because Logic was detecting way to many inputs. But I am in no way an expert on this.


It would be amazing if someone would be able to clarify what is happening here..


As for my lost manually mapped keybindings: they are still visible in the "Key commands" menu under the "Assignments" for the specific commands, but they don't function when the corresponding button is pressed. When I map the buttons again it shows up as the exact same input command. The only difference is that the new mapping works, and the old one doesn't.


Even though I got it working again for now I'm terrified of it happening again because of all the work involved of re-mapping everything. Additionally all these duplicate MIDI inputs freak me out.. Is anyone familiar with this problem?

MacBook Pro 15”, 10.14

Posted on Feb 11, 2019 7:55 AM

Reply
Question marked as Top-ranking reply

Posted on Feb 11, 2019 12:01 PM

Go to Utilities then Audio-MIDI Setup, it defaults to Audio, got to the "Window" menu and select MIDI Studio.

Delete all of the MIDI devices which are inactive.


This often comes from plugging/unplugging your devices, and/or using several USB ports.

Similar questions

13 replies

Feb 12, 2019 8:51 AM in response to DanielAGK

This will reset your Control Surfaces to default

With Logic not running:

In the Finder, choose Go > Go to Folder from the menu.

Type ~/Library/Preferences in the "Go to the folder" field. (note: the ~ is included, it takes you to the hidden user Preferences)

Press the Go button.

Move the com.apple.logic.pro.cs file to a safe place, like your desktop.


The next time Logic is run, the Control surface file is rebuilt. If there no change you can always move your previous .cs file back to user preferences.



Feb 18, 2019 9:12 AM in response to Pancenter

Hi Pancenter,

Sorry to take so long, it's been a hectic weekend. I still have the intention to do some testing with the Minilogue MIDI driver to see if I can duplicate the issue, but I'm pretty sure that was the problem, since everything has been working fine since removing it. As far as the "duplicate midi inputs on device restart", we discussed this on the NI forum and it's getting reported as a "bug". Apparently it was unrelated to why the errors were occurring.. You've been of great help, so thank you again!

Feb 12, 2019 12:47 PM in response to Pancenter

The MIDI Drivers folder under ~/Library appears empty to me.

The MIDI Devices folder only seems to contain the Generic device you mentioned. If I look in the MIDI drivers folder in that same location it only shows "KorgUSBMIDIDriver.plugin" which I'm pretty sure is the USB MIDI driver for my Korg Minilogue, which I currently have disconnected while troubleshooting this issue.

Feb 13, 2019 8:41 AM in response to DanielAGK

So you're running the Latest Mojave OS? What are your computer specs?

Does Maschine Mikro and Komplete Kontrol install Drivers or Software of any kind?


Normally, we experienced audio/MIDI types never upgrade anything on a working system without an extensive check to make sure our hardware is 100% compatible. Also, when Upgrading to a new OS or when performing any system upgrades it's wise to unplug all uf the USB audio gear. Makes it easier on the system upgrade. Looking online at your hardware... there are Firmware and Software Updates available. It's imperative the firmware updates are installed, then the new software drivers. To give you an idea how cautious I am, my main studio computer 2010-MacPro runs Logic 9 and Snow Leopard, a secondary system iMac runs Sierra and the latest Logic, mainly because everything works. At the rate Apple upgrades computer software and changes specs it is difficult for manufacturers to keep up.


So, the Korg MIDI driver needs an update, or the hardware itself may need a firmware upgrade to be Mojave compatible.

Any word from NI on the other instruments?

Feb 13, 2019 1:18 PM in response to DanielAGK

Apple used to be more concerned with this when "Pro" requirements were a priority, unfortunately that hasn't been the case for a while. Logic users have pretty much been demoted to auxiliary Beta testers. Some might think that's a bit harsh but it keeps getting proven over and over again. Logic is still excellent software but it's difficult to keep it current with each new OS release. When an older system running Snow Leopard and Logic 9 can outwork a newer, far more powerful computer with the latest OS, something is wrong. I finally gave up writing to Logic developers.

If you find out anything from the NI forum, please post back.

I also understand what you're saying about being careful with the updates, but somehow, in my mind I thought the Pro series were designed exactly to accommodate these types of "heavy" usage and integration. I always felt that the Mac OS was better with driver integration etc.

Feb 12, 2019 9:47 AM in response to Pancenter

Hi Pancenter,

Thanks again for your help. I did like you suggested. The only thing that happened is that Logic auto detected the Komplete Kontrol A49, like it would when you plug it in the first time. After rebooting my system again I once again got the Error initializing CoreMidi, and another duplicate set of inputs for the Maschine Mikro MK3 and Komplete Kontrol A DAW (I'm not quite sure what this second one relates to). The long list of MIDI inputs didn't get cleaned up by this either I'm afraid.


I suspect some of the inactive (greyed out) duplicates that are generating the "Error Initializing Core Midi" errors, and I found that after deactivating these "old" versions and keeping the new ones to set to "On" the devices will function normally once I restart Logic. However as you can probably imagine this problem keeps repeating itself with every reboot..



Feb 12, 2019 3:21 PM in response to DanielAGK

you wrote:

>>Then the following happened: after while of functioning perfectly I starting up my Mac and logic

>>I got an "Error initializing CoreMidi", and my controllers stopped functioning.


What changed, did you upgrade the Mac Operating System or download a Logic upgrade?

What MacOS are you using?


There is both a Minilouge System-updater from May 2018 and a USB MIDI Driver update from Jan 11th 2019 a month ago, are you using that driver. This could all be caused by an incompatible MIDI Driver.


https://www.korg.com/us/support/download/product/0/544/#software



Feb 13, 2019 7:40 AM in response to Pancenter

Hi Pancenter,


I did run a normal system update when I got prompted by my Mac about a week ago. Before that I updated everything I could when I got it in December. I did some more testing and verified that the Komplete Kontrol A49 is generating the " Komplete Kontrol A DAW" duplicates and the Maschine Mikro is generating the "Maschine Mikro MK3" Midi input duplicates.


I did install the Monologue driver at a later point (somewhere in January perhaps) but the problems didn't start exactly when I installed it. Just to eliminate it as a factor though I uninstalled the driver using Korg's uninstaller. This is what happened: until I uninstalled the driver I would get the CoreMidi error every startup (this only started in the last couple of days). I just uninstalled it and rebooted my system a couple of times to test. I'm no longer getting the CoreMidi Error (or haven't yet) but the duplicate midi inputs are still getting generated.

Feb 13, 2019 12:40 PM in response to Pancenter

Hi again!


Thanks again for all the effort you are putting in. It's hard to convey on the internet, but it's really appreciated.


I have a new MacBook Pro 15" 2018 with 16gb, 2,6 Ghz Intel Core i7. Everything is as up to date as I can get it.

The Native Instruments controllers have their own software (basically sound libraries) that you can also run as a plugin in your DAW. When first using/installing the controllers you go through a 4 step program on their site that helps you install the software and update the firmware: https://www.native-instruments.com/en/specials/komplete/komplete-kontrol-setup/ which I did for both devices in the manner specified (and did again when the issues started occurring).


On the NI forum we've been going over this as well there are a lot of similarities with the steps you are proposing. Someone tested with his/her Mikro as well and noticed that in Logic the another MIDI input for the Mikro would get created every time the device has been powered down and powered back on again. So at least we've determined that it isn't unique to my system. I'm hoping we can still figure out why the duplicates get generated (if only to prevent it from causing issues in the future) and how to purge the MIDI inputs list in logic. Somehow it doesn't feel like a good idea to have hundreds or thousands of midi inputs accumulating in that list..


My current assessment is that both issues might be unrelated: I likely got the CoreMidi Errors from the Korg Minilogue drivers which caused all midi devices to become inactive. While looking for the issue I stumbled upon the MIDI input duplicates and assumed both issues were connected since I haven't really working with the Minilogue when these problems started occurring.


Tomorrow I'll try and and do some tests with the Minilogue USB/MIDI driver, see if their forums have some information on this and if its possible to update the Minilogue firmware.


I also understand what you're saying about being careful with the updates, but somehow, in my mind I thought the Pro series were designed exactly to accommodate these types of "heavy" usage and integration. I always felt that the Mac OS was better with driver integration etc.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Logic MIDI control surface issue (Native Instruments)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.