Re: cut preview problem
Posted: Thu Jun 20, 2013 3:40 pm
I'm looking at SetupCutPreviewTracks in ControlToolBar.cpp. I'm only just starting to get to grips with this track iterator stuff, but it looks like it gets the first selected track and copies the section before the selection and the section after the selection to a "virtual" track, and it is that copy that is played on preview. What it doesn't seem to do, but I think it should do, is to iterate through all selected tracks.Gale Andrews wrote:If you can't and that's regarded as a "feature"
It should not preview all tracks as if they have been cut, because we are only cutting from the selected tracks. If we were to include all (non muted) tracks in the preview, then:
A=section before the selection
B=the selection
C=section after the selection.
Selected tracks should play A and C. Not-selected tracks should play A and B. (so as to "preview" the effect of the cut).
However, I think that would be confusing and completely different to what "Preview" does elsewhere. So better, I think, for all selected tracks to play A and C.
It is a "feature" in that Audacity can skip instantly from the end of A to the start of B, because it has prepared the selection that it is going to play. It is important when checking that a cut action does not glitch that going from the end of A to the start of B is instant (no delay at all). The down side is that because the preview audio is prepared ahead of time, it can't be changed in real time. Preview could be muted altogether, but not on an individual track level, so I don't see that would be useful.
Imho it would be insanely dangerous to edit audio that you can't hear unless you are into stochastic editing.Gale Andrews wrote:Perhaps they explicitly don't want to hear the muted selected track that is going to have a piece cut from it (because they muted it).