-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
360000 bph #7
Comments
Might help to increase the audio sample rate to 196 kHz, since each audio sample is now a 10x larger portion of the beat. Using the current lastest code from the branch new-stuff, try taking a look at the spectrograms. It could be that the beats are so close together that the movement components are still vibrating when the next beat occurs. I.e, the watch makes a continuous sound rather than a series of ticks. There is a debug mode. I would start by looking at the auto-correlation graph, and see if it has distinct peaks. It it does, then it could be the peak finding heuristics are not allowing peaks that close together to be detected correctly. The error due to the audio sample size will be significant for the earliest auto-correlation peaks, i.e. 10x higher than normal. It might cause the std dev check to fail. |
Tried even When running, it looks like the interface gets stuck when trying 180000 or 360000. Lower values are fine. When trying to close the application, it doesn't close, and I see the following in the console:
So I have to force the stop. When debugging (tg-timer-dbg) I see that it stucks in infinite loop on:
|
Looks like it's getting stuck in an infinite loop. I suspect it's related to the peak search bounds. An area around the estimated location of the nth cycle is searched. The size of this area is a fixed delta of ±20 ms. That is enough to capture most of the tick sound, without getting to the next tick for most rates. But at your rate it's much too large. It's going to get a negative index for cycle 1. That's no good. And the estimate has dropped to zero, so it's not making any progress. Look at |
I'd like to add 360,000 BPM for calibrating my mikrograph (with an incredible resolution of 1/100th second).
Any suggestions on how to develop this? Only adding it to MAX_BPH and PRESET_BPH doesn't work obviously, how can I enable the code to process such a high beat rate? Thanks
The text was updated successfully, but these errors were encountered: