LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mono to stereo

Hi,

I am a beginner in labview. I am currently involved in audio
processing application. I want to convert an 8-bit mono to 16-bit
stereo for this I generated an array and copied it twice and built a
2d array and sent to the wav file write. Output however doesn't play.
Any one knows how to do this?

Thanking you in advance
Badhri
0 Kudos
Message 1 of 2
(2,803 Views)
Hello,

I tried this out, and ran into the same problem you did. However, I found out what I was doing wrong. First, you must use the "Build Array" function to build a 2D array composed of 2 copies of your 1D mono data. Then, you must use the "Transpose 2D Array" function to turn your built array from two rows into two columns of data, since the "Snd Write WAV File", or any of the WAV File VIs for that matter, must have the sound data in two columns (one for each side of the stereo) instead of two rows.

I hope this suggestion helps you out with your application. Have a pleasant day.

Sincerely,
Darren Nattinger
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,802 Views)