Jump to content

Audiofile operations

From Costa's Wiki
Revision as of 19:48, 27 April 2022 by 172.17.0.1 (talk) (Created page with "All the command line options are listed farther below. Here's an explanation of the recommended options: <pre>mp3splt -f -t 4.0 -a -d split *.mp3</pre> * -f: for MP3 files o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

All the command line options are listed farther below. Here's an explanation of the recommended options:

mp3splt -f -t 4.0 -a -d split *.mp3
  • -f: for MP3 files only, increases precision and is needed if the MP3 files are variable bit rate (VBR).
  • -t TIME: specifies the length, measured in time, to make each piece. You will replace `TIME` with a numerical value expressed in minutes, such as 4.0 for four minutes or 7.30 for seven minutes, thirty seconds. In our example, we picked four minute pieces, so the command line will be
  • -a: automatically adjusts the split points to occur during silences, which avoids splitting in the middle of a word. Therefore, the pieces will vary in their exact length.
  • -d split: writes the split files to a sub-folder named split(you may pick any name you wish). The folder will be created if it doesn't already exist. It's more convenient if you don't put the split files in the same folder with the original ones.
  • *.mp3: process all the MP3 files in the current folder. If you are splitting Ogg Vorbis files, change this to *.ogg.

By default, Mp3Splt uses the original file's name for the split pieces, adding the time interval of each piece to the name in order to generate unique filenames. For our example, the filename for Chapter 1 is

lookingglass_01_carroll_64kb.mp3

These are the names of the split pieces (46 characters long, which is comparatively short):

lookingglass_01_carroll_64kb_000.00_004.00.mp3
lookingglass_01_carroll_64kb_004.00_008.00.mp3
lookingglass_01_carroll_64kb_008.00_012.00.mp3
lookingglass_01_carroll_64kb_012.00_016.00.mp3
lookingglass_01_carroll_64kb_016.00_020.00.mp3