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

Silding Stretch and Set Rate do not affect Sync-Locked tracks #1606

Closed
petersampsonaudacity opened this issue Sep 2, 2021 · 5 comments · Fixed by #5306
Closed

Silding Stretch and Set Rate do not affect Sync-Locked tracks #1606

petersampsonaudacity opened this issue Sep 2, 2021 · 5 comments · Fixed by #5306
Assignees
Labels
bug An error, undesired behaviour, or missed functionality Effects (EGATs) Effects, Generators, Analyzers and Tools P3 Medium Priority
Milestone

Comments

@petersampsonaudacity
Copy link

petersampsonaudacity commented Sep 2, 2021

Bug description

Sync-Locked Tracks are not affected by all actions that change the length of a track in the Sync-Locked Track Group. Applying Paulstretch (@Paul-Licameli: that one has been fixed) or Sliding Stretch or using the Audio Track dropdown menu to change sample rate will leave the other Sync-Locked tracks desynchronized.

Originally logged on Bugzilla as P3 838 in 2015
https://bugzilla.audacityteam.org/show_bug.cgi?id=838

Steps to reproduce

  1. Have a clip on a mono track
  2. Have a clip on a stereo track
  3. Have a label track with a label past the zero time mark
  4. Enabel Tracks > Sync Lock tracks
  5. Select a portion of the stereo clip and apply Paulstretch or Sliding Stretch (e.g. -50/-50) or change the track's rate using TCP (see the screenshot)
  6. Observe
Screenshot 2023-07-20 at 16 13 27

Expected behavior

Sync-locked tracks should be affected by Paulstretch, Sliding Stretch and Set Rate

Actual behavior

Only the stereo track's clip has been stretched; no changes have been made to either mono or label track:

Screenshots

Screenshot 2023-07-20 at 16 14 17

Additional information (please complete the following information):

  • OS: all OS
  • Version: originally reported in Audacity 2.1.0 = but still exists in 3.3.3

Additional context

We should really be fixing this as it is a gross inconsistency - and defeats the objective of having a Sync-Locked Track Group

@petersampsonaudacity petersampsonaudacity added bug An error, undesired behaviour, or missed functionality P3 Medium Priority labels Sep 2, 2021
@petersampsonaudacity petersampsonaudacity added the Effects (EGATs) Effects, Generators, Analyzers and Tools label Oct 23, 2022
@dozzzzer dozzzzer added this to the Audacity 3.4 milestone Jul 21, 2023
@Paul-Licameli Paul-Licameli changed the title Paulstretch and Set Rate do not affect Sync-Locked tracks Silding Stretch and Set Rate do not affect Sync-Locked tracks Jul 21, 2023
@Paul-Licameli
Copy link
Collaborator

@Paul-Licameli @LWinterberg Note that sync lock adjustment only inserts silence when another track lenghtens, or delete from a track when the other shortens. Sync lock can affect label tracks and note tracks.

SetRate is unlike effects, in that it can only affect an entire track, not a selection.

It might make more sense to apply time stretching to the other non-wave tracks, when they are not wave tracks. But I think it is agreed to leave that out of the scope of this release.

The Sliding Stretch effect is unlike anything else, in applying a non-uniform time stretch. If we were to apply time stretching to other kinds of tracks, the time remapping would not be a simple linear one.

@Paul-Licameli
Copy link
Collaborator

PaulStretch was already fixed as noted. Sliding stretch is also fixed.

Whether sync lock really should be applied in case of change of rate -- is that debatable? @LWinterberg

@chinakov
Copy link
Contributor

chinakov commented Oct 4, 2023

Tested PaulStretch and Sliding Stretch, it now works as intended.
Waiting on the verification of change of rate question - @LWinterberg

@Paul-Licameli
Copy link
Collaborator

It was not hard to implement sync lock for change of rate, so I did it anyway

@chinakov
Copy link
Contributor

chinakov commented Oct 4, 2023

Alright, tested. Change or rate also works. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error, undesired behaviour, or missed functionality Effects (EGATs) Effects, Generators, Analyzers and Tools P3 Medium Priority
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants