Beatmap (non const) 3/4 and 2/3 error in calculation

Bug #1526075 reported by Daniel Schürmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Medium
Daniel Schürmann

Bug Description

The algorithm to calculate the new beat position works only for * 2 and * 1/2
Unit tests are missing at well for 3/4 and 2/3 scale, so the issue was not catched,

Changed in mixxx:
importance: Undecided → Medium
assignee: nobody → Daniel Schürmann (daschuer)
status: New → In Progress
milestone: none → 2.0.0
Revision history for this message
Daniel Schürmann (daschuer) wrote :
Revision history for this message
junglistric (ericzhang) wrote :

Is this a tempo extraction bug or time signature bug?

Revision history for this message
Daniel Schürmann (daschuer) wrote :

This issue is about the right click on a track bpm menu and the track preferences.
It might happen that the auto detected beat grid is of by a fixed factor.
You can multiply the bpm value and move the beat markers by the selected values.

This works for constant BeatGrids, but not for BeatMaps with individual marked beats.

Yo can select which type Mixxx will generated with the "Assume constant tempo" checkbox in the beat detection preferences.

Revision history for this message
Be (be.ing) wrote :

Can you clarify what goes wrong when scaling by 3/4 and 2/3?

Revision history for this message
Daniel Schürmann (daschuer) wrote :

I have just had a second look on the original code, but I cannot confirm my original assumption.
The original code should work for any value. Why did it fail during my test .. ?

But however linear scaling a beat map this way is wrong at all, since if you double the BPMs only the first half of the track has beats.
And if the Track ends with a slow passage, it is moved to the middle of the track.

Revision history for this message
Daniel Schürmann (daschuer) wrote :
Changed in mixxx:
status: In Progress → Fix Committed
milestone: 2.0.0 → 2.1.0
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/8375

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.