Hi,
I've been using the vibration estimation code that is provided but im having some issues.
The vibration estimation works fine even for detecting high frequencies however I want to run the detection it self at a higher frequency (so how often the algorithm to decide on the most dominant frequency is run)
There is a parameter "update-freq"' which is described as 'Update frequency of the algorithm (in Hz)' which is what im using and it works absolutely fine until i set it to anything higher than 200 hz. Any frequency higher than this causes lags. At first I thought it was simply a performance issue since im processing a large amount of data and having to run everything in a virtual machine. So i made some changes which skip the part of displaying the UI and only output the dominant frequency which raised the performance to work fine just under 400 hz. So to clarify this means that the dominant frequency algorithm has to run every 2.5 ms
No matter whether I play a 30 sec clip that has about 2gb of event data or 50mb in both cases the fastest time it will ever run the detection algorithm it will always take more than 2ms (so even if i set the update freq parameter to let say 1000hz).
I’ve tried it on both python and c+ and the issue appears to happen in both cases.