forked from CPJKU/madmom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downbeats: allow weighting of beats per bar
* Optional parameter, implicitly defaults to ones for the array * Clean up the handling of lengths into the constructor, it was getting verbose * Check weights don't sum to zero, to avoid divide-by-zero pain. * Weight the HMM results in log space by normalised weight values, as suggested by @superbock * Add new test to prove that (sufficient, but arbitrary) weighting to 3-time (over 4-time) does indeed return 3-time beats results. This fixes CPJKU#402.
- Loading branch information
1 parent
3942e9f
commit fd670e6
Showing
2 changed files
with
33 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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