Save As .wav wrapping

• Mar 16, 2010 - 00:48
Type
Functional
Severity
S4 - Minor
Status
closed
Project

When saving as a .wav file, the signal is being wrapped. Attached is a screen shot of audacity of a piano soundfont playing a C and E half note at the same time. I compiled the source and found a bug in the following line in exportaudio.cpp:

if (qAbs(buffer[i] > peak))

should be

if (qAbs(buffer[i]) > peak)

Ken

Attachment Size
wav wrap bug.JPG 101.8 KB

Comments