Open trwa opened 2 weeks ago
In the streaming example of the README:
from BeatNet.BeatNet import BeatNet estimator = BeatNet(1, mode='stream', inference_model='PF', plot=[], thread=False) Output = estimator.process()
It is unclear to me how to process the beats as soon as they are detected, without waiting for .process() to return.
.process()
For example, is it currently possible to use some kind of callback? If so, how?
In the streaming example of the README:
It is unclear to me how to process the beats as soon as they are detected, without waiting for
.process()
to return.For example, is it currently possible to use some kind of callback? If so, how?