Closed CarteKiwi closed 2 years ago
It's working on Raspberry Pi 3 with W10 Iot 17763. Not working on Dragonboard 410C. I tried this project: WebcamApp sample It's working well (no need to use the devcon remove cmd).
I think the problem is coming from _dialogServiceConnector
.
It seems no able to use the microphone on Dragonboard, I don't know why.
The StartKeywordRecognitionAsync()
does nothing. Nothing append when saying my usual key word.
Your help will be appreciate a lot, I'm stuck on it. Thanks.
Thanks for providing the log, from there it looks like the microphone isn't being enumerated. The "model" field is empty.
"audio":{"source":{"type":"Microphones","model":"","samplerate":"16000","bitspersample":"16","channelcount":"1"}}}}
You mentioned that you're not using the instructions devcon remove cmd
per the WebcamApp sample, maybe that or something following is missing in your setup?
Hi again :)
I tried again using the devcon remove ADCM\QCOM242E
and devcon remove AUDD\QCOM2451
as mentionned.
using the AudioConfig.FromMicrophoneInput(**)
:
StartKeywordRecognitionAsync()
not working: nothing append, microphone seems not to be used (the light on the cam don't turn on)
using the AudioConfig.FromDefaultMicrophoneInput()
:
StartKeywordRecognitionAsync()
is working well !
BUT, using devcon remove will produce a negative effect: the HDMI sound is not working anymore !
I added a registry entry to enable HDMI audio:
reg add HKLM\System\ControlSet001\Services\QCAUD\TopologySpeaker\Device0\DeviceConfig /v DeviceID /t REG_DWORD /d 0x46 /f
The HDMI audio is working fine until I use the devcon remove cmd.
In french, I will say: "C'est le chat qui se mord la queue" => I'm stuck: impossible to use HDMI audio (using default driver) and USB microphone (LifeCam Cinema) with DialogServiceConnector.
==> I think that the solution would be to:
AudioConfig.FromMicrophoneInput(**LifeCamId**)
) (but I have the "bad conversion" error listed)(This is very important to keep the HDMI audio. This is the reason why I choose a DragonBoard 410C instead of Raspberry Pi 3 or 4, which is not supported by W10 (drivers are not implemented by MS))
Thanks again for your help. The light is not so far, we should be able to find a solution :) I continue investigate.
Fixed with the previous listed issue. Use the AudioConfig.FromMicrophoneInput(deviceID) did the trick. I can use the specified microphone, without removing default sound device of the Dragonboard 410C.
Thanks.
Hi,
Describe the bug (RuntimeError) : 0x15 (SPXERR_MIC_ERROR) GetCallStack not implemented in WinRT
To Reproduce Code:
Steps to reproduce the behavior:
Expected behavior The ListOnceAync() should not fire the Canceled event. (By the way, I am using ListenOnceAsync here because StartKeywordRecognitionAsync do nothing (it's working on x64 Machine, when executing locally on my machine).)
Version of the Cognitive Services Speech SDK 1.19.0
Platform, Operating System, and Programming Language
Additional context