Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

C++ MIDI CONTROL ANY PROGRAM OR EVEN HARDWARE

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,452
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 27, 2010

C++ READ/WRITE MIDI

This program uses the Win32 API to open a MIDI Device and receive signals from it

The default MIDI protocol has 3 parameters
Type : Example 128 down 144 up
Channel : example 60 middle c 61 c# 32 d etc.
Velocity : how hard key was pressed example 20 barely 120 hard

for each key pressed on a midi keybaord you recieve 6 values
3 when down 3 when up

This is my test program to send keys to a program to control it by emulating keyboard events to it.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (cybraxcyberspace)

  • Hey man this is a very cool program. I am planning on doing something similar, but with an added GUI to show the notes being pressed on the midi keyboard. What libraries / packages did you use to accomplish this?

  • @zellster in this example i used the Windows MIDI API straight up from windows

    however later on i found this which i find much better and easier

    midiio.sapp.org

  • @cybraxcyberspace Yeah I've looked at website, that looks like the library I will use. How complicated was it to make this program? And much total code did you end up having? Thanks for help.

  • @zellster With the midiiolib Quite easy I use visual studio created an empty c++ project added the files and set the project parameters, compiled instantly no problem for me, to read and display is maybe 5 lines (no other fancy stuff) 3 examples are included which are really easy to understand.

    Good luck.

see all

All Comments (5)

Sign In or Sign Up now to post a comment!
  • @cybraxcyberspace could you explain what you mean by project parameters? I had a go at trying to get it going in Visual Studio but have had no luck.

    Was it the files in the /src or /include directory you added?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more