Skip to content

Envelopes not recovered when importing AUP projects #1643

Open

Description

@physicalgraffiti

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:

  1. Add a new mono track
  2. Generate white noise of 4 minutes long
  3. Using the envelope tool, add 4 points from minute 3 to the end of the track
  4. Duplicate the track
  5. On the duplicated track, silence the first 3 minutes
  6. Save the project

Using Audacity 3.x:

  1. Open the AUP project
  2. 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:

original_aup_project

Same project imported using Audacity 3.0.4:

imported_aup_project

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.

Activity

  1. physicalgraffiti commented on Sep 8, 2021

    @physicalgraffiti
    Author

    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.

  2. added
    AU3-bug
    P3
    on Sep 9, 2021
  3. added a commit that references this issue on Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AU3-bugP3

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions