Fog Creek Software
Discussion Board




Sound Recording and Amplitude Graphing

Hi,

I am working on a research project for spirometry, where lung function is measured through an external transducer (turbine type) and the resulting data is plotted against time. I need to make an addition of sound functionality to it. That is, assume I am speaking into the transducer (which measures air flow) and there's a microphone attached to the transducer as well (lets not get into where exactly... wind noise and all that). When I speak, the transducer is measuring air flow and the microphone is recording what I am saying. Essentially, I  need to plot the sound and the air flow against the same x-axis, with the sound and air flow as two separate y-axis. The idea is to diagnose speech problems in people.

Having said that, I'm looking for a method to capture uncompressed sound from the microphone, as a series of numbers and plot them. We'll handle saving the sound later. BTW, I'm using VB. So I'm probably looking for either an OCX, DLL or API call.

Would anyone have any idea on how to do it?

Sid
Thursday, May 27, 2004

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directX/htm/capturingwaveforms.asp?frame=true

Just me (Sir to you)
Thursday, May 27, 2004

*  Recent Topics

*  Fog Creek Home