Remove ability to modify unneeded maxSynthChannels in stdin method

This commit is contained in:
Job Bautista 2022-05-07 16:21:14 +08:00
parent 7959ea758b
commit 584c602a4a
3 changed files with 4 additions and 5 deletions

View File

@ -11,4 +11,4 @@ DIR="background"
$DIR/verse6 \
$DIR/verse7 \
$DIR/chorus/1 $DIR/chorus/2 \
) | ../stdin/samples.pl 100 4 2 ../piano/ff
) | ../stdin/samples.pl 100 2 ../piano/ff

View File

@ -9,4 +9,4 @@ cat $DIR/verse1 \
$DIR/verse6/1 $DIR/dsdsdds $DIR/verse6/2 \
$DIR/verse7 \
$DIR/chorus/1 $DIR/chorus/2 |
../stdin/samples.pl 100 4 2 ../piano/ff
../stdin/samples.pl 100 2 ../piano/ff

View File

@ -30,9 +30,8 @@ use SoXMusicGen;
our @notes;
setTempo($ARGV[0]);
our $maxSynthChannels=$ARGV[1];
our $maxSamplesChannels=$ARGV[2];
our $samplesDir=$ARGV[3];
our $maxSamplesChannels=$ARGV[1];
our $samplesDir=$ARGV[2];
our @notestemp=<STDIN>;