Page 2 of 2

Re: Bug for previews 2.2.0

Permanent link to this postPosted: Tue Nov 14, 2017 12:18 pm
Posted by steve
OK, so that gives us two lines of enquiry.
If I can reproduce the problem with your 'bad' project, then it's a problem in our code (Audacity should at least be able to fail gracefully even if the data is bad).
If I can't reproduce the problem, then it's more likely to be a problem with that particular build of Audacity, so we can then look into that.

Re: Bug for previews 2.2.0

Permanent link to this postPosted: Tue Nov 14, 2017 3:10 pm
Posted by demonicsweaters
I'm pretty sure this one is coming from the KXStudio repositories. I have those on my system for audio software.
Here's a link to download the projects. The exact one I was working on is the one labeled 130bpm https://drive.google.com/file/d/0By_2f6m6Axl9Ymhocm1yaUdJMFE/view?usp=sharing

Re: Bug for previews 2.2.0

Permanent link to this postPosted: Tue Nov 14, 2017 3:58 pm
Posted by steve
Thanks. It's a bug, and easy to reproduce.
There's also an easy workaround:

  1. Open the project
  2. Click on one of the tracks
  3. Ctrl+A
  4. Shift + Home key
  5. Ctrl + T
When you press Ctrl + T, you should see the <- arrows at the beginning of the audio tracks disappear (we have trimmed off the portion of track that is before zero).

The problem is that if the selection extends before zero, "preview" gets an invalid length, which causes it to fail.

Now I need to log the bug, then see if I can find why it is getting an invalid length.