Skip to content

How to do live processing of beats detected #45

@trwa

Description

@trwa

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.

For example, is it currently possible to use some kind of callback? If so, how?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions