I am working on an open-source audio compression program and am trying to find a way to efficiently minimize the amplitude of a wave file, both for compression purposes and to make sounds modified with it put less stress on speakers.
Here's my mathematical dillemma:
Supposed you have two frequencies that last for about 1/10th of a second (IE a 2048 sample FFT window)...and you want to modify every other frequency to be rotated a certain amount of phase from the last frequency.
You are given first frequency is f1, second (f2) and magnitudes m1 and m2 to form an optimization equation that defines what phase relative phase angle (-180 to 180 degrees) would each phase START at relative to the other to minimize the peak amplitude of the combined signals.
As a precondition, though, the phasing should not reduce audibility of each frequency (IE no significant phase cancellation...at least to the point the human ear can hear both frequencies clearly)
2007-02-03
17:49:31
·
2 answers
·
asked by
M S
5
in
Science & Mathematics
➔ Physics