alumae / kaldi-gstreamer-server

Real-time full-duplex speech recognition server, based on the Kaldi toolkit and the GStreamer framwork.
BSD 2-Clause "Simplified" License
1.07k stars 341 forks source link

converting saved raw files into wav #40

Closed rohithkodali closed 8 years ago

rohithkodali commented 8 years ago

hi tanel,

What is the format of the raw files that are saved using gstreamer, is there anyway to convert them into wav files?

alumae commented 8 years ago

The format is 16 kHz, 16 bit, signed, mono. This sox comman line should work:

sox -r 16000 -e signed-integer -b 16 -c 1 input.raw output.wav
rohithkodali commented 8 years ago

i have tried it but the output is playing 4 times faster

ex: 1 minute audio file is converted into 15 seconds

45.wav.zip