Skip to content

Commit

Permalink
Adding sounds/commander-location.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
marigostra committed Apr 28, 2024
1 parent 0ddbad5 commit a7f1ffa
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 10 deletions.
18 changes: 18 additions & 0 deletions sounds/commander-location.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash -e
# Copyright 2024 Michael Pozhidaev <[email protected]>
# The LUWRAIN Project, GPL v.3
# As major

#INS=53
INS=58
# es''
NOTE=75
DUR=75

./melody.sh $INS 120 $NOTE $DUR | csvmidi - > melody.midi
timidity -Ow melody.midi > /dev/null
mv melody.wav .melody-src.wav
sox -D .melody-src.wav -r 48000 -c 1 -b 16 .melody.wav bass 5

sox -D --norm=-0.1 .melody.wav -c 2 commander-location.wav reverb 65 fade t 0 1 1
rm -f .*.midi .*.wav
6 changes: 3 additions & 3 deletions sounds/empty-line.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

#INS=53
INS=58
# es''
NOTE=75
# es'
NOTE=63
DUR=75

./melody.sh $INS 120 $NOTE $DUR | csvmidi - > melody.midi
timidity -Ow melody.midi > /dev/null
mv melody.wav .melody-src.wav
sox -D .melody-src.wav -r 48000 -c 1 -b 16 .melody.wav bass 5

sox -D --norm=-0.1 .melody.wav -c 2 empty-line.wav reverb 65 fade t 0 1 0.5
sox -D --norm=-0.1 .melody.wav -c 2 empty-line.wav reverb 65 fade t 0 1 1
rm -f .*.midi .*.wav
2 changes: 1 addition & 1 deletion sounds/list-item-important.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ sox -D -n -r 48000 -b 16 -c 2 .harm.wav \
fade t 0.5 3 2 gain -25

sox -D .melody.wav .harm.wav -m .pre.wav
sox -D --norm=-0.1 .pre.wav list-item-important.wav pad 0 0.5 reverb 65 fade t 0 3 3
sox -D --norm=-0.1 .pre.wav list-item-important.wav pad 0 0.5 reverb 65 fade t 0 2 2
rm -f *.midi .*.wav
15 changes: 9 additions & 6 deletions sounds/make
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,22 @@ sox -D _list-item.wav list-item.wav gain -12

./empty-line.sh
mv empty-line.wav .empty-line.wav
sox -D .empty-line.wav empty-line.wav gain -30
sox -D .empty-line.wav empty-line.wav gain -22.5

./list-item-important.sh
mv list-item-important.wav _list-item-important.wav
sox -D _list-item-important.wav list-item-important.wav gain -28
mv list-item-important.wav .list-item-important.wav
sox -D .list-item-important.wav list-item-important.wav gain -25

./bounds.sh
mv bounds.wav _bounds.wav
sox -D _bounds.wav bounds.wav gain -10

# misc

./commander-location.sh
mv commander-location.wav .commander-location.wav
sox -D .commander-location.wav commander-location.wav gain -22.5

rm -f _*.wav .*.wav


Expand All @@ -68,6 +74,3 @@ cp list-item-important.wav desktop-item.wav
cp list-item-important.wav main-menu-item.wav
cp bounds.wav list-bounds.wav
cp bounds.wav text-bounds.wav



0 comments on commit a7f1ffa

Please sign in to comment.