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

store/restore regular loop when toggling rolling loops #12475

Merged
merged 4 commits into from
May 20, 2024

Conversation

ronso0
Copy link
Member

@ronso0 ronso0 commented Dec 29, 2023

kind of fixes #8947

  • have a regular loop set (maybe it's also active)
  • activate a rolling beatloop
    ⇒ loop size spinbox is adopting the size of the rolling loop
    ⇒ rolling loop is shown in the overview & waveform
  • deactivate the rolling loop
    ⇒ if there was a regular loop previously, restore that
    ⇒ loop size spinbox is updated, previous loop is shown in the overview & waveform

@ronso0
Copy link
Member Author

ronso0 commented Dec 29, 2023

IMO this is a bugfix (well, I wrote the bug report ; ), if someone agrees I can rebase onto 2.4

@Holzhaus
Copy link
Member

I kind of agree (as rolling loops are used for different use cases as normal loops) and would like to see this in 2.4, but let's see what the others are saying 🙂

@ronso0 ronso0 added this to the 2.5-beta milestone Mar 4, 2024
Copy link
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

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

There are conflicts now.
I can also not confirm this is working. Right clicking the beatloop button is doing nothing right now.
How is slip mode considered in this new feature?

@ronso0
Copy link
Member Author

ronso0 commented May 19, 2024

Conflicts resolved.

I can also not confirm this is working. Right clicking the beatloop button is doing nothing right now.

Please describe what you did.
For me it works as expected with the looproll buttons in Tango and Loop right-click in other skins.
I've also been using this in my private branch for months without issues.

The only issue I noticed just now is that, if there was no loop when activating the rolling loop, the rolling loop is not removed (because there's no loop to store and therefore no loop to restore afterwards).
Fixed by storing the current beatloop size if there's no loop and explicitly clearing the loop controls if we only have the loop size for restore.

@ronso0
Copy link
Member Author

ronso0 commented May 19, 2024

In addition to the test routine mentioned in #12475 (comment) you can now also test this:

  • load a track that has no loop stored (neither temp nor saved loop), or clear loops via track menu or loop_remove
  • note the beatloop size in the spinbox
  • play
  • create a rolling loop (Tango: right-click loop size buttons, other skins: right-click Loop button)
  • release button to deactivate rolling loop
  • = prev. loop size is restored
  • = no loop range in overview or waveform

@daschuer
Copy link
Member

I can confirm, it is working as desired.
I have only found an old issue that slip mode is left after releasing looproll. Is that desired?

@daschuer daschuer merged commit aea29e0 into mixxxdj:main May 20, 2024
13 checks passed
@ronso0
Copy link
Member Author

ronso0 commented May 20, 2024

I have only found an old issue that slip mode is left after releasing looproll. Is that desired?

Well, rolling loops are nothing more than enable slip mode and activate a loop. When all active rolling loops are disabled, slip modes is disabled, too, regardless the previous state.

@ronso0 ronso0 deleted the looproll-restore-prev-regular-loop branch May 20, 2024 16:46
napaalm pushed a commit to napaalm/mixxx that referenced this pull request Jun 15, 2024
…gular-loop

store/restore regular loop when toggling rolling loops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rolling beatloop shouldn't alter beatloop size in spinbox
3 participants