forked from CryHavoc/dottes
Try and make audio generation less chatty.
This commit is contained in:
parent
e9c53be7a9
commit
ba866c5716
|
@ -24,10 +24,10 @@ makeaudiofiles()
|
||||||
name=`basename $1 .abc`
|
name=`basename $1 .abc`
|
||||||
tunedir="$2"
|
tunedir="$2"
|
||||||
|
|
||||||
abc2midi $1 -o $tunedir/${name}.tmp.mid
|
abc2midi $1 -o $tunedir/${name}.tmp.mid -silent
|
||||||
mv $tunedir/${name}.tmp.mid $tunedir/${name}.mid
|
mv $tunedir/${name}.tmp.mid $tunedir/${name}.mid
|
||||||
timidity -OwM $3 -o $tunedir/${name}.wav $tunedir/${name}.mid
|
timidity --quiet -OwM $3 -o $tunedir/${name}.wav $tunedir/${name}.mid
|
||||||
lame -m m -V 9 --quiet $tunedir/${name}.wav $tunedir/${name}.tmp.mp3
|
lame -m m -V 9 --silent $tunedir/${name}.wav $tunedir/${name}.tmp.mp3
|
||||||
mv $tunedir/${name}.tmp.mp3 $tunedir/${name}.mp3
|
mv $tunedir/${name}.tmp.mp3 $tunedir/${name}.mp3
|
||||||
# Timidity can generate OGG directly. But we need to generate WAV
|
# Timidity can generate OGG directly. But we need to generate WAV
|
||||||
# for lame, and oggenc produces smaller output. OGG is needed for
|
# for lame, and oggenc produces smaller output. OGG is needed for
|
||||||
|
|
Loading…
Reference in New Issue