Click here to Skip to main content
15,885,117 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
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
Posted
Comments
Sergey Alexandrovich Kryukov 16-Jul-12 19:52pm    
What do you mean by note analysis, exactly?
--SA

1 solution

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 know any existing products of reasonable quality) to some calculations in music theory which do not require any media capabilities at all.

As to MIDI libraries (why DLL? a VB.NET unit, library or not, is always assembly; in .NET the notion of .DLL is nothing but a file name pattern, and it can be anything), there are several good libraries published on CodeProject:
http://www.codeproject.com/search.aspx?q=MIDI&doctypeid=1[^].

I was quite satisfied with at least one of them. Sorry, I don't remember which one exactly — try them by yourself.

—SA
 
Share this answer
 
v2
Comments
Sicppy 17-Jul-12 2:31am    
By note analysis i meant i want to be able to identify the note(s) being played from a live input via the mic, the midi output does not need to be a DLL I just need something to get the job done.

-Jordan
Sergey Alexandrovich Kryukov 17-Jul-12 12:13pm    
Well, again, this is very, very difficult. You input is never a pure tones, never stable frequency. Not only you will have to do spectral analysis, you will need to recognize some tones out of a great mess in both time and spectral spaces. Are you familiar with spectral analysis? Fourier? If not very much, you will have to learn a great deal of mathematics only to pose the problem for programming. And the problem is very difficult even for an expert in these fields.
--SA
Sicppy 17-Jul-12 2:32am    
P.S.

My purpose for all of this is to be able to use my digital keyboard as a midi controller
Sergey Alexandrovich Kryukov 17-Jul-12 12:09pm    
This is way too simple. (Some work is involved of course, but that's mainly UI.) Any of the MIDI libraries you can see would do it for you.
So, I think I've answered in full. Please consider accepting this answer formally (green button) -- thanks.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900