LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Record 4 channel audio data to a single .wav file

Hi,

 

i would like to know how i can write a 4 channel audio file into a .wav file?

i am recording the audio with PCI4461 and using 4 microphones (i.e. 4 channels).

 

0 Kudos
Message 1 of 6
(4,115 Views)

Sound File Write.vi accepts array of waveform as input data. Hence, you can write data from multiple channels into single wave file.

0 Kudos
Message 2 of 6
(4,114 Views)

hi, thanks for the reply!

 

my sub VI is currently as such, the only missing link i have is the input.

what function should i use to get input from the hardware?

0 Kudos
Message 3 of 6
(4,109 Views)

Instead of Acquire Sound Express VI, you should use DAQ Assistant to acquire data from your PCI 4461 card. 

 

 

Chinmay Anand Misra
CLD
Technical Marketing Engineer
NI IndRA
0 Kudos
Message 4 of 6
(4,099 Views)

hi,

 

i have modified my VI and it is as such now.

How can i specifiy the folder to save it in a folder and also obatin the calibration factor for the wav file measured?

 

its kinda tricky for the calibration factor because its a 4 channel to single wav file type.

0 Kudos
Message 5 of 6
(4,084 Views)

You can directly wire the file path to the path input of the Sound File Write VI. 

Chinmay Anand Misra
CLD
Technical Marketing Engineer
NI IndRA
0 Kudos
Message 6 of 6
(4,082 Views)