LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to connect read sound file from chart to Moving STFT PtByPt

Hi!
 
I got a
0 Kudos
Message 1 of 4
(3,374 Views)

I got a waveform data type from the sound file from chart.vi but the requirement for  Moving STFT PtByPt.vi is a original waveform(X).

 

How can i connect these 2 together. I m very unfamiliar with this.. Pls help

0 Kudos
Message 2 of 4
(3,372 Views)
sorry .. to be specify.. waveform data type is from the sound file read simple.vi and to the STFT Spectrogram PtByPt .vi(time waveform)?
0 Kudos
Message 3 of 4
(3,370 Views)
Hi sean1985,

The Sound File Read Simple.vi returns the data as an array of waveforms, while the STFT Spectrogram PtByPt.vi accepts a single waveform.  In order to pass the data from Sound File Read Simple.vi to STFT Spectrogram PtByPt.vi, you will need to index into the array and pass each individual waveform to STFT Spectrogram PtByPt.vi from the array of waveforms that is generated by Sound File Read Simple.vi.
Message 4 of 4
(3,339 Views)