Yes, the provided VIs that work with wave files just like to treat
them as one enormous buffer, so that doesn't work very well for large
files.

Another approach would be to look at the wave file VIs and split them
apart.  There's part that reads the header, and there's part that
reads the data.  If you split that into two VIs--one for reading the
header, and one for reading the data--I think you'll have good
success.

The "reading the data" part is essentially just a File Read function.

As you read the data in chunks like this, you'll also want to take
advantage of the "SO Set Num Buffers" function (or something like
that).  It was described very well in the most recent LabVIEW
Technical Resource (LTR, see ltrpub.com).  You can also look at the
continuous sound output example for information about the buffer
management.  (I'm assuming you have LV 7 or later.)

I hope this helps.

Brian

Reply via email to