Menu

Playing RAW data

Help
AC
2003-08-09
2012-09-22
  • AC

    AC - 2003-08-09

    Through programs such as adrec and cont_adseg, you get sets of raw data which (I'm assuming) is what was the recognized speech. How do I playback these raw files? Is there a mechanism in sphinx to do so? Or can I simply play them back in windows media player or some other music application?

    Thanks

     
    • Dirk Schnelle-Walka

      Sure, you can. Normally programs like windows media player don't find enough information in the raw files to play them.

      Try sox (http://sox.sourceforge.net) to convert them into wave files and play these files with your program.

      For the conversion you should know the sampling rate, the number of channels and the number of bits per sample.

      /Dirk

       
    • Anonymous

      Anonymous - 2003-11-25

      You can also use the linux command "play" command, I use the following settings:  play -t raw -r 16000 -f s -s w utterance.raw  If you just want to playback to verify the utterance

       

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.