From 0e7cee1631db791b32b5f87e1687b0b01b97cb4b Mon Sep 17 00:00:00 2001 From: dj3c1t Date: Sun, 11 May 2014 22:13:11 +0200 Subject: [PATCH] sox: encodage en 16 bits pour les waveforms --- app/data/modules/share/sml_data_waveforms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/data/modules/share/sml_data_waveforms.php b/app/data/modules/share/sml_data_waveforms.php index d492a46..91a3011 100644 --- a/app/data/modules/share/sml_data_waveforms.php +++ b/app/data/modules/share/sml_data_waveforms.php @@ -92,7 +92,7 @@ // function sox_command($audio_file, $wav_file){ - return "sox -V \"".$audio_file."\" -r 8000 -c 1 \"".$wav_file."\""; + return "sox -V \"".$audio_file."\" -b 16 -r 8000 -c 1 \"".$wav_file."\""; } function sox_exists(){ -- 2.1.4