Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Voice recognition mode: Unable to set default audio device

  1. #1
    Junior Member
    Join Date
    Nov 2017
    Posts
    10

    Voice recognition mode: Unable to set default audio device

    Hello,
    as I wanted to try out the voice recognition mode I came up with this problem.

    My mic is set properly in windows and I installed the MSSpeech_SR_en-US_TELE.msi and SpeechPlatformRuntime.msi files.

    If I click on any setting of the voice recognition mode buttons (hold button, always on etc), I always get this message:
    Code:
    18:09:25.986 : Attempting to initialise speech recognition for user specified location en
    18:09:25.991 : Success
    18:09:25.992 : Unable to set default audio device
    18:09:25.993 : Exception message: Cannot find the requested data item, such as a data key or value.
    18:09:25.993 : Attempted to initialise speech engine - success = False
    Any help is appreciated!

    Thanks, Sabifa.

  2. #2
    Crew Chief Mega Corp CEO mr_belowski's Avatar
    Join Date
    Feb 2017
    Posts
    1,815
    This suggests that your mic is not set to be the default recording device in windows -

    Attachment 59

  3. #3
    Junior Member
    Join Date
    Nov 2017
    Posts
    10
    Thanks for your answer.
    I set my mic in the windows menus and also tried to change it multiple times.

    I can't open your attachment though.

  4. #4
    VP PR Manager Sparten's Avatar
    Join Date
    Feb 2017
    Posts
    721
    Make sure Voice recognition mode is set

    Edit:
    Looks like there is an issue with attachments atm, i'll take a look at it.

  5. #5
    Junior Member
    Join Date
    Nov 2017
    Posts
    10
    I just double checked it with the latest version and the problem is still there.
    Here is a screenshot: click

  6. #6
    Crew Chief Mega Corp CEO mr_belowski's Avatar
    Join Date
    Feb 2017
    Posts
    1,815
    Googling the error, it seems that Microsoft speech recognition API simple doesn't work with some recording devices but there's not enough information out there to understand why

  7. #7
    Junior Member
    Join Date
    Nov 2017
    Posts
    10
    Okay I just tried using the Onboard Soundcard (Realtek High Definition from my ASUS Z370-e mainboard) instead of my Asus Xonar DGX and it doesnt worked as well.

    Maybe you know someone else with this soundcard who could try it? I thought that it should work with the onboard soundcard because most of them are the same I guess but that's not the case, too bad.

  8. #8
    Crew Chief Mega Corp CEO mr_belowski's Avatar
    Join Date
    Feb 2017
    Posts
    1,815
    that's really odd

    The code that's failing is internal to Microsoft's speech recogniser - this line

    Microsoft.Speech.Recognition.SpeechRecognitionEngi ne.SetInputToDefaultAudioDevice();

    if that line throws an error (as it does in your case) I stop trying to initialise the recogniser. I could allow it to continue but i doubt it would work

    The results I've found searching for this suggest it's something to do with the device not providing "low quality input" but this is as much as I can find

  9. #9
    Junior Member
    Join Date
    Nov 2017
    Posts
    10
    Alright, thank you for your help.

    I'll try to find someone else with my soundcard and I let him try CrewChief out to find out if it's working for him.

    If I have any furhter information I will answer to this thread again.

    Til then I have to use it without the voice commands.

  10. #10
    I am using Xonar STX microphone in (official drivers, which I imagine same cmedia hardware as your card) or Oculus microphone as input no problem. One last thing to check is make sure that microphone you want to use is Default Device, not just Default Communication device. Also, restart CC after any changes in Sound Control Panel.

    However, the fact that it doesn't even work with built in card is suspicious, something is way off. Wild guess, but maybe try reinstalling SR?

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •