1

Can someone advise a way how to automatically (with a script) get a list of time labels for periods of silence in an audio file?

Such a list can be obtained with the help of Audacity, but it seems there is no way to easily automate this task.

The list can be in any format. Moreover, it can even be a list with averaged (RMS?) for some time window sample values for the whole file, from which silence periods can be detected.

  • 4
    This sounds like it would be a better fit for Signal Processing – Tetsujin Sep 27 '18 at 18:45
  • 1
    Before posting here I checked that site and thought that this site is more appropriate: every music program has features related to silence (generating, removing...) so there are probably users of such programs who know how to do that. But if moderators decide to move this question, that's OK. – Al Berger Sep 27 '18 at 18:55
  • If you have any programming experience, and the audio is in an uncompressed format, it shouldn't be too difficult to programme a simple command-line tool yourself. – Your Uncle Bob Sep 27 '18 at 19:26
  • @Bob Seems like a good idea. I work with mp3 files, but I can convert them to raw audio with SoX. – Al Berger Sep 27 '18 at 19:40
0

Try java sound api.

Check the following url for examples.

Java Sound Resources: Examples: A - Z

  • The most appropriate section seems to be this, but it is of limited use besides introducing the term noise gate. – guidot Apr 26 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.