If you have 'sox' installed, you can do
sox temp.wav temp.raw
according to sox defaults, the temp.raw created should be in PCM 16-bit (i.e. short) that you can use as temp.short with SPTK
in case the conversion doesn't create a 16-bit PCM, there are options to sox to do so (-b/--bits, -L/--endian, -s/--encoding, ... see 'man sox')
sox temp.wav -s -L -b 16 -t raw temp.short
hope it helps,
Alexis
On 11/17/2014 04:25 PM, Nirmesh Shah wrote:
NirmeshRgds,Can any one plz teach me how to convert temp.wav fie to temp.short file and vice versa ?Hello,I have temp.wav file in order to apply SPTK tool commands to it. According to SPTKexample.pdf I have to convert it into temp.short file.