Hi Ross, Ross Bencina skrev 2013-10-23 08:19:
What I'd like to know is what's the best way of centering the windows on the pulses?
Aha! ;) That is indeed a good question. Upon knowing the periodicity N, I used a sinewave of same length with a hanning window applied, and convolve it with the original signal within a -N/2 to +N/2 range and used the absolute maximum as the center window position (this would be the highest derivative zero crossing position).
and is it better to use asymmetrical windows?
I'm not sure but I doubt it since the information content would be the same, with my argument for that being that the ear is insensitive to individual phases of frequencies in the signal. Regards, /Rob -- dupswapdrop -- the music-dsp mailing list and website: subscription info, FAQ, source code archive, list archive, book reviews, dsp links http://music.columbia.edu/cmc/music-dsp http://music.columbia.edu/mailman/listinfo/music-dsp