1
$\begingroup$

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

$\endgroup$
3
  • $\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
1
$\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.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.