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

Shortening loop can cause deck to go out of sync (Reprise) #8241

Closed
mixxxbot opened this issue Aug 22, 2022 · 5 comments
Closed

Shortening loop can cause deck to go out of sync (Reprise) #8241

mixxxbot opened this issue Aug 22, 2022 · 5 comments
Labels
Milestone

Comments

@mixxxbot
Copy link
Collaborator

Reported by: rafvdm
Date: 2015-10-01T16:07:15Z
Status: Fix Released
Importance: Low
Launchpad Issue: lp1501822


mixxx-1.12.0-beta1-1.12-git5554-release-x64.exe
Acer Aspire 7750
CPU: Intel(R) Core(TM) i5-2410M 2.30GHz
Memory: 4GB RAM
OS: Windows 7 64bit

This follows https://bugs.launchpad.net/mixxx/+bug/1171102 (Shortening loop can cause deck to go out of sync).
The old was reported as fixed, however in release 5554 this still does not function correctly.

Daniel has asked me to file this as a new bug.

What is happening?

As mentioned in the original bug:
"- Enable n beats Loop on a playing deck;
- After k beats have been played, enable a new k beat Loop length, where k < n, for example 8 beats -> 4 beats;"

More clearly:
Imagine a 16 beat loop playing.
Let's say you shorten the loop to 4 beats.

Now 2 things can happen:

  1. You shorten the loop in the first 4 beats... All goes well, you're already in the new loop, your new loop continues smoothly.
  2. You shorten the loop in the last 12 beats... Because the new loop will be set to the first 4 beats, you actually are now outside the new loop. Instead of continuing playback to some point where the new loop can be taken up smoothly, music instantly jumps to the beginning of the new loop and therefor goes out of beat. Unless of course if you are lucky to do this exactly on beat 8.

So ... in short ...
If you have an n-beat loop and you shorten it to x-beats ...
If you do it while you are already positioned in the new x-beat loop, the new loop smoothly takes over.
If you are passed the new x-beat loop, you instantly jump out of beat to the beginning of the new loop.

If still not clear, please let me know.

Now ... There may be a big discussion whether the smaller loop has to start in the beginning of the old loop, its end, simply where you hit the button or by using some lovely but complex algorythm.
I don't really care where it goes, but I do care if it does not remain on the beat.

@mixxxbot mixxxbot added the bug label Aug 22, 2022
@mixxxbot
Copy link
Collaborator Author

Commented by: ywwg
Date: 2015-10-01T16:32:07Z


In mixxx, pressing a new loop size creates a new loop at the current position, it doesn't alter an existing loop. If you use the +/- buttons, you'll get the behavior you want.

But it does seem reasonable that if looping is on, and a loop size is selected, the existing loop in point should be kept and a new out point should be created. Since we already have good warping code, this should be easy to fix.

@mixxxbot
Copy link
Collaborator Author

Commented by: ywwg
Date: 2015-10-01T16:48:10Z


ah, the in point is being kept but the playposition isn't seeking correctly.

@mixxxbot
Copy link
Collaborator Author

Commented by: ywwg
Date: 2015-10-01T16:57:45Z


fixed 15ef821

@mixxxbot
Copy link
Collaborator Author

Commented by: rafvdm
Date: 2015-10-08T16:11:18Z


mixxx-1.12.0-beta1-1.12-git5557-release-x64.exe

There is much, much, much improvement.
But I somehow have the impression it still fails when you drop down extremingly, i.e. from 8 beats to 1.

I'll consider this fixed "until proven otherwise". :-)

Thank you!

@mixxxbot
Copy link
Collaborator Author

Issue closed with status Fix Released.

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
@mixxxbot mixxxbot added this to the 2.0.0 milestone Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant