Question How to Control sound the card

JanM

New member
Joined
Apr 11, 2010
Messages
1
Programming Experience
3-5
Does anyone know how to control the sound card from VB.net
I want to make a hearing test application, produce different tones and alter frequency and volume depending on user input. (e.g. Do you still hear this Y/N)
Easiest would be to play some pre-recorded wave files but that will be to many.

In Matlab for instance it’s fairly easy:
s = sin( [1:44100*0.3]*2*pi*1000/44100);
% Create a sine wave vector of 1000Hz at 44100 sample freq. Duration of 0.3 sec.
sound (s, 44100); % Play the tone.
 
Back
Top