Menu

goforward.16k

Help
2005-06-10
2012-09-22
  • Robert G. Ristroph

    Hi,

    I just installed sphinx for the first time. I ran the sphinx2-test and it processes the file /usr/local/share/sphinx2/model/lm/turtle/goforward.16k. I want to listen to that file -- what format is it in, and how can I convert it to a wav using sox ?

    --Rob

     
    • sgpue

      sgpue - 2005-06-10

      Hi,

      you can play the file /usr/local/share/sphinx2/model/lm/turtle/goforward.16k with the play command:

      play /usr/local/share/sphinx2/model/lm/turtle/goforward.16k -f s -r 16000 -w -t raw

      play filename -f formattype(s --> signed linear) -r samplingrate (16000 samples per second) -w (data enconding) -t raw (filetype)

      To convert it to a wav using sox you can do:
      sox -t raw -r 16000 -s -w /usr/local/share/sphinx2/model/lm/turtle/goforward.16k -t wav out.wav

      I hope this helps.

      Sergio

       
      • Robert G. Ristroph

        That worked great, thanks.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.