summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-06-24 21:20:20 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-06-24 21:20:20 +0000
commit3488b2fe094169456a4aff2f2b021a54b2db8254 (patch)
tree63f9433ea3b050fb32a3101e6c913eb753a2744f /tools
parenta4b20f6c46e0751a16c36639632332e61bb25a11 (diff)
splash screen fix from nedko ; fix cleanup's failure to correctly locate files listed in XML nodes ; Route::set_name() doesn't need to be virtual ; minor text alterations
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5268 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools')
-rwxr-xr-xtools/synthesize_sources.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/synthesize_sources.pl b/tools/synthesize_sources.pl
index 54fb8eb60d..5615b01bff 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", # output 16 bit
"-t", "wav", # format wav
$audioFileDirectory."/".$sources{$tmp}->{name}, # filename
"trim", "0", $sources{$tmp}->{calculated_length}."s" # trim silence to wanted sample amount
@@ -91,7 +91,7 @@ foreach my $tmp (keys %sources) {
if ($waveType eq "sine") {
@cmd = (@cmd, "synth","sin","%0", "vol", "0.2", "fade","q","0.01s", $sources{$tmp}->{calculated_length}."s" , "0.01s");
}
-
+ print (join (" ", @cmd));
system(@cmd);
}