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

Audacity Bugzilla



Bug 2133 - Silence Audio deletes MIDI notes
Silence Audio deletes MIDI notes
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Built-in FX
2.2.2
Per OS All
: P1 RepeatableAll
Assigned To: Default Assignee for New Bugs
: MIDI
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-06-18 07:43 UTC by Steve Daulton
Modified: 2019-07-09 11:06 UTC (History)
3 users (show)

See Also:
Steps To Reproduce:
1) Include a Note Track in a selection. 2) "Silence Audio"
Release Note:
First Git SHA:
Group: ---
Workaround:
Closed: 2019-07-09 00:00:00
stevethefiddle: Regression+
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+
stevethefiddle: Test‑OK‑Lin+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Daulton 2019-06-18 07:43:40 UTC
MIDI is NOT AUDIO, so this behaviour is unexpected and destroys user data.

When Note data is selected, users that are familiar with MIDI would expect a "Silence Audio" command to have no affect on the MIDI data. However, we "delete" (not even just "silencing" but completely remove) the selected MIDI data.

It "could" be argued that "Silence Audio" should "silence" the selected section of the Note Track, for example by reducing velocity data to zero, but as there is currently no way to set velocity data, that would be a very bad idea at this time.

This is a regression against Audacity 2.1.3.

As the user may not have MIDI playback enabled (particularly for Linux users where MIDI playback is not audible by default), so this bug could destroy user data, and the user could easily not notice until it's too late.Hence P1.
Comment 2 Peter Sampson 2019-06-29 09:38:50 UTC
Testing on W10 with audacity-2.3.3-alpha-277-bdcb55467f725ad6e138a54da7e76244d3cc81eb

with a selection in a Note track both Silence Audio and Trim Audio are grayed ot in the Menu and their buttons are grayed out in the Edit Toolbar - the commands are inoperable.

Note that no error message is displayed to the user,
Comment 3 Peter Sampson 2019-06-30 11:17:45 UTC
Testing on macOS 10.14.5 Mojave with alpha 2.3.3 jc002 of 30Jun19

Same as Windows

with a selection in a Note track both Silence Audio and Trim Audio are grayed out in the Menu and their buttons are grayed out in the Edit Toolbar - the commands are inoperable.

Note that no error message is displayed to the user,
Comment 4 Steve Daulton 2019-07-09 11:06:03 UTC
Works for me (as described in comment #2).
Closing as FIXED.