Windows Multimedia Wrapper for OmniMIDI
Switch branches/tags
Clone or download
Latest commit e4d9064 Nov 7, 2018
Failed to load latest commit information.
winmmwrp Version 1.5 Nov 7, 2018
.gitignore It's finally public! 1.0 Oct 8, 2018
LICENSE Initial commit Oct 8, 2018 Update Nov 7, 2018
winmmwrp.sln It's finally public! 1.0 Oct 8, 2018

A group of functions, that allows you to bypass the Windows Multimedia API, thus getting rid of the lag caused by its slow buffer system.


What does this do?

Windows Multimedia Wrapper (as the name says), wraps around the default multimedia library in Windows, winmm.dll, and allows users to circumvent the extremely slow buffer that Microsoft has set in Windows 8.1 and Windows 10, when using the midiOutShortMsg call.

Why did they make the function slower?

I have no idea really.
Aside from making it slower, the output latency (MIDI app -> MIDI driver) also got worse, since the function seems to make some useless checks on the message, which adds overhead.
I don't know if it's for safety purposes, or they just did something wrong in the function itself.

Was the patch really necessary?

For me and other people, it was.
I really like Black MIDIs, which is a genre of music characterised by its extreme note arts and melodies.
Performance when playing them were okay, when using Windows XP/Vista/7, but Microsoft decided to ruin them on 8.x/10, so we had to find a way around it.
The first iteration of the "wrapper" was literally just copying winmm.dll from Windows 7, and using it on Windows 8.x. That worked fine on everything, until Microsoft decided to make that impossible on Windows 10. Everytime an app tries to load 7's winmm.dll on 10, it'd just throw an error, complaining about a missing ordinal.
For Windows 10, the second iteration was using ReactOS' winmm.dll on Windows 10. That also worked fine, aside from minor issues with the timeGetTime function (Which I fixed in later releases of the file).
Then, I decided to work on a wrapper, which would import the functions from the real Windows Multimedia library (Allowing users to use both Microsoft GS and MIDI input devices), while also getting rid of the lag caused by some weird overhead in midiOutShortMsg (When using my MIDI driver, that is ;P).
Long story short, it was a success. Everything works like it should, and people are happy.

Known bugs

Windows Multimedia Wrapper stock patch

  • None, as far as I know.

Windows Multimedia Wrapper DAW patch

  • None, as far as I know.