[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:04166] Re: SPTK tool related help


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:
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.

Can any one plz teach me how to convert temp.wav fie to temp.short file and vice versa ?

Rgds,
Nirmesh


Follow-Ups
[hts-users:04167] Re: SPTK tool related help, Malle ram reddy
References
[hts-users:04165] SPTK tool related help, Nirmesh Shah