summaryrefslogtreecommitdiffstats
path: root/drg2flac.sh
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2013-08-15 07:02:26 +0200
committerFlorian Bruhin <git@the-compiler.org>2013-08-15 07:02:26 +0200
commit7f84802c62f2a142c6dc61fca86476529ab5419d (patch)
treef0fb7b17770343fe84ebad7dbae114bff53450d1 /drg2flac.sh
parent0d9abf6182ffa7042477786ef4677d1ef4dc04e8 (diff)
downloaddrg2flac-7f84802c62f2a142c6dc61fca86476529ab5419d.tar.gz
drg2flac-7f84802c62f2a142c6dc61fca86476529ab5419d.zip
Improve outputv0.1
Diffstat (limited to 'drg2flac.sh')
-rwxr-xr-xdrg2flac.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/drg2flac.sh b/drg2flac.sh
index 1364b84..3faa37e 100755
--- a/drg2flac.sh
+++ b/drg2flac.sh
@@ -34,7 +34,7 @@ done
cred="$(tput setaf 1)"
cres="$(tput sgr0)"
cgreen="$(tput setaf 2)"
-cblue="$(tput setaf 7)"
+cblue="$(tput setaf 4)"
cbold="$(tput bold)"
@@ -132,6 +132,7 @@ for infile in "$@"; do
echo "Converted file will have no image!" >&2
skipimage=1
else
+ echo
echo "${cblue}Converting image${cres}"
convert "$tmp/image" "$tmp/image.png"
if (( $? != 0 )); then
@@ -141,14 +142,18 @@ for infile in "$@"; do
fi
fi
+ echo
echo "${cblue}Converting drg to sbg${cres}"
drg2sbg -o "$tmp/sbg" "$infile"
(( $? != 0 )) && { error "$infile" "converting drg to sbg"; continue ;}
+ echo
echo "${cblue}Converting sbg to wav${cres}"
sbagen -W -o "$tmp/wav" "$tmp/sbg"
(( $? != 0 )) && { error "$infile" "converting sbg to wav"; continue ;}
+ echo
+ echo
echo "${cblue}Converting wav to flac${cres}"
[[ -z "$outfile" ]] && outfile="${infile%.*}.flac"
[[ -z "$artist" ]] && artist="I-Doser"