Delphi Sound Input
Posted on 1997-10-05
I want to be able to write a guitar tuner. I have sussed out low level wav playback but not input. I want to be able to alter a visual component using the data coming in from the input. I don't need to save the sound to a file. Even being able to alter a visual component from a wav being played would help - I just can't find a way of tapping into the data as it is being played. Ultimately I would like to get a frequency analyser working.
I have been asked which port - well line in and mic in, the most important being mic in. It would be nice to give those with an electric guitar the chance to plug straignt into the soundcard. What I have been trying to do is to input a wav file and then read the wav data but if I could get at the raw data then all the better!
In response to Mirek - no I don't want wav to midi conversion, that would be hard! All I want is to be able to change a display (meter needle) in sympathy with sound input. I have had an idea of writing a component that has an event in it that is triggered by the sound buffers but I can't find a windows message to do it! Thanks for the replies - keep them coming!