summaryrefslogtreecommitdiff
path: root/tools/synthesize_sources.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/synthesize_sources.pl')
-rwxr-xr-xtools/synthesize_sources.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/synthesize_sources.pl b/tools/synthesize_sources.pl
index 54fb8eb60d..0785f09e40 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