X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=tools%2Fsynthesize_sources.pl;h=37e4ec0730650138d2e1dcd0b9b38f6559394476;hb=f7c8bbc1a0e2132a78aaceaa5438ca69ff156176;hp=54fb8eb60d3902b39d4dc31247e16250cfcc41ce;hpb=bc89fe0147c04b67141936d109c00dfd4d69cc4b;p=ardour.git diff --git a/tools/synthesize_sources.pl b/tools/synthesize_sources.pl index 54fb8eb60d..37e4ec0730 100755 --- a/tools/synthesize_sources.pl +++ b/tools/synthesize_sources.pl @@ -78,11 +78,11 @@ foreach my $tmp (keys %sources) { "-t", "raw", # /dev/zero is raw :) "-r", $samplerate, # set sample rate "-c", "1", # 1 channel - "-b", # input in bytes + "-b", "8", # input in 8 bit chunks "-s", # signed "/dev/zero", # input signal - "-w", # output 16 bit + "-b", "16", # input in 16 bit chunks "-t", "wav", # format wav $audioFileDirectory."/".$sources{$tmp}->{name}, # filename "trim", "0", $sources{$tmp}->{calculated_length}."s" # trim silence to wanted sample amount