0

mp3 file with around 200 sentences. They are separated by silence of around 500-1000, but it is not fixed or equal.

What is the best way to split to one file per sentence? Preferably with . I heard it should work but couldn't found any clear documentation.

I saw Split audio file but only in pauses but couldn't understand what is

1 0.5 2% - above_periods, duration, threshold.

1 2.0 2% - below_periods, duration, threshold.
Paulo Tomé
  • 3,754
  • 6
  • 26
  • 38
Cranjis
  • 101
  • 1
  • You might want to check this https://stackoverflow.com/questions/20014064/how-to-batch-split-audio-files-wherever-there-is-silence – Eduardo Trápani Jan 15 '20 at 13:14
  • @EduardoTrápani I so this but I don't understand the parameters, can you explain what is 1 3.0 0.1% 1 0.3 0.1% : newfile : restart? – Cranjis Jan 15 '20 at 13:17
  • Please read all the answers in the linked question. One of them lists the explanations for the parameters. – Eduardo Trápani Jan 15 '20 at 13:22
  • @EduardoTrápani I read it but I don't understand what they mean by above_period and below_period – Cranjis Jan 15 '20 at 13:43
  • have you read [the man page](https://linux.die.net/man/1/sox)? Look for `above-periods`. – Eduardo Trápani Jan 15 '20 at 13:47
  • @EduardoTrápani I want to split 1 wav file to multiple wav files, segmented by silence , I don't understand how this helps me – Cranjis Jan 15 '20 at 13:48
  • If you don't understand how [this](https://stackoverflow.com/questions/20014064/how-to-batch-split-audio-files-wherever-there-is-silence) answers your question ... I'm out of ideas. Sorry. – Eduardo Trápani Jan 15 '20 at 13:50
  • 1
    [This answer](https://unix.stackexchange.com/a/320517/377345) should contain all necessary explanations on the parameters. – AdminBee Jan 15 '20 at 14:20

0 Answers0