Skip to main content
Participating Frequently
April 23, 2010
Answered

how to add or remove silence at the beging and at end of each audio file using batch process

  • April 23, 2010
  • 1 reply
  • 45746 views

Hi all,

I am new to this forum. I have been using Audition 3 for the last couple of years and these days I have to coop with an extra difficult situation, which is; I have more than 2000 files that start and finish with a random length of silence, it varies 0 to 7 sec. My question is, how can I set the silent duration at the beginning and end of each file to a constant amount of 2 sec by using batch process?

Kind regards,

Pavlos

    This topic has been closed for replies.
    Correct answer SteveG_AudioMasters_

    pavlos22 wrote:

    My question is, how can I set the silent duration at the beginning and end of each file to a constant amount of 2 sec by using batch process?

    You are going to have to perform two processes to achieve this. The first is that you will have to remove all of the variable amounts of silence from the files, so that they all start from zero and stop at the end. You can do this automatically by using Edit>Delete Silence, but you will have to be careful about how you set it up.

    After that, you need a script to add a fixed amount of silence at each end of each file, and run this as a batch process. The information about how to do that is in this thread, in the fourth post, and as far as I know, it's the only way to do it. There is more information in the rest of the thread too, explaining how this actually works.

    1 reply

    SteveG_AudioMasters_
    Community Expert
    SteveG_AudioMasters_Community ExpertCorrect answer
    Community Expert
    April 23, 2010

    pavlos22 wrote:

    My question is, how can I set the silent duration at the beginning and end of each file to a constant amount of 2 sec by using batch process?

    You are going to have to perform two processes to achieve this. The first is that you will have to remove all of the variable amounts of silence from the files, so that they all start from zero and stop at the end. You can do this automatically by using Edit>Delete Silence, but you will have to be careful about how you set it up.

    After that, you need a script to add a fixed amount of silence at each end of each file, and run this as a batch process. The information about how to do that is in this thread, in the fourth post, and as far as I know, it's the only way to do it. There is more information in the rest of the thread too, explaining how this actually works.

    pavlos22Author
    Participating Frequently
    April 23, 2010

    Dear Steve,

    Many thanks for you reply. You sussest to use Edit>Delete Silence in order to all start from zero and stop at the end, this procedure will allso trace silence between the audio! Am I missing something here?

    pavlos22Author
    Participating Frequently
    April 27, 2010

    pavlos22 wrote:

    Definitely we need help on Audition's scripting language from the people in Adobe. Why don't they produce a scripting language documentation?!   

    Dunno - it's always been like that. Even though it's possible to reverse-engineer some of what's there, I always get the impression that there may be very simple ways of issuing commands to do things that you simply don't get by using the 'learn a sequence' method of doing things. For instance, the settings for selecting absolute time at the start of a file weren't discovered like that at all - ryclark only discovered this by experimenting. Same thing applies to my 'mode' table.

    For a start, I really would like to know what all of the available commands are - along with lists for each one of the parameters you can vary. Somebody somewhere obviously has this information, so why shouldn't we have it as well? I mean, it's us that are trying to use it, for heaven's sake... what's the big secret?


    I agree! I wonder if the Audition engineers read this Forum...