Menu

About pocketsphinx-android-demo messenge

Help
2016-07-14
2016-07-18
  • stevenyslin

    stevenyslin - 2016-07-14

    Hello,

    When I use pocketsphinx-android-demo to detect my voice,
    I found a message as follows:

    07-13 17:35:56.077 20067-20215/edu.cmu.sphinx.pocketsphinx I/cmusphinx: INFO: pocketsphinx.c(993): Writing raw audio log file: /storage/emulated/0/Android/data/edu.cmu.sphinx.pocketsphinx/files/sync/000000001.raw
    

    My question:
    (1) Does the message mean that the system detect the voice what I say, and save a raw data in somewhere?
    Or just save a log file?

    (2) If it save a raw data, could I take this data to transfer a wav data?
    And is there any reference or step that I can refer?

    Thanks for your help.

     

    Last edit: stevenyslin 2016-07-14
    • Nickolay V. Shmyrev

      (1) Does the message mean that the system detect the voice what I say, and save a raw data in somewhere?

      It stores recorded audio data on sdcard

      If it save a raw data, could I take this data to transfer a wav data?
      And is there any reference or step that I can refer?

      You can convert with sox

       sox -2 -s -r 16000 file.raw file.wav
      
       

      Last edit: Nickolay V. Shmyrev 2016-07-14
  • stevenyslin

    stevenyslin - 2016-07-18

    Dear sir,

    Really thanks a lot,
    I was successful to convert 000000001.raw to 000000001.wav.
    But I found the wav file is all of my audio what I say, when I start pocketsphinx-android-demo,
    such as:

    apple banana cat .......     (000000001.wav)
    

    Does anything method that can take what I say and save each raw file,
    such as:

    apple    (000000001.raw)
    banana   (000000002.raw)
    cat      (000000003.raw)
    

    Thanks for your help again.

     
    • Nickolay V. Shmyrev

      There is no such method

       

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.