Author Topic: Quantization of onset detection  (Read 6406 times)


  • Newbie
  • *
  • Posts: 1
    • View Profile
Quantization of onset detection
« on: July 17, 2008, 11:58:19 »
I just started using the "Note onset detector: Note onsets" plugin.  This is a very powerful application, and kudos to its authors.  When I export the results as text files to examine in another programming environment, I notice that they're all quantized.  Although it looks like there are several significant digits to each time instant, they seem to move by increments of 25 milliseconds, which is perceptually significant.  Inverted to beats per minute, it's 1.5 bpm.  Is this a consequence of the fft window size, or a feature of the plugin?  Can I get higher resolution somehow?




  • Administrator
  • Sr. Member
  • *****
  • Posts: 266
    • View Profile
Re: Quantization of onset detection
« Reply #1 on: July 17, 2008, 12:30:30 »

For this plugin at least, the quantization of the results is entirely dependent on the step size used when running the plugin: this is a basic limitation of this plugin, it isn't capable of returning results any more precisely than that.  Although the default step size is supposed to be 11.6ms, not 25 -- for example, it is 512 samples at 44100Hz -- so I'm a little puzzled about your results.

The step size can be changed from the Advanced section of the transform parameters in SV -- though note that the internal workings of the plugin are somewhat tuned for a particular step size, so if you change the step size you may need to adjust the sensitivity, and may find the results differ substantially.  (And be sure to also adjust the block size so that it remains double the step value.)

« Last Edit: July 17, 2008, 12:32:55 by cannam »


  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Quantization of onset detection
« Reply #2 on: December 03, 2008, 11:48:31 »
I tried to change the value of the step size, but I have always the same results... I'm using the onset detection and the beat tracker, but even if I change the window size and the window increment in the advance parameter of the transform parameters in SV I have always the same results, with a step size of 11,6ms. So I don't know if I have to change another value somewhere in order to have a window step of 640ms (512 data points with my Fs=800Hz).
I hope you can explain why I have this results, and how can I change it.