bin/audioupload in fonemas-0.4.10 vs bin/audioupload in fonemas-0.4.11
- old
+ new
@@ -18,9 +18,10 @@
t = Tempfile.new(basename)
if !valido
puts "convirtiendo a wav antes de subir"
+ `rm -f "#{t.path}"`
`ffmpeg -i "#{filename}" -vn -acodec pcm_s16le -ar 16000 -ac 1 -f wav "#{t.path}"`
filename = t.path
end
\ No newline at end of file