Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Since the release of Windows 8 Developer Preview I have been pushing our Multimedia group to add MIDI support for Windows Store apps. On April 4th, 2014 I achieved victory. This year at //build we announced the preview release of the Musical Instrument Digital Interface (MIDI) APIs for Windows Store apps. With this announcement you can now create Windows Store apps that can interface with the veritable plethora of MIDI keyboards, synthesizers and mixers that have shipped over the last three decades. That’s right you can now add a touch first XAML interface to your Roland JP-6 via any Windows 8.1 device! This means that musicians, audio engineers, DJs and lighting designers can be empowered to create unique experiences with your software while leveraging the full range of Microsoft Windows 8.1 devices.
The new MIDI APIs are not simple wrappers around the classic Win32 MIDI APIs. These new APIs have been built from the ground up. Our intent here is to create a consistent and extensible platform for the future of MIDI app development. We have focused on simplicity and ease of use. We parse the MIDI data for you and offer it up using the standard WinRT object oriented architecture. We hope that this will allow any WinRT programmer to leverage their existing knowledge to quickly come up to speed on these new APIs. That said we haven’t forgotten about all that custom MIDI parsing code you’ve been using in your apps since the dawn of MIDI. We also make the raw data available to you to party on as you see fit.
There are a number of things to consider before writing a new MIDI enabled app or adding MIDI support to an existing app. First and foremost the new MIDI APIs are still in preview (as of this writing). This is why you see “WindowsPreview” as the namespace prefix rather than “Windows”. Because these APIs are still in preview there is a chance that they may change when the final version is released. That said the current preview version of these APIs comes with a “go live” license. In essence we believe that these new APIs are solid and stable enough to enable you to use them in your apps right now. We will almost certainly tweak the APIs based on your feedback, so you may need to mod your app when the final version is released. That said we will continue to support the preview APIs for existing apps until such time that a vast majority of apps have migrated to the final release. So rest assured the MIDI preview APIs are ready to rock.
There are a few other “gotchas” when developing apps using the new MIDI APIs:
I hope you are as excited about the advent MIDI support in WinRT as I am. I can’t wait to see the new and innovative MIDI apps you add to the store.
Resources:
NuGet: Windows Runtime API for MIDI Preview 1.0.0
-James
"Music is a higher revelation than all wisdom and philosophy." ~ Ludwig von Beethoven
Please sign in to use this experience.
Sign in