Showing results for 
Search instead for 
Did you mean: 

.wav file recorded on Macintosh

I recorded a .wav file (11025 x 16 mono) on a macintosh using a microphone and a shareware program called Amadeus.

When I tried to read it using the Read Wave File vi it correctly returns the sound format but give me back no data.

When I play the file using any media player (e.g., Real Player, Quick Time Player, iTunes) it plays without problem.

When I copy it to a Windows PC I get the same situation. Labview's vi doesn't return any data but Windows Media Player, etc., can play the file without a problem.

Strangely, when I record a .wav file on a Windows machine using HP MediaRack, Labview's vi can successfully read it on a Windows machine or a Macintosh.

I have attached a small .wav file created on the Mac to demonstrate the problem.
0 Kudos
Message 1 of 3
Hi David

The RIFF wav format uses a structure of chunks well documented in the net.
The NI read wav vi is quite simple, and searches for "data" token to extract audio bytes.
Your file has 2 more "data" before the right one, so if you search for data as NI does, you will find the 1st one, that has no rellationship with the real data.
You have 2 choices: 1 open the file using cool edit or similar and save it back.
2 read the header of file using the chunks standard for microsoft riff files.

Hope it clarifies your problem
"Qod natura non dat, Salmantica non praestat"
0 Kudos
Message 2 of 3
Thanks, Alipio.

What a nightmare. God must love standards; she created so many of them!

For your information and others, I discovered a Macintosh sound editing program called Sound Studio, which for simple voice editing is the nicest thing I've seen with sufficient functionality for my needs and a really intuitive user interface. You don't have to be a sound engineer!

Using it I am able to input the sound files I created using Amadeus, clean them up, down sample them, save them and then read them using the Labview read wavefile vi.

0 Kudos
Message 3 of 3