I'm trying to work out the best way to zero centre an audio clip for a forward FFT. I've been trying rotate my audio so that a peak exists mid way (N/2). This seam a little naive and I thought I had read that you can zero pad the centre of the audio clip in order to achieve the same result. Am I mad? what is the best way to zero centre an audio clip for Forward FFT
-
$\begingroup$ Eureka! You can get a zero centered waveform of an audio clip by applying a window, i used hann (cosine) window and then inverting the left and right sides. I guess my question then becomes Do you need to ensure a peak at N/2 prior? $\endgroup$ – cixelsyd Sep 6 '15 at 20:21
-
$\begingroup$ your comment should be an answer. Don't worry, answering your own question is encouraged! $\endgroup$ – Marcus Müller Sep 7 '15 at 10:11
-
$\begingroup$ LOL. Its probably the only question I'll ever answer $\endgroup$ – cixelsyd Sep 8 '15 at 10:50
Eureka! You can get a zero centered waveform of an audio clip by applying a window, i used hann (cosine) window and then inverting the left and right sides.