-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6b7d4a
commit edfd3df
Showing
5 changed files
with
90 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 empty-line.wav reverb 65 fade t 0 1 0.5 | ||
rm -f .*.midi .*.wav |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash -e | ||
# Copyright 2024 Michael Pozhidaev <[email protected]> | ||
# The LUWRAIN Project, GPL v.3 | ||
#FIXME: Needs new key | ||
# As major | ||
|
||
INS=53 | ||
NOTE=68 | ||
DUR=110 | ||
|
||
./melody.sh $INS 120 $NOTE $DUR $NOTE $DUR $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.5 1 | ||
rm -f .*.midi .*.wav |