shithub: aubio

Download patch

ref: b8f05022bac32b9a93c57ec2ec45d28e535bae74
parent: 8f7ed55aabf4f3a07623f3a7aaf143746a1ab3fe
author: Paul Brossier <piem@piem.org>
date: Sat Apr 30 11:59:52 EDT 2016

Makefile: set 16 / 32 bits, lower volume to avoid dithering

--- a/Makefile
+++ b/Makefile
@@ -62,8 +62,8 @@
 create_test_sounds:
 	-[ -z `which $(SOX)` ] && ( echo $(SOX) could not be found) || true
 	-mkdir -p $(TESTSOUNDS)
-	-$(SOX) -r 44100 -n $(TESTSOUNDS)/44100Hz_1f_silence.wav synth 1s silence 0
-	-$(SOX) -r  8000 -n $(TESTSOUNDS)/8000Hz_30s_silence.wav synth 30 silence 0
-	-$(SOX) -r 32000 -n $(TESTSOUNDS)/32000Hz_127f_sine440.wav synth 127 sine 440
-	-$(SOX) -r 22050 -n $(TESTSOUNDS)/22050Hz_5s_brownnoise.wav synth 5 brownnoise
-	-$(SOX) -r 48000 -n $(TESTSOUNDS)/48000Hz_60s_sweep.wav synth 60 sine 200-24000
+	-$(SOX) -r 44100 -b 16 -n $(TESTSOUNDS)/44100Hz_1f_silence.wav synth 1s silence 0
+	-$(SOX) -r  8000 -b 16 -n $(TESTSOUNDS)/8000Hz_30s_silence.wav synth 30 silence 0 vol 0.9
+	-$(SOX) -r 32000 -b 16 -n $(TESTSOUNDS)/32000Hz_127f_sine440.wav synth 127 sine 440 vol 0.9
+	-$(SOX) -r 22050 -b 16 -n $(TESTSOUNDS)/22050Hz_5s_brownnoise.wav synth 5 brownnoise vol 0.9
+	-$(SOX) -r 48000 -b 32 -n $(TESTSOUNDS)/48000Hz_60s_sweep.wav synth 60 sine 0.1-20000 vol 0.9