aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-03-12 20:51:46 +1300
committerDavid Phillips <dbphillipsnz@gmail.com>2016-03-12 20:51:46 +1300
commitd48d40aa832f1f128df74d41393c016dbfe99510 (patch)
treecc4f0d82b9edb34832756131e574d377e6f9f27d
parente8120de2e70de2c2bae79b611be689994e2de7df (diff)
downloadcue-bin-split-d48d40aa832f1f128df74d41393c016dbfe99510.tar.xz
Misc readme updates
-rw-r--r--README.md32
1 files changed, 20 insertions, 12 deletions
diff --git a/README.md b/README.md
index aa7f6a0..9f5895e 100644
--- a/README.md
+++ b/README.md
@@ -1,14 +1,19 @@
-CUE/BIN Splitter
-================
-This is a tiny tool I wrote to take a slightly processed CUE file, a raw PCM file, and split it up
-into a collection of raw PCM files (one for each track).
+# CUE/BIN Splitter
-This tool takes a list of times (mm:ss:ff) from stdin and (blindly) outputs files named track_nnnn,
+This is a tiny tool I wrote to take a slightly processed CUE file, a raw PCM
+file, and split it up into a collection of raw PCM files (one for each track).
+
+The code style is mostly in the styles of "hacked together" and "let's put
+everything in main and sort it out later once I get it working". Since it's not
+an absolute showstopper, I'm working on changing this when I get the free time
+here and there.
+
+This tool takes a list of times (mm:ss:ff) from stdin and (blindly) outputs
+files named track_nnnn.
**It will overwrite any existing file with the same name**
-Usage
------
+## Usage
Options:
-r bitrate_Hz
@@ -18,9 +23,10 @@ Usage
-f name_format (%d and co are replaced with track number)
-Sample Usage
-------------
-Assuming you want to use the first indices of each track as a boundary and were chopping up a 44100 Hz, two channel, 16 bit audio stream,
+## Sample Usage
+
+Assuming you want to use the first indices of each track as a boundary and
+were chopping up a 44100 Hz, two channel, 16 bit audio stream,
grep "INDEX 01" audio.cue | \
sed -e 's/INDEX 01//g' | \
@@ -28,6 +34,8 @@ Assuming you want to use the first indices of each track as a boundary and were
Would output each track named as `track-001.raw`, `track-002.raw` and so on.
-You might then push them through ffmpeg, lame, and/or friends to get them to another audio format such as flac or mp3.
+You might then push them through ffmpeg, lame, and/or friends to get them to
+another audio format such as flac or mp3.
-Or if you're feeling high on disc space, just prepend a WAV header to the PCM data…
+Or if you're feeling high on disc space, just prepend a WAV header to the PCM
+data.