Other useful functions


Functions

void onsetsds_setrelax (OnsetsDS *ods, float time, size_t hopsize)

Function Documentation

void onsetsds_setrelax ( OnsetsDS ods,
float  time,
size_t  hopsize 
)

Set the "memory coefficient" indirectly via the time for the memory to decay by 60 dB.

Parameters:
ods The OnsetsDS
time The time in seconds
hopsize The FFT frame hopsize (typically this will be half the FFT frame size)