I am working on a guitar toolbox application a component of which is a chord and scale dictionary.
My questions are:
If I know the frequency/pitch in khz of a given note, how can I generate an acceptable sound (maybe midi) at that pitch?
My second question is that chords are built up of 2 or more notes, how would I go about layering 2 or more notes in an appregio (played 1 after another and held to form the chord)?
If there are any pointers about that I have searched for and missed please point me in the right direction.
try taking a look at this and see if it helps: http://blogs.msdn.com/b/dawate/archive/2009/06/24/intro-to-audio-programming-part-3-synthesizing-simple-wave-audio-using-c.aspx