Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to perform fractional octave analysis on a .wav file through DAQmx?

See background info at this thread.

 

Hi guys,

 

Is there a way to take a wave file (.wav) and perform fractional octave analysis on it with DAQmx?  The file in question would be recorded as 16-bit, 44khz mono.  Basically, we want to record data from our DSA hardware at customer sites, then run overnight batch tests of the data back at our lab so we can test improvements to our signal analysis software.

 

Thanks

--Peter

0 Kudos
Message 1 of 4
(3,414 Views)
That's a bit confusing. DAQmx is a driver to control NI data acquisition hardware. You would use the DAQmx functions to acquire data. Any data conversion, file saving, analysis, would be done by whatever functions are in the programming lanuage you are using. If you have a .wav file already, then DAQmx is not involved at all.
0 Kudos
Message 2 of 4
(3,412 Views)

Dennis,

 

I should apologize in advance--my background isn't in electrical engineering or National Instruments software, so I'm probably butchering my description of what I'm trying to achieve.  Our core fractional octave analysis operation happens through a C library that encapsulates the fractional octave analysis VI in the Sound / Vibration Toolkit.  That function returns an array with all of the octave values, and our software takes over from that point on.  Basically what we're looking for is a way to get that same type of octave breakdown from a pre-recorded wave file, just like we do when we're using a real DSA card.

 

Is that possible with any NI libraries, or will I have to look into some type of third-party solution?

 

Thanks!

--Peter

 

 

0 Kudos
Message 3 of 4
(3,408 Views)
I'm not familiar with the toolkit and your C library is of course a mystery but with LabVIEW, there is a function to read a .wav file and return it as an array of waveforms. I would imagine that the fractional octave analysis function would operate on the same data type. It's separate from the data acquisition part. If your library separates the acquisition from the analysis, you might use the existing function. To your library, you might add another acquire function besides the DSA acquire function. the new one would acquire from file.
0 Kudos
Message 4 of 4
(3,405 Views)