sox: encodage en 16 bits pour les waveforms sourceml.1.2.2
authordj3c1t <dj3c1t@free.fr>
Sun, 11 May 2014 20:13:11 +0000 (22:13 +0200)
committerdj3c1t <dj3c1t@free.fr>
Sun, 11 May 2014 20:13:11 +0000 (22:13 +0200)
app/data/modules/share/sml_data_waveforms.php

index d492a46..91a3011 100644 (file)
@@ -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(){