Minimum valid threshold, below this level result would be irrelevant.
Next index (+10000 ...) to take care about peaks
Default configuration
Number / Position of chunks
Contain all valid peaks
Attach this function to an audioprocess event on a audio/video node to compute BPM / Tempo in realtime
Channel data
Audio sample rate (44100)
Buffer size (4096)
Function to post a message to the processor node
Find the best threshold with enought peaks
Channel data
Buffer size
Current minimum index
Current maximum index
Function to post a message to the processor node
Method to apply a configuration on the fly
Computed values