Add beat_callback parameter for streaming mode#50
Open
luisscholl wants to merge 3 commits intomjhydri:mainfrom
Open
Add beat_callback parameter for streaming mode#50luisscholl wants to merge 3 commits intomjhydri:mainfrom
luisscholl wants to merge 3 commits intomjhydri:mainfrom
Conversation
Hashim-K
added a commit
to Hashim-K/beatnet
that referenced
this pull request
Apr 3, 2026
- Add onnx/exportModel.py and testModel.py from pasquale90/BeatNet fork for torch.onnx.export of BDA model to ONNX format - Add pre-exported beatnet_bda.onnx model weights - Add BeatNetDataset (torch Dataset subclass) from nikhilsos/BeatNet fork for training data loading with log-spectrogram features - Add beat_callback parameter to BeatNet and particle_filter_cascade for programmatic beat/downbeat event handling (from PR mjhydri#50) - Remove stale numba==0.54.1 pin (managed by conda) - Remove numba from build-requires in pyproject.toml - Set python_requires>=3.10, numpy<2.0 - Bump version to 1.2.0 - Fix dataloader imports to use package-relative paths Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Hashim-K
added a commit
to Hashim-K/beatnet
that referenced
this pull request
Apr 3, 2026
- Add onnx/exportModel.py and testModel.py from pasquale90/BeatNet fork for torch.onnx.export of BDA model to ONNX format - Add pre-exported beatnet_bda.onnx model weights - Add BeatNetDataset (torch Dataset subclass) from nikhilsos/BeatNet fork for training data loading with log-spectrogram features - Add beat_callback parameter to BeatNet and particle_filter_cascade for programmatic beat/downbeat event handling (from PR mjhydri#50) - Remove stale numba==0.54.1 pin (managed by conda) - Remove numba from build-requires in pyproject.toml - Set python_requires>=3.10, numpy<2.0 - Bump version to 1.2.0 - Fix dataloader imports to use package-relative paths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a callback parameter for the streaming mode. This allows a user of the library a simple hook for e. g. driving simple real-time audiovisualizers.
The default value of the callback keeps the previous behaviour of printing *beat! and beat!.