Menu

Recongition and sound output

Help
JakeMk2
2005-01-19
2012-09-22
  • JakeMk2

    JakeMk2 - 2005-01-19

    Hi,

    I would like to use Sphinx to create a voice driven
    MP3 player. I am a Java developer, however I am very new to Java Audio.

    I am having problems recognising and then attempting to output audio, the audio output fails with a javax.sound.sampled.LineUnavailableException: Bad Parameters. I assume this is because it is trying to open the same line as the recogniser already has? Is there some way to get the line that Sphinx is using? Could I then use this in the audio output?

    Failing that, can I easily close the line? I have tried doing a microphone.stopRecording() even a recognizer.deallocate() but am still getting the same problem.

    Please note that I am trying to integrate a 3rd party java MP3 player, I did not write it. However, it works fine on its own.

    The speech recognition part is working beautifully btw.

    Many thanks.

     
    • The Grand Janitor

      Try to ask this again in the Sphinx 4 forum. Will, Paul and Philip could give you a lot of help at there. -Arthur

       
      • JakeMk2

        JakeMk2 - 2005-01-24

        Ok, I have posted there too.

        Thanks Arthur.

         

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.