fbpx
Skip to main content

MIDI Forum

How to get started ...
 
Notifications
Clear all

How to get started implementing MIDI 2.0 on a device?

4 Posts
6 Users
0 Reactions
70 Views
Jim Hewes
Posts: 1
New Member
Topic starter
 

I'd like to get started implementing MIDI 2.0 on a device. My first thought was that I would need a tool, an application on the OS side that would send valid MIDI 2.0 messages to my device according to the specifications. It would start by going through the process of capability inquiry, etc. I assume that tool is the MIDI 2.0 Workbench.

But oh man, did you have to write this thing in javascript? I'm working on Windows 11. Does this thing work on Windows? It claims to. But the process you need to go through to get it running looks quite convoluted. NodeJS, nvm, python 2.7?, yarn?, and I don't know what else. I'm not familiar with any of that stuff. (I'm primarily C/C++)

Has anyone done a step-by-step explanation how to get this running on Windows. Or just how to get started developing for devices when your OS is Windows? Can that even be done yet? I hope you don't tell me I need to install Linux as well. It would be so much easier if I just had MIDI 2.0 Workbench as a Windows executable then I could start right away.

I have seen a video on YT about how to install Workbench on Mac and I guess I'll resort to following that if there's no alternative. But it looks different than Windows.

Thanks.

This topic was modified 2 weeks ago by Jim Hewes
 
Posted : 05/09/2024 12:48 pm
The MIDI Association
Posts: 11
Admin
 

Here is some information copied from the Microsoft website.

Windows MIDI Services

This project is the next-generation MIDI API for Windows, including MIDI 1.0 and MIDI 2.0 (MIDI CI, and MIDI 2.0 UMP). It includes enhancements, a new USB class driver, new transports, and essential tools. The project adds many enhancements and bug fixes to our MIDI 1.0 support, and importantly adds support for the latest revisions to MIDI 2.0 as approved by The MIDI Association.

The open source USB MIDI 2.0 driver has been generously donated by AMEI, the Association of Musical Electronics Industry, and developed by AmeNote ™️ in partnership with Microsoft. Please see the file headers for any additional copyright notices. A huge thank you to AMEI and its member companies for making this happen!

This is an official Microsoft project. Although Microsoft is an active member of the MIDI Association, and Pete is the chair of the MIDI Association Executive Board, and other contributors are on standards boards, this project is not affiliated with the MIDI Association other than as a consumer of and contributor to the standards. Affiliation with AMEI is disclosed above.

Here's a high-level view of the end goal of this project. Details subject to change.

Here are the links to Microsoft MIDI services and documentation. 

https://github.com/microsoft/midi#windows-midi-services

https://github.com/microsoft/midi?tab=readme-ov-file#key-documentation

 

 
Posted : 05/09/2024 2:49 pm
The MIDI Association
Posts: 11
Admin
 

You should also probably look at this website. 

https://midi2.dev/

MIDI2.dev aims to promote the adoption of MIDI 2.0 by providing tools and libraries useful to developers. Resources include C++ Libraries, USB helpers, testing applications, and more from leading contributors to the MIDI 2.0 specifications. Our repositories are at  https://github.com/midi2-dev

 

 
Posted : 05/09/2024 2:50 pm
Andrew Mee
Posts: 48
Admin
 

Posted by: Jim Hewes

Has anyone done a step-by-step explanation how to get this running on Windows. Or just how to get started developing for devices when your OS is Windows? Can that even be done yet? I hope you don't tell me I need to install Linux as well. It would be so much easier if I just had MIDI 2.0 Workbench as a Windows executable then I could start right away.

Yes I would like to supply a Windows executable that is downloadable 🙂
Once the new Windows MIDI Services is released then I will go back to creating binaries.

Here is a step by step that should work:

1. Install https://nodejs.org/dist/v18.20.4/node-v18.20.4-x64.msi
2. install yarn https://yarnpkg.com/getting-started/install
3. Install all the required tools and configurations using Microsoft's windows-build-tools by running npm install -g windows-build-tools from an elevated PowerShell (run as Administrator).
4. git clone https://github.com/midi2-dev/MIDI2.0Workbench.git (or download the zip)
5. go into the MIDI 2.0 Workbench directory with powershell
6. type "yarn" and hit enter
7. type "yarn run build" and hit enter - this will create a Windows excutable for you in the build/dist dir.

 

 
Posted : 05/09/2024 3:27 pm
Share: