Bugzilla – Bug 1827
ENH: Nyquist Analyzers can clutter an existing label track when selected
Last modified: 2019-05-28 12:42:02 UTC
As per the Steps to reproduce. 1) If the user has a pre-existing label tack and has that as part of the selection when using the Nyquist analyzers: Sound Finder, Silence Finder, Beat Finder, Regular Interval Labels then the Nyquist analyzer will place the results in the pre-existing (selected) label track intermingling the analysis results with any pre-existing label tracks that the user may have - effectively corrupting the label track. 2) If just the audio is selected the Nyquist analyzers create a new label track for the analysis data output. Note that the newly created label track takes the default name "Label Track" rather than any meaningful name to indicate what it is. 3) Compare these behaviors with the Built-in analyzer Find Clipping, which: a) always creates a new label track even if a pre-existing label track is part of the analysis selection - so does not corrupt any pre-existsing label track/labels b) names the analysis label track as "Clipping" to give a clear indication of what it is (similar now obtains in 2.2.2 with the new Dropout Detector - which labels the error label track "Dropouts" One might argue that 1) above is "intended behavior" - but I would suggest that it would be better (certainly for consistency) to make the Nyquist analyzers follow the Find Clipping behaviors. But I certainly would *not* want us to downgrade the Find Clipping behaviors to follow the Nyquist analyzer model in the name of consistency. I have deliberately left this as a bug rather than ENH enhancement because of the corruption of users' pre-existing label data. Admittedly no pe-existing labels are deleted - just sufficiently seriosly intermingled so as to make them effectively useless.
See related Bug #1348 "Inconsistent behavior of analyzers, and undo errors"
I'm not convinced that this is a bug. It could be argued that "Find Clipping" is at fault because it fails to write labels in the selected label track. I think this at least requires QA discussion before release noting.
"Corrupt" in the title is too strong a word. The data in the label tracks are not meaningless. But Steve is right, the bug issue should be generalized. Consider Find Clipping too and Vamp effects. What should be consistent behavior for all analyzers? Find Clipping either adds a track called "Clipping" or modifies the first existing label track with that name. (Or, whatever "Clipping" translates to for your language.) Vamp effects always add tracks. It appears Nyquist modifies the first of the selected label track, or if there are none, makes a new label track. Finally dropout detection is perhaps like an analyzer. It always adds a track called Dropouts.
Demoted to P4 after discussion with Steve Steve wrote by email: >What I would suggest with this specific bug, is that we demote to P4 >for now, then after release we re-frame the bug as a more general >bug/enh about consistency of behaviours of Analyse effects. Then, as a >"new" issue, have a thorough QA discussion regarding a consistent >methods of label placement.
Release Note used to say: Group: Analysis effects *When using the Nyquist analyzers (Analyze>Find: Silence, Sound, Beats or Regular Interval Labels). If you already have a label track and that is included in the selection that you make for the analysis then the Nyquist analyzers will place their output in your selected label track - possibly causing confusion with your existing labels. **'''Workaround:''' Ensure you just select audio track(s) and include no label track in the selection for the analysis.
I have ameliorated this by addinf a tip to the relevant pages in the Manual: {{tip|If you already have a label track and that is included in the selection that you make for the analysis then these labels will be added to your selected label track - possibly causing confusion with your existing labels. *'''Workaround:''' Ensure you just select audio track(s) and include no label track in the selection for the analysis.}} But I still think that it would be better if the analyzers always created their own new label track.
Note that in contrast the Queen Mary Vamp plug-ins create a separate new label track for each analysis that they perform.
(In reply to Peter Sampson from comment #6) Peter wrote: > But I still think that it would be better if the analyzers always > created their own new label track. I disagree. There may well be cases where a user wants to produce ONE label track when processing multiple sections of an audio track. For example, they may want to mark sounds or silences in a very long audio track, but are only interested in sections where the sound is intermittent. Currently we have no way of merging multiple label tracks, so it is very useful that Nyquist analyzers provide a simple way to either (a) create a new label track, or (b) generate labels in an existing track. The user can either include an existing label track in the selection, or not, depending on which they want. It could be seen as an inconvenient limitation that VAMP plug-ins do not have this flexibility, but I've seen no complaints from users about this, and the limitation is mitigated by VAMP plug-ins naming the label track (which is something that normal Nyquist plug-ins cannot do). I think that Nyquist plug-ins could be extended to provide an "option" to override the current behaviour and always write labels to a new track, but I see little demand or benefit in doing so. My inclination is to close this as "not a bug".
(In reply to Steve Daulton from comment #8) OK - I shall withdraw this enhancement request. And there is a simple workaround "Don't select the label track" which makes sense anyway as the label track is not subject to analysis.