You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create an App that connects to Bluetooth MIDI devices without using the default iOS Bluetooth MIDI menu. Why? Because I want to create a more visually pleasing experience for the user and handle automatic reconnection to the device.
The way I am trying to do this is by connecting the device like a normal BLE device and create a MIDI object associated to it. Then whenever the BLE MIDI service updates its characteristic (to send MIDI data) I would use the BLE call back function and stream the data through the MIDI object.
I am using MIKMIDI because it simplifies the whole process, but my question is what MIDI object shall I use?
When I sue the default iOS menu the BLE device appears as a MIDI Device, so my initial thought was to create a MIDI device with driver parameter NULL and connect a MIK MIDI Client to its endpoint to handle the BLE data.
But it fails creating the device (OSStatus -50)
I have also tried to use a MIDI External Device Class, but it has no endpoints to which connect the MIK MIDI Client.
Anybody has a better idea on how to accomplish this?
The text was updated successfully, but these errors were encountered:
Hi Andrew and everybody, this is a question.
I am trying to create an App that connects to Bluetooth MIDI devices without using the default iOS Bluetooth MIDI menu. Why? Because I want to create a more visually pleasing experience for the user and handle automatic reconnection to the device.
The way I am trying to do this is by connecting the device like a normal BLE device and create a MIDI object associated to it. Then whenever the BLE MIDI service updates its characteristic (to send MIDI data) I would use the BLE call back function and stream the data through the MIDI object.
I am using MIKMIDI because it simplifies the whole process, but my question is what MIDI object shall I use?
When I sue the default iOS menu the BLE device appears as a MIDI Device, so my initial thought was to create a MIDI device with driver parameter NULL and connect a MIK MIDI Client to its endpoint to handle the BLE data.
But it fails creating the device (OSStatus -50)
I have also tried to use a MIDI External Device Class, but it has no endpoints to which connect the MIK MIDI Client.
Anybody has a better idea on how to accomplish this?
The text was updated successfully, but these errors were encountered: