Skip to content
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

Make Degara beattracker deterministic #860

Merged
merged 2 commits into from
Jul 15, 2019

Conversation

jpauwels
Copy link
Contributor

Make Degara beattracker deterministic by not adding stochastic noise to silent frames

@jpauwels
Copy link
Contributor Author

Other candidate algorithms to check for same behaviour:

  • TempoTapDegara
  • BeatTrackerMultifeature
  • RhythmExtractor

@dbogdanov
Copy link
Member

Thanks for this fix!

Noise can be added to silent frames only in the streaming version of FrameCutter. For that reason, there's no problem for TempoTapDegara. We'll have to check the other ones.

@dbogdanov
Copy link
Member

Indeed BeatTrackerMultifeature also utilizes noise frames for silence, but I can't reproduce the problem.

.gitignore Outdated
@@ -84,3 +84,9 @@ packaging/win32_3rdparty/bin
packaging/win32_3rdparty/share
packaging/win32_3rdparty/lib
packaging/win32_3rdparty/include
test/src/unittest/*.npy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be updated because all tests were moved to the unittestsfolder.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In any case, we should rather not generate junk files inside test/src/unit test, but use a proper temp folder instead. I've created an issue for that (#861), so we can remove tose ignore lines here.

@dbogdanov dbogdanov merged commit 0a64b02 into MTG:master Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants