]> git.phdru.name Git - audio-cdr-video.git/commitdiff
Feat: Add `split-cue.sh`
authorOleg Broytman <phd@phdru.name>
Sun, 26 Sep 2021 13:13:28 +0000 (16:13 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 26 Sep 2021 13:13:28 +0000 (16:13 +0300)
Split FLAC+CUE into separate tracks.

audio/split-cue.sh [new file with mode: 0755]

diff --git a/audio/split-cue.sh b/audio/split-cue.sh
new file mode 100755 (executable)
index 0000000..f55e06c
--- /dev/null
@@ -0,0 +1,5 @@
+#! /bin/sh
+# https://unix.stackexchange.com/a/10270
+
+cuebreakpoints "$1".cue | shnsplit -o flac "$1".flac
+cuetag "$1".cue split-*.flac