Menu

HELP when execute the logic again in applet

Help
David_wang
2005-09-16
2012-09-22
  • David_wang

    David_wang - 2005-09-16

    I'm running an Applet to do the voice recognition , first time after load the Applet it can run correctly , but after refresh the page which contain the applet ,
    it say '2005-9-16 19:05:00 edu.cmu.sphinx.frontend.util.Microphone open
    : Can't open microphone line with format PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, big-endian not supported...

    This is happen when encounter the logic microphone.startRecording() , I'm sure I have clean the Recognizer object throught method deallocate()'..

    Confusing me Need help . thank you

     
    • filipe

      filipe - 2006-03-31

      Changing this made the difference for me:

      <property name="closeBetweenUtterances" value="true"/>

      I had the same error, when restarting the microphone, after allocate -> deallocate and allocate again.
      I'm new at sphinx, so can't help you more.
      Hope this helps.

       

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.