audacity icon indicating copy to clipboard operation
audacity copied to clipboard

Audio Pitches Down/Up after opening an AUP3 project.

Open chinakov opened this issue 1 year ago • 1 comments

Bug description

If the User has created a project with multiple audio clips, saves the project with an older version of Audacity, and then re-opens the project in the newest (3.5.1) version of Audacity - some of the clips may be pitched down/up for no reason at all.

Steps to reproduce

  1. Launch Audacity
  2. Open an old project, created with an earlier version of Audacity with Audacity 3.5.1
  3. Observe some audio clips/tracks are pitched up/down.

Expected behavior

The clips should never be pitched up/down without user input.

Actual behavior

The clips are pitched/shifted.

Audacity Version

latest stable version (from audacityteam.org/download)

Operating system

Windows, macOS, Linux

Additional context

This is a placeholder ticket that I am fleshing out as I go, as I still can't find the reason for this to happen.

chinakov avatar Jun 05 '24 12:06 chinakov

I have followed the steps using Audacity 3.4.2 and couldn't reproduce.

I was then given a project by @chinakov . The problem is that the action leading to the ill state cannot be reproduced anymore. It seems that the newer Audacity auto-corrects settings (in this case wrongly) and auto-saves. I therefore cannot use this project anymore to reproduce the bug.

I observe, though, that all tracks of the project have sample rate 48kHz. After a few experiments, I found out that one of the tracks should actually have had sample rate 44.1kHz, and the others, 192kHz. So I looked for places in the code where 48000 is used as default but found none.

I tried to reproduce the problem following the steps, creating a 3.1.2 project, but didn't succeed. If anyone could provide more specific steps that would be very helpful. I'm otherwise out of ideas.

saintmatthieu avatar Jun 24 '24 08:06 saintmatthieu

This was fixed in the mentioned issue above. Thanks!

chinakov avatar Jul 22 '24 14:07 chinakov