Menu

How do I get a visible result of voice recognition as a wav file ?

Help
2016-03-18
2016-03-20
  • Kwak Kyuong jin

    Kwak Kyuong jin - 2016-03-18

    pocket Sphinx
    i want visile result of voice recognition as a wav file or pcm file.

    Is it possible?

     

    Last edit: Kwak Kyuong jin 2016-03-18
  • Jens Kallup

    Jens Kallup - 2016-03-20

    Hi,

    do you mean records of wav?
    simply type "arecord -t wav | aplay" in console (without quotes)

    This will record wav stream over mic into stdin and pipe it to aplay - you should hear your
    sound over speaker.
    To record directly into files use arecord -t way > filename.wav

    for cmusphinx, you need mono files, so it may be needed to use "sox" to convert
    stereo to mono.

    hope this helps
    Jens

     

Log in to post a comment.