is there an API out there that can tell me how loud the sound is, that is coming through my microphone? Doesn't have to be in dB or anything - just a value.
: is there an API out there that can tell me how loud the sound is, that is coming through my microphone? Doesn't have to be in dB or anything - just a value. : : : thank you- : : -Henning Klevjer
APIs? Well, there are the MCI APIs; it's in the same category of "waveOutPrepareHeader" - search it out on MSDN, and check out the "waveIn[italic]Something[/Italic]" functions - they are grouped together. However, I recommend the DirectSound library, which as a Visual Basic Typelib and thus saves you the hassle of Types and Declares, is more flexible, has better performances, and is better documented, at the small price of being slightly more complicated (well, not as complicated as declaring types and declares for the MCI library).
Comments
:
:
: thank you-
:
: -Henning Klevjer
APIs? Well, there are the MCI APIs; it's in the same category of "waveOutPrepareHeader" - search it out on MSDN, and check out the "waveIn[italic]Something[/Italic]" functions - they are grouped together.
However, I recommend the DirectSound library, which as a Visual Basic Typelib and thus saves you the hassle of Types and Declares, is more flexible, has better performances, and is better documented, at the small price of being slightly more complicated (well, not as complicated as declaring types and declares for the MCI library).