LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Analyzing PCM audio samples

I have a need to recover frequency and level information from a PCM stream that has been written to a file.

The PCM data is 16-bit signed, little-endian, sampled at 8Khz.

 

What CVI functions (if any) can be used for such a task?

 

Brian

 

 

0 Kudos
Message 1 of 3
(4,205 Views)

Hi Brian,

 

To my knowledge there are no specific CVI functions that will accomplish this. 

Manooch H.
National Instruments
0 Kudos
Message 2 of 3
(4,127 Views)

You should be able to read in the data portion of the file (skipping over any header such as may accompany a .wav file) into an array and then submit it to functions in the Advanced Analysis Library (you need the FDS version of CVI for these). PowerFrequencyEstimate() is just one of a number of functions you might find useful.

 

JR

0 Kudos
Message 3 of 3
(4,115 Views)