LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Record sound?

Anyone know how to record a sound from the microphone input to either a wav
file or directly into an array?

I would prefer not to use MCI (as it is old and unpredictable from one PC to
another).


0 Kudos
Message 1 of 6
(4,447 Views)
Hi Alex,
 
Please find attached a sample of a vi which will do this - it records a snapshot of sound from the mixer (you can specify how long and at what sample rate), displays it on a waveform graph and replays it through the mixer.
 
It is currently saved for LabVIEW 8 - please let me know if you need another version, or have further questions.
 
Many thanks,
 
MarkL
 
Applications Engineer
National Instruments
 
0 Kudos
Message 2 of 6
(4,419 Views)
Since we are on the LabWindows/CVI board, how about a CVI version?
 
JR
Message 3 of 6
(4,407 Views)
Hello Mark,

Could you post this file saved for Labview 7.1?

Thanks,

Celso
0 Kudos
Message 4 of 6
(4,301 Views)

Hi Celso,

I should really post this on the LabVIEW forum, but am having problems posting on there at the moment!

I've re-written the sound recorder in LV 7.1 for you, this version records a set amount (in seconds) of audio from the soundcard, displays both channels on a waveform graph and writes the data to a .csv file. The file writer vis can be substituted with vis to write the sound to a waveform file as required.

I hope this helps!

Mark

0 Kudos
Message 5 of 6
(4,257 Views)
i use best sound recorder and it's great. go to
http://www.best-seller-reviews.com/soundrecorder/ and download best
sound recorder program.
http://www.best-seller-reviews.com/soundrecorder/

0 Kudos
Message 6 of 6
(4,240 Views)