You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Envelopes not recovered when importing AUP projects #1643
Describe the bug
I recently opened an AUP project using Audacity 3.0.4 and I noticed that some envelopes where missing and some others were wrong, while others where recovered fine. The AUP project was generated using Audacity 2.4.2.
I think the bug is related to envelopes added to tracks that include silent blocks at the beginning of the track.
I'm adding the steps to reproduce this issue below. If you need more context or further details, please let me know.
To Reproduce
I could reproduce this bug following these steps:
Using Audacity 2.x:
Add a new mono track
Generate white noise of 4 minutes long
Using the envelope tool, add 4 points from minute 3 to the end of the track
Duplicate the track
On the duplicated track, silence the first 3 minutes
Save the project
Using Audacity 3.x:
Open the AUP project
You will notice that the envelopes for track 1 are correctly recovered, but the ones for track 2 are missing.
Expected behavior
Recover the AUP project including all tracks and its envelopes.
Screenshots
Original AUP project created using Audacity 2.1.2:
Same project imported using Audacity 3.0.4:
Additional information (please complete the following information):
OS: Ubuntu 18.04.5 LTS
Version: I reproduced the bug creating an AUP project using Audacity 2.1.2 and importing it using Audacity 3.0.4. I also noticed the same issue with projects created using Audacity 2.4.2.
Additional context
All envelopes tags are present in the AUP XML text file for both tracks, the only difference I noticed is the presence of silent blocks at the beginning of the second track.
It seems that when importing the AUP project, the time duration of all silence blocks are being ignored for positioning the envelope points in the imported project.
As a workaround, I was able to recover all envelope points back by saving a new copy of the project using Edit -> Clip Boundaries -> Detach at Silences option within Audacity 2x. This new AUP project was then successfully imported in Audacity 3x, with all envelope points in their right position.
Activity
physicalgraffiti commentedon Sep 8, 2021
It seems that when importing the AUP project, the time duration of all silence blocks are being ignored for positioning the envelope points in the imported project.
As a workaround, I was able to recover all envelope points back by saving a new copy of the project using
Edit -> Clip Boundaries -> Detach at Silencesoption within Audacity 2x. This new AUP project was then successfully imported in Audacity 3x, with all envelope points in their right position..AUP importer (#11205)