Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 390 - Detach at silences when the silence is a clip creates spurious single-sample clip
Detach at silences when the silence is a clip creates spurious single-sample ...
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Multiclip
1.3.14 alpha
Per OS All
: P4 Repeatable
Assigned To: Michael Chinen
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-09 16:45 UTC by Gale Andrews
Modified: 2018-08-20 11:45 UTC (History)
4 users (show)

See Also:
Steps To Reproduce:
1. New Project, Snap To OFF, Sync-lock OFF, sample rate/format doesn't matter 2. Generate tone 30 sec 3. Click at 6 different points (the number doesn't matter) and Edit > Clip Boundaries > Split at each point, creating 7 clips. 4. Double-click in every other clip and Edit > Remove Audio > Silence Audio creating 4 clips with audio, separated by clips consisting of silence 5. Select entire track and Edit > Clip Boundaries > Detach at Silences - each clip except the first has a "dark split line" at its left edge. 6. Zoom in on one of those dark split lines to reveal a clip consisting of one sample. Instead: 5. Select entire track and Edit > Clip Boundaries > Join 6. Edit > Clip Boundaries > Detach at Silences - 1-sample wide clips are not created.
Release Note:
First Git SHA:
Group: ---
Workaround:
Closed: 2018-08-20 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gale Andrews 2011-05-09 16:45:38 UTC
Not a regression on 1.3.12. For possible reference, see the fixed bug 123 (Generating inside a clip can modify the clip length or create spurious clips)  

Left-clicking to merge the splits does not seem to create a problem in the steps to reproduce here. There is a case http://bugzilla.audacityteam.org/show_bug.cgi?id=373#c20 where (at least one of) detaching at silences which were clips in a stereo track, splitting to mono, moving clips and recombining the stereo track has somehow produced a split line in white space before a spurious clip of i5 samples plus another spurious 1-sample clip after that. Clicking on these spurious split lines or clips crashes on Windows. 

My method of creating the clips in that case was slightly different, but also produces the 1-sample spurious clip at the left edge - simplified steps:

1 Generate 30s tone.  
2 Select a region somewhere a few seconds long and CTRL + I to split it. 
3 Select another region that does not touch the split region and CTRL + I to split it.
4 Double click between the split regions and CTRL + L to silence it.
5 Select the whole track and Edit > Clip Boundaries > Detach at Silences.
6 Spurious 1-sample clip appears to left of the clips containing audio.
Comment 1 Michael Chinen 2011-06-01 13:25:25 UTC
fix commited in r11184

Change is only within detach at silence code (was an off-by-one error,) so is not expected to affect other functions.
Comment 2 Gale Andrews 2011-06-06 23:23:17 UTC
(In reply to comment #1)
Thanks, Michael. On Windows 7 and Ubuntu I tested the Steps to Repro with the original and alternative steps 5 and 6 and also the steps in comment 0 and all seems OK visually and in the .aup file.