GithubHelp home page GithubHelp logo

winmmwrp's Introduction


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.

F.A.Q.

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.

License

See LICENSE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.