echo66 / PhaseVocoderJS

GNU Affero General Public License v3.0
54 stars 7 forks source link

Use flat array instead of creating a fft object #10

Closed echo66 closed 9 years ago

echo66 commented 9 years ago

The output of the forward FFT is the following: [r1, i1, r2, i2, ..., rN, iN].

The input of the inverse FFT is the following: [r1, i1, r2, i2, ..., rN, iN].

So, instead of creating an intermediary structure, the code should support this kind of arrays.