aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-07-03 15:55:36 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-07-03 15:55:36 +1200
commit8f7ee209284497e58052701aa737c0f8d615b72b (patch)
tree372a21e974b6f9068d5ffe52d92fa36dfe6ef68a
parenta47b9cb7571d486e1b89e1ac49dfac0144193332 (diff)
downloadcue-bin-split-8f7ee209284497e58052701aa737c0f8d615b72b.tar.xz
Improved readme
-rw-r--r--README.md30
1 files changed, 25 insertions, 5 deletions
diff --git a/README.md b/README.md
index e2527d2..bddd675 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,26 @@
-Don't use this
-==============
-Reasons:
+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).
-* Requires the cue file to be preprocessed to an extent
-* `grep -i FIXME *.c`
+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**
+
+
+Warning
+-------
+Try running `grep -i FIXME *.c`
+
+**This will overwrite any existing file with the same name as an output file**
+
+
+Sample Usage
+------------
+Assuming you want to use the first indices of each track as a boundary,
+
+ grep "INDEX 01" cue-file | \
+ sed -e 's/INDEX 01//g' | \
+ cue-bin-split raw-file channels samples-rate bytes-per-sample
+
+will output a bunch of files track_0001 through track_nnnn.
+You might then push them through ffmpeg or something to get them to another format.