3
根據手冊頁(它已被列爲示例),以下命令應該在靜默2秒的時間點將輸入文件拆分爲多個音頻文件。而不是它創建只有一個文件被報告大約0.2秒長。sox無法拆分文件
$ sox -V3 infile.wav outfile.ogg silence 1 0.50 0.1% 1 3.0 0.1% : newfile : restart
sox: SoX v14.3.1
sox INFO formats: detected file format type `wav'
Input File : 'infile.wav'
Channels : 2
Sample Rate : 32000
Precision : 16-bit
Sample Encoding: 16-bit Signed Integer PCM
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
Output File : 'outfile001.ogg'
Channels : 2
Sample Rate : 32000
Precision : 16-bit
Sample Encoding: Vorbis
Comment : 'Processed by SoX'
sox INFO sox: effects chain: input 32000Hz 2 channels
sox INFO sox: effects chain: silence 32000Hz 2 channels
sox INFO sox: effects chain: output 32000Hz 2 channels
更簡單的例子只使用修剪給了我相同的結果。