]> de.git.xonotic.org Git - xonotic/mediasource.git/blobdiff - sound/weapons/tuba_loopnote_maker.sh
some improvements
[xonotic/mediasource.git] / sound / weapons / tuba_loopnote_maker.sh
index cd399880f6414405f6a02c6e30a301a2fc59e598..4289b4d06103c64f48895be383d9e4f24839340c 100755 (executable)
@@ -23,6 +23,7 @@ loopmax=1.5
 len=1.8
 
 perl tuba_loopnote_maker.mid.pl "$t"/tuba_loopnote_maker.mid $delta $program $velocity $transpose -18 -12 -6 0 6 12 18 24
+cp "$t"/tuba_loopnote_maker.mid tuba$tubaid.mid
 
 case "$synth" in
        timidity)
@@ -35,7 +36,7 @@ esac
 
 normalize --peak "$t"/out.wav
 
-start=$delta
+start=0
 step=$(($delta*2))
 for note in -18 -12 -6 0 6 12 18 24; do
        sox "$t"/out.wav "$t"/n$note.wav \