From: dj3c1t Date: Sun, 11 May 2014 20:13:11 +0000 (+0200) Subject: sox: encodage en 16 bits pour les waveforms X-Git-Tag: sourceml.1.2.2 X-Git-Url: http://git.dj3c1t.com/?p=mw_sourceml;a=commitdiff_plain;h=0e7cee1631db791b32b5f87e1687b0b01b97cb4b sox: encodage en 16 bits pour les waveforms --- 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(){