LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get detailed header/comment information when reading a .wav file

Hi there,

 

I am looking for a way to get the .wav header/comment detailed information when reading in a .wav file.  I need details like initial time of measurement and scale information that is found in the comment.  I am currently using the open/read .wav vis in labview and I need more than sampling frequency, and bits/sample. 

 

Any help would be appreciated!!

 

Thank-you.

0 Kudos
Message 1 of 5
(2,836 Views)

Hi pa,

 

why do you use WAV files to save measurement data?

Why not use TDMS functions, which support saving metadata???

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,825 Views)

The external device I am using only exports in .wav format.

0 Kudos
Message 3 of 5
(2,822 Views)

This is what you have to work with.  I suppose you'll have to consult your equipment manual to see what maps where.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 5
(2,809 Views)

Thank-you,  I guess each .wav has its own variable structure within that framework.  I will see what I can come up with.

 

 

0 Kudos
Message 5 of 5
(2,806 Views)