Click here to Skip to main content
15,031,937 members
Everything / MIDI

MIDI

MIDI

Great Reads

by honey the codewitch
Provides a complete managed API for working with MIDI files, sequences and devices
by Michael Chourdakis
Create music easily
by Maxim Dobroselsky
Overview of how to send, receive, play back and record MIDI data with DryWetMIDI
by Maxim Dobroselsky
Console application to quantize notes of a MIDI file

Latest Articles

by Maxim Dobroselsky
Overview of how to send, receive, play back and record MIDI data with DryWetMIDI
by Maxim Dobroselsky
Overview of how to use the DryWetMIDI library for high-level managing of a MIDI file data
by LeisureBamboo
In this article, you will see the steps required to simultaneously play multiple midi file from memory using MCI functions.
by honey the codewitch
Continuing our series with a knob control and a MIDI visualizer

All Articles

Sort by Score

MIDI 

Please Sign up or sign in to vote.
6 Jul 2020
honey the codewitch
Provides a complete managed API for working with MIDI files, sequences and devices
Please Sign up or sign in to vote.
9 May 2019
Michael Chourdakis
Create music easily
Please Sign up or sign in to vote.
27 Jun 2021
Maxim Dobroselsky
Overview of how to send, receive, play back and record MIDI data with DryWetMIDI
Please Sign up or sign in to vote.
14 May 2012
Sergey Alexandrovich Kryukov
If MIDI sound sounds not realistic enough to you (which I understand; it means you have some musical hearing — my congratulations :-)) you can only generate more realistic sound from scratch. It has nothing to do with MIDI: it can carry only as much information as it does, no more.You...
Please Sign up or sign in to vote.
6 Sep 2011
Espen Harlinn
Take a look at DirectShow MediaPlayer in C#[^]The last three links at the bottom of the article is quite good.Best regardsEspen Harlinn
Please Sign up or sign in to vote.
22 Mar 2020
Maxim Dobroselsky
Console application to quantize notes of a MIDI file
Please Sign up or sign in to vote.
12 Jul 2020
honey the codewitch
PianoBox is a customizable musical keyboard control for Windows Forms. This is the first part of MidiUI.
Please Sign up or sign in to vote.
14 Jul 2020
honey the codewitch
Continuing our series with a knob control and a MIDI visualizer
Please Sign up or sign in to vote.
28 Oct 2012
Frank R. Haugen
Take your request here: www.elance.com[^](this isn't the place for it)And 10 euros is about a tenth the marked price for something like that.-frank
Please Sign up or sign in to vote.
2 Feb 2014
OriginalGriff
Pretty much, you can't - there is no direct mechanism for that. However, if you want to contact him because of one of his articles, such as Wrapper Library for Windows MIDI API[^] then there is a Messages section at the bottom of the artcile, which sends an email to the author when you post...
Please Sign up or sign in to vote.
26 Jul 2015
Sergey Alexandrovich Kryukov
As you are not asking about playing music using MIDI and only want to create files, you don't even need to use any library. The full description of the MIDI file format is available. See, in...
Please Sign up or sign in to vote.
1 Dec 2015
George Jonsson
Quote:I found some DLL ID3 . Is that possible do with that ?What library did you find?This might be a good start ID3.NET Tagging Library for MP3s[^]Maybe this what you found already.
Please Sign up or sign in to vote.
24 Nov 2009
c2423
1 alternative  
Hi All,I've been looking at a .Net Midi Library and the only links I can find to the original article/source point towards GotDotNet, which no longer has any content (and doesn't redirect me to anything useful, thanks Microsoft)...I can find the dll on non-MS sites which have copies, but it's import
Please Sign up or sign in to vote.
28 Nov 2009
gabrieldd
1 alternative  
Hi,I'm trying to set up a Midi application. I've got a MID-Form and some other forms which should show up as children.But Calling the show() method (after setting childform.mdiparent to the Mid-Form) does not result in the desired effect. They show modal/ as popup.If I just instance...
Please Sign up or sign in to vote.
28 Nov 2009
AspDotNetDev
This was already asked and answered here. Answering to remove from unanswered questions list.
Please Sign up or sign in to vote.
11 Mar 2010
aldo hexosa
1 alternative  
Does anyone know the meaning of midixml tag I dont know what is velocity. Thanks
Please Sign up or sign in to vote.
12 Mar 2010
merridus
http://www.pal...
Please Sign up or sign in to vote.
3 Jul 2010
WebBiscuit
So far we have concentrated on the 'AII!' part of RAII, so now let's look at the important bit, the R, the Resource.
Please Sign up or sign in to vote.
8 Nov 2010
Tom Dietzel
1 alternative  
Thank you Jeremy Falcon for your article on learning binary and hexadecimal code. It was EXACTLY what I needed.I have been a musician for forty years, but am just starting to learn digital recording and music production with Ableton Live, MIDI Translator, MIDI Yoke and MIDI Ox.I am...
Please Sign up or sign in to vote.
8 Nov 2010
E.F. Nijboer
I didn't read the article of Jeremy Falcon, but this link probably isn't with that much humor and everything else but does have al the info you probably need. http://www.midi.org/aboutmidi/tut_techomidi.php[^]http://www.2writers.com/eddie/TutSysEx.htm[^]Good luck!
Please Sign up or sign in to vote.
6 Sep 2011
groomcw
1 alternative  
I have a project that I've been considering for a while: an application that can convert simple WAV data to MIDI files. There are a few apps out there that do this... none in C#, and definitely none that have a UI worth considering.So I am wondering where someone can start up a group going...
Please Sign up or sign in to vote.
6 Sep 2011
Jackie00100
2 alternatives  
Hi everyone.Me and a group on my university is about to make a "smart/inteligent" jukebox player in C# and we have searched alot on the internet to find some sort of references that can play a number of difference music formats but also is easy to use, but yet no one of us have found...
Please Sign up or sign in to vote.
7 Sep 2011
Jackie00100
I've found a kinda okay good solution by using Microsoft.DirectX.DirectSound kinda easy to use, and have alot of the features i need and also it can play multiple sounds at once so this is yet the best solution but ty to you harlinn anyway.
Please Sign up or sign in to vote.
21 Dec 2011
Valery Possoz
Hello,I don't know anything about Midi (appart from the obvious) but I found this link:C# MIDI Toolkit[^]It seems that there is everything you need in this article.Valery.
Please Sign up or sign in to vote.
21 Dec 2011
Tynycae
1 alternative  
I have seen somewhere that it is possible to cause Midi to stop playing the previous note on a particular channel with a simple command: something like - NoteOn(0, 0, SomeParamHere, (byte)nVelocity);I would appreciate your help.Thanks in advance,Mick
Please Sign up or sign in to vote.
16 Jul 2012
Sergey Alexandrovich Kryukov
Not clear what exactly do you mean by "Note Analysis". It can range from tone recogntion by raw audio input (very difficult matter, related to both Fourier analysis and image recognition, especially difficult of both tones and durations should be recognized in polyphonic input; I simply don't...
Please Sign up or sign in to vote.
28 Oct 2012
ridoy
Code Project isn't a place where people do code for your money.Drop your question here..http://www.freelancer.com/[^]or here..https://www.odesk.com/[^]
Please Sign up or sign in to vote.
18 Feb 2013
jeron1
Possibly this[^] SDK will help.
Please Sign up or sign in to vote.
7 Jul 2013
Sergey Alexandrovich Kryukov
This is the MIDI note #60:http://en.wikipedia.org/wiki/Do_%28musical_note%29[^].Besides, you could do the following: 1) take any MIDI library which allows you to send at least basic MIDI messages and write code capable of sending notes of your choice, so you could here them; 2) listen to...
Please Sign up or sign in to vote.
5 Jul 2013
hirosht
1 alternative  
Please be kind enough to not to say this as a silly question. Honestly asking after refering to several links on google.I am in need of a API which generates MIDI tone/tune in C#. Currently I'm implementing a "Basic Optical Music Recogntion and Interpreting Application" without any OMR API...
Please Sign up or sign in to vote.
6 Jul 2013
Richard MacCutchan
Take a look at C# MIDI Toolkit[^].
Please Sign up or sign in to vote.
30 Sep 2013
SaurabSaini
1 alternative  
Hello Freinds, I have made a dialog based Piano application in which i am handling Multitouch messages . I have two classes One is CMIDIKeyboard in which i am handling touch down messages as followsLRESULT CMIDIKeyboard::OnTouchMessage( WPARAM wParam, LPARAM lParam ){ //Insert handler...
Please Sign up or sign in to vote.
30 Sep 2013
xenotron
Here is what I recommend: Write a much simpler program that only logs out the touch events (or put logging into this one) and try to find out whats going wrong.There is another thing in you code that is bug for sure (but you could find this out by reading the docs:...
Please Sign up or sign in to vote.
28 Oct 2013
Kenneth Haugland
Midi files are binary files[^], which you can convert into text files with different channels etc.The sheet music convertion is quite complicated, there are after all a reason that people sell these things at a rather steep price...[Edit]You could try a search here thoug, C# MIDI...
Please Sign up or sign in to vote.
2 Feb 2014
Tim Riley in South River
4 alternatives  
Hi, I would like to ask a specific member, Leslie Sanford, a question about MIDI programming in C#. How do I do that please?ThanksTim Riley in South River
Please Sign up or sign in to vote.
12 Dec 2014
Baz Judd
1 alternative  
I have 3 devices available to be opened by the toolkit, but as soon as I callnew OutputDevice(0)I get an error message saying 'No device driver'. I can open input devices OK.
Please Sign up or sign in to vote.
1 Dec 2015
Member 11865398
1 alternative  
Hi, Am doing desktop player application. In that player main feature is showing lyrics while playing mp3 file song.I found some DLL ID3 . Is that possible do with that ? or any other third party libs available do this ?Any Ideas / suggestion need.Am using for development1#....
Please Sign up or sign in to vote.
26 Oct 2018
cassanelligiovanni
2 alternatives  
Hi, I'm a programming student and in these last years I touched various programming languages : C++, Java, Javascript, Python. For my third year project I was planning to develop a Music Loop Software that acquire up to 8 inputs from an external audio interface and loop them in different...
Please Sign up or sign in to vote.
26 Oct 2018
MadMyche
There really is no right answer for you on this, as it is primarily opinion based as well as the users comfortability within the various languages. The only thing that you can eliminate from the list is JavaScript which is mostly limited to a browser. There are GIT/NuGet packages for just...
Please Sign up or sign in to vote.
26 Oct 2018
Rick York
I agree with MadMyche's answer. I would add to that - first find a MIDI library that looks good to you. There are a few of them here. If OS portability is really important to you then you need to find a MIDI library that is also portable. That could prove to be challenging but I don't know...
Please Sign up or sign in to vote.
5 Apr 2020
Stewart Lindenberger
1 alternative  
I am working (on a Windows PC) in VS 2019, and VB, creating a program to generate new simple Bach chorale style music. I have been working on this project off and on over the decades. It is now starting to produce some very simple chord sequences...
Please Sign up or sign in to vote.
5 Apr 2020
Richard MacCutchan
See Developing MIDI applications with DirectMusic[^]
Please Sign up or sign in to vote.
25 Apr 2020
px330
1 alternative  
I Use Wpf. I parse a midi file and use midioutshortmsg to send message in a For Loop, and sleep for delay Delta Time; My playback is lagging ,But, when i open other midi software at the same time (include WindowMediaPlayer) ,All the Problem is...
Please Sign up or sign in to vote.
25 Apr 2020
Gerry Schmitz
"Playback" requires a balance between the "engine" and the player. Most likely you need to buffer better and your "sleep" isn't helping. The fact it works "better" under contention says you need to think more about "why" you have a "for and...
Please Sign up or sign in to vote.
14 Nov 2020
Dave Kreskowiak
Post your question in the forum at the bottom of that article.
Please Sign up or sign in to vote.
22 Mar 2020
honey the codewitch
Slice sections out of a MIDI file, and stretch or compress playback time using this simple utility. Or use the Midi Library to build your own MIDI apps
Please Sign up or sign in to vote.
26 Jun 2021
Maxim Dobroselsky
Overview of how to use the DryWetMIDI library for high-level managing of a MIDI file data
Please Sign up or sign in to vote.
24 May 2020
Richard MacCutchan
Here are a couple of useful references on MIDI files: Standard MIDI file format, updated[^] and Skytopia: Crash course on the standard MIDI specification (SMF)[^].
Please Sign up or sign in to vote.
25 May 2020
Greg Utas
A .wav file is something you can listen to directly, whereas a MIDI file is more like sheet music. A MIDI file must therefore be performed to generate a .wav file. There are lots of MIDI applications which do this, from external synthesizers to...
Please Sign up or sign in to vote.
27 Jun 2020
honey the codewitch
Extensive performance and API improvements for streaming MIDI and more
Please Sign up or sign in to vote.
24 Nov 2009
DaveyM69
I had a look for this a few months ago but couldn't find it anywhere. I was looking as I'm writing my own MIDI wrapper for C# (nearly finished - article should be available here in the next few weeks!).The only complete thing I've found is Leslie Sanford's C# MIDI Toolkit which is available on t
Please Sign up or sign in to vote.
6 Sep 2011
Paulo Zemek
I don't know if there is someone involved on something like this, but www.sourceforge.com and www.codeplex.com are good sources to at least try.
Please Sign up or sign in to vote.
13 May 2012
Jackie00100
1 alternative  
Hi i have 2 short questions:1.Im thinking of starting to work on a rockband 3 like game that can take input from real instruments as miditones. But i would really like to know if there is any way you can change midi to something more realistic like they do in Guitar pro with RSE(Realistic...
Please Sign up or sign in to vote.
2 Feb 2014
Abhinav S
If you want to ask a question against an article, you can ask questions in the article itself.The author may respond.Just go to the section at the last of the article.
Please Sign up or sign in to vote.
2 Feb 2014
Sergey Alexandrovich Kryukov
Find any of the posts of this person and add a comment to it. Most members have the option to get notifications on all their posts (switched on by default).For example, load this article's page, locate the section "Comments and Discussions" at the end and click "Add a Comment or Question",...
Please Sign up or sign in to vote.
12 Dec 2014
Baz Judd
Sorted it myself! Don't attempt to use MIDI when you are logged in remotely. The software can see the remote devices, but when it tries to open them, it tries it on the local machine and dies!
Please Sign up or sign in to vote.
17 Jun 2010
WebBiscuit
Looking at a simple MIDI handle wrapping class
Please Sign up or sign in to vote.
20 Jun 2010
WebBiscuit
A hidden danger of wrapping using RAII rears its head when we start copying the object around. Let's look at why and what we can do.
Please Sign up or sign in to vote.
15 Jul 2012
Sicppy
1 alternative  
I'm creating take in audio from my digital keyboard connected to the mic input on my computer, analyze the notes, and output them as a virtual MIDI controller. Could someone tell me a good DLL for sound/note analysis and MIDI output?Regards,Jordan
Please Sign up or sign in to vote.
2 Feb 2014
Richard MacCutchan
Find an article by that member and post a message in the forum at the end of the article. Or check if they have a Reply link in any of their forum messages and use that.
Please Sign up or sign in to vote.
10 Oct 2020
LeisureBamboo
In this article, you will see the steps required to simultaneously play multiple midi file from memory using MCI functions.
Please Sign up or sign in to vote.
25 May 2020
Member 14840761
2 alternatives  
I'm new to this field - but I need to perform a MIDI-to-Wav conversion in C++.Is there a way to know what exactly are the steps involved in MIDI-to-Wav conversion?? I have no idea as of how to start .I cannot find solid sources or research paper...
Please Sign up or sign in to vote.
11 Mar 2013
MGreatwolf
Thanks, but that is more of an SDK to use a driver that Tobias has already developed.
Please Sign up or sign in to vote.
7 Jul 2013
hirosht
1 alternative  
I am currently developing a Optical Music Manuscript Reading application in C#. For the note identifcation scenario, I have find out the need of knowing the octave values for each key.Because of represnting thie note as in example: 4C4 where (Duration)(Note)(Octave) is the order of...
Please Sign up or sign in to vote.
18 Feb 2013
MGreatwolf
2 alternatives  
Hi,I am trying to track down information that would help explain how to create a virtual MIDI port similar to LoopBe1 (www.nerds.de). My development environment is Visual Studio 2010 and I am most familiar with C++. LoopBe1 is an awesome program and I have/am using today but now I want to...
Please Sign up or sign in to vote.
28 Oct 2013
Eren001
1 alternative  
hello everyone , i'm new to programming could some one help me to find a project or a code to convert a midi file to music sheet ( it would be better if in vb.net) ? i really appreciate any help
Please Sign up or sign in to vote.
26 Jul 2015
Dhani Aditya
1 alternative  
i'm trying make a application to convert numerial notation into MIDI file with MIDIToolkit..anyone know how to do that?please help..thank you.. Smile | :)
Please Sign up or sign in to vote.
22 Oct 2018
Member 14029326
Dear M. Ricardo, I'm Music teacher in Belgium for my pleasure. I learn the silver flute. I would like to figure the finger position of Midi songs that a produce for my pupils and to post that in a video on you tube as free access for everyone. I understand with WPF that it is possible to...