Using VS2005,
VB.NET and managed June 2007 DirectX SDK, I am
developing a windows that records audio off my machine. One of my
requirments is to visualize the audio with an audio or sound meter or
some sort. I am able to record a WAV file so I have access to the
CaptureBuffer - my question is how do I convert the data in the buffer
to a meter - I suppose I really need an explination of what the data
in the buffer is... what the values in each "sample" mean - and how
they are stored depending on stero and bitpersample (8 or 16) wave
format settings. Can someone shed some light on this for me? Better
yet if you have a pointer to some sample code I'd be overjoyed!
Another question that has been on my mind is how do I record from the
modem. Currently, I am able to record data from the input mic but
don't know how to set the DirectSound.Capture device to point to the
modem - anyone have any ideas on this?
Thanks for your attention to this,
Charles