Go Back   Cockos Incorporated Forums > REAPER Forums > MIDI Hardware, Control Surfaces, and OSC

Reply
 
Thread Tools Display Modes
Old 11-29-2019, 04:17 PM   #1
ilovesoca
Human being with feelings
 
Join Date: Nov 2019
Posts: 3
Default Windows 10 UWP API Integration for BLE MIDI handling from CME XKEY, Korg Microkey Air

Windows 10 UWP API Integration for BLE MIDI handling from CME XKEY, Korg Microkey Air

My BLE MIDI devices don't show up in Reaper's device list, or don't work properly. My CME Xkey air doesn't show up at all, and my Korg MicroKey Air shows up but "isn't found" or there's another error (sorry, I'll have to document it later).

Currently, I use MidiBerry to route the incoming CME XKey Air signal to a virtual Loopmidi port, which is then recognized by Reaper. I use WindsynthBerry

NewBodyFresher's MidiBerry and WindSynthBerry appear to be the only apps that can recognize and route Bluetooth midi signals from my XKey Air. A representative of CME itself said they don't know of any other software that implements Microsoft's UWP API for MIDI properly and they recommend purchasing a special hardware receiver, the WIDI Bud.

For the Korg MicroKey Air, using Korg's BLE driver, other MIDI routing apps like MidiTrix can also route incoming and outgoing signals to a loopMIDI port.

This appears to be the solution, but I don't know if it can be easily integrated into a non-UWP app https://docs.microsoft.com/en-us/win...eo-camera/midi

Last edited by ilovesoca; 11-29-2019 at 04:19 PM. Reason: Additional information
ilovesoca is offline   Reply With Quote
Old 11-29-2019, 11:28 PM   #2
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 8,706
Default

AFAIU, "Bluetooth Midi" in Windows is a totally different subsystem than the "Midi devices" subsystem that all Midi aware Software can connect to. (I forgot the correct name of this "Bluetooth Midi" subsystem (is this "UWP" / "BLE" ? ) but - other than all other Windows device drivers for any type of hardware - it somehow is based on C# that no decent developer who has realtime programming in mind will use. So it's just a queer idea by Microsoft.)

Hence Midi hardware that only provides "Bluetooth Midi" drivers will not (decently) work with software that does not come bundled with same.

Some time ago there have been some threads in these forums on "Bluetooth Midi" (I seem to remember that "WIDI" was mentioned there, as well) and I seem to remember that there is some (free) software that creates a standard Midi driver from "Bluetooth Midi" devices but I don't know the name nor where to find it.

Apart from this, Bluetooth might not be realtime aware enough to use "Bluetooth Midi" for Live performing.

See
-> https://forum.cockos.com/showthread.php?t=194579
-> http://newbodyfresher.linclip.com/ (see Viedo)
-> https://www.microsoft.com/en-us/p/mi...ot:overviewtab

-Michael

Last edited by mschnell; 11-30-2019 at 04:45 AM.
mschnell is online now   Reply With Quote
Old 02-26-2020, 08:07 PM   #3
ilovesoca
Human being with feelings
 
Join Date: Nov 2019
Posts: 3
Default

Thank you for the reply! I forgot to turn notifications on so I just noticed it now.

I ended up purchasing the dedicated USB receiver, a "WIDIbud" for my CME. The WIDI Bud promises to minimize latency below what the built in bluetooth radio and drivers can provide and it does appear to lower latency to a level barely distinguishable from wired, which is great. It costs 75 CAD which is too expensive for me to pair with my three wireless keyboards and one Yamaha UD-BT01, so I think I will just stick with the single WIDIbud for now.

It's interesting what you say about the differences between types of drivers in Windows, because CME (XKey Air) and Korg (Microkey Air) provide different solutions. CME's driver must be purely "Bluetooth MIDI", while Korg provides a driver which is sometimes recognized by Reaper but does not work consistently. In both cases, NewBodyFresher's MIDIBerry + Tobias Erikson's LoopMIDI is an acceptable (if slightly annoying) solution, and the WIDIbud is best, but expensive (the CME WIDIbud can connect with other bluetooth MIDI devices, including the KORG Microkey Air, but pairing with new devices when changing keyboards is also a little annoying).

The thread you linked is also quite interesting and surprisingly heated for a niche topic like this!

I have to say I don't fully understand why NewBodyFresher can implement a MIDI router that detects "Bluetooth MIDI" but Reaper cannot - but I guess it has something to do with C# and UWP.

Thanks again, Michael.
ilovesoca is offline   Reply With Quote
Old 03-01-2020, 10:38 AM   #4
Nana
Human being with feelings
 
Join Date: Jul 2015
Posts: 48
Default

The Korg BLE-MIDI driver is actually usable for any BLE-MIDI device that can be paired in Windows via a standard BLE dongle.
This establishes standard MIDI ports usable by any software.

https://www.korg.com/us/support/down.../0/530/#driver

After installing the driver package just install it manually to a coupled device via device manager, if MIDI ports do not show up automatically.
Nana is offline   Reply With Quote
Old 03-02-2020, 07:30 AM   #5
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 8,706
Default

They state:
Quote:
The proprietary KORG BLE-MIDI Driver now allows fast and simple wireless connection between your Windows PC and KORG Bluetooth enabled keyboard (such as the nanoSTUDIO series and microKEY Air).
Any idea what exactly "KORG Bluetooth" is supposed to mean ?
-Michael
mschnell is online now   Reply With Quote
Old 03-05-2020, 10:01 AM   #6
Nana
Human being with feelings
 
Join Date: Jul 2015
Posts: 48
Lightbulb

Never knew something like "KORG Bluetooth" exists.
There is Bluetooth.
The KORG BLE-MIDI Driver1.12 r42019.07.05 does not destinguish between Korg and non-Korg devices. It just works, if the device is BLE MIDI and can be paired to the Windows PC. So what?
Nana is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.