[RESOLVED] plotting a wav file
I have a simple uncompressed (PCM 32 bit 48000 Hz) WAV file and I want to plot its waveform.
The waveform actually represents a digital signal a few ms long, so I just need to know when the waveform is high and when it is low.
I parse the DATA chunk word by word and I just plot values on the screen: it works pretty well... but in several points of the resulting graph I see "peaks", which, when compared to the WAV file, correspond to values over 65000. But the file displayed in Audacity shows no peeks, just kind of a square wave (zeroes and ones).
What am I doing wrong?
Re: [RESOLVED] plotting a wav file
I eventually found out a bug.. in my head! ;-)
I was considering RAW data as unsigned....