Results 1 to 6 of 6

Thread: How to detect and remove automatically silences into an mp3 file?

  1. #1
    Join Date
    Feb 2007
    Beans
    863

    How to detect and remove automatically silences into an mp3 file?

    Hi,

    I have made an audio recording, but I would like to process the mp3 file,
    and ask Ubuntu to remove automatically the silences (when there is no noise at all, sort of no noise
    background removal).

    Would you know please how it can be done, preferably by a command line?

    I know that you can remove the silences, or cut an mp3. that I know of course.

    The question is how to do that automatically

    thanks

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: How to detect and remove automatically silences into an mp3 file?

    Audacity is a good tool for audio editing. It has a learning curve, but is very powerful.

    It has a GUI, and I have not used it in automatic mode (maybe it is possible).

    Good luck

  3. #3
    Join Date
    Feb 2007
    Beans
    863

    Re: How to detect and remove automatically silences into an mp3 file?

    as indicated into my first post, it is not possible (automatically )

  4. #4
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to detect and remove automatically silences into an mp3 file?

    You can use audacity to find and mark silent passages. That will create a text file based on time of each silent span. Then you can use sox or audacity to remove the dead spaces between the vocal portions. A simple google search on audacity silence removal brings up these links:

    http://audacity.238276.n2.nabble.com...-td293043.html

    http://theaudacitytopodcast.com/tap0...with-audacity/

    http://forum.audacityteam.org/viewtopic.php?f=11&t=8150

    Once you have practiced doing it manually a few times, make a detailed list of procedures and try your hand at writing a script to perform the operation. There may be a script out there already.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  5. #5
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: How to detect and remove automatically silences into an mp3 file?

    You should be able to do the whole thing just using sox. I've not tried it myself but Google threw up some promising looking hits...

    https://www.google.co.uk/search?q=au...ce+removal+sox
    Cheesemill

  6. #6
    Join Date
    Dec 2012
    Beans
    10

    Re: How to detect and remove automatically silences into an mp3 file?

    Try splitting by using silence detection in mp3splt and joining using MP3Wrap.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •