[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

onset detection

Hello - I have written a script in Praat for onset detection, and I'd like to get peoiple's opinions on my underlying assumptions.
First, the script looks for negative slope in the energy curve of the sound, with energy calculate by averaging 100 millisecond blocks, to eliminate very local fluctuations. If the sound file is recorded clean, with no spill, this works well to identify the general area of the onset.
Having found the general area of the onset, the script looks for the steepest point in the energy curve of the upper partials of the sound, to identify the precise point of onset. I don't take this to be the P-center but hope it might be in a consistent relation of absolute distance (in time) from the P-center - any comments?
If looking for the steepest part of the energy curve is taken to be consistently related to the P-center, is it reasonable to expect the time between steepest-point and P-center to be the same for eg. a snare drum hit and, say, a violin attack?
The steepest point is found in an energy curve obtained by average at the 0.5 millisecond level - does this sound right? I mean, is it feasible to expect accuracy at such a fine resolution?
Hoping for some comments -
Andy McGuiness
Music Dept
Open University, UK

Make the switch to the world's best email. Get the new Yahoo!7 Mail now.