Skip to content

Truncate Silence: add option to truncate start/end only #4204

Description

@mindplay-dk

Your idea

Add an option to remove silence from the beginning and end only.

Problem to be solved

For clarification, I would suggest renaming this effect to "Remove Silences" - the word truncate generally means "to shorten by cutting off", which isn't the only thing this effect does - the word "remove" seems more general, with no implication as to where the removal is happening.

To make things extremely clear at the UI level, I would suggest adding 3 checkboxes with clear descriptions of what the effect does:

  • Trim silence from the beginning
  • Trim silence from the end
  • Remove periods of silence within

Prior art

No response

Additional context

I discovered too late (after processing several 100 songs) that this plugin not only truncates silence from the beginning and end of audio files, but also removes silence detected inside the file. Well, shame on me for not reading the manual, I guess.

It took me a while to figure out what was going on. I initially thought this was a bug. I repeatedly processed the same file, not understanding why this one file had pieces taken out of it when most other files (having no silences) did not.

It's not clear not from the name of this effect, or from the UI, that this doesn't only do what a "truncate" function typically does in audio programs: trim the start and end.

I'm sure this feature is useful to somebody. Removing silences from speech, I guess?

If you're processing music, it's definitely not useful. Most music won't have periods of silence, but this particular song has pauses between a solo vocal at the beginning of the song. Some music uses pauses for effect. It's rare, and most people probably won't run into this - if you've only worked with music, you probably think this effect truncates the start and end.

If you're me, now you have to listen through 300 songs to find any others with pauses that might be broken. 😅

Activity

  1. added
    Enhancement Request
    on Jan 18, 2023
  2. LWinterberg commented on Jan 18, 2023

    @LWinterberg
    Member

    aye, this effect is in a strange state currently - see also the discussions on

  3. added
    feature tweak
    on Jan 23, 2023
  4. self-assigned this
    on Feb 20, 2023
  5. moved this from Undecided to timeline: 3.x in Feature Requestson Feb 20, 2023
  6. mwdiers commented on Oct 10, 2023

    @mwdiers

    FYI - there is a separate Nyquist plugin for trimming silence from the start and end of a track called TrimSilence.ny. You can use this in a macro for batch processing. It works well.

    Available here: https://plugins.audacityteam.org/nyquist-plugins/effect-plugins/time-pitch-and-tempo

  7. mindplay-dk commented on Oct 10, 2023

    @mindplay-dk
    Author

    If there's a working plugin, why doesn't Audacity just ship with that?

  8. moved this from to review (formerly 3.x) to timeline: eventually in Feature Requestson Oct 6, 2025
  9. added
    good first issue
    on Oct 6, 2025
  10. added this to [AU3] Main board and removed this from Feature Requestson Dec 29, 2025
  11. moved this from To-Do to Ready for QA in [AU3] Main boardon Dec 29, 2025
  12. moved this from Ready for QA to In QA in [AU3] Main boardon Dec 29, 2025
  13. moved this from In QA to Ready for merge in [AU3] Main boardon Dec 29, 2025
  14. moved this from Ready for merge to Done in [AU3] Main boardon Apr 1, 2026
  15. added this to the Audacity 3.7.8 milestone on Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Enhancement Requestfeature tweakgood first issue

Fields

Priority

None yet

Effort

None yet

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions