02-04-2015 02:06 PM
I was trying to save some sound pressure data into .wav file. I have a single wavform channel looks like this:
Once saved as .wav file, the data becomes:
What did I do wrong?
02-04-2015 02:43 PM
I do have the audio data plugin installed, but I do not know how to use it. The save as give me the same results before and after the installation.
02-05-2015 09:03 AM
The *.wav file specification says that the DBL data type may only be used if all the channel values are between -1 and +1. That channel exceeds these limits slightly, therefore an integer data type is used.
You can simply rescale the channel prior to saving-- either smaller in amplitude to use the DBL data type or larger in amplitude to use the full range of an Int16 or an Int32.
02-05-2015 04:00 PM
Thanks! I scaled the data up to use the 32 bites integer. It worked!