Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

Has anyone ever written a Windows hardware keyword spotter audio driver?

glewis9999glewis9999 Member Posts: 1

I have taken the sysvad audio driver and tried installing it for a keyword detector pin. I see a call to Get_SoundDetectorPatterns property at startup as well as well to the KeywordOemDetector interface and the EventOemDetector interfaces in KeywordDetector DLL.

However, I don't see these DLL APIs consistently being called. The sample source code uses a PCM data format in GetCapabilities which appears to be opposite to the the MSDN documentation which indicates that IEEE is the format. I have tried both and have never seen a call to BuildArmingPatternData in the KeywordDetector OEM DLL. In the driver, I see a call to ARM with 0 and Reset the detector with 0 but no additional calls. Is there something I am missing in the MSDN documentation? I do see calls for the SystemCapture PIN and KeywordDetector PIN for properties for a proposed data format (which may or may not be relevant) but no additional calls to the DLLs. Any ideas? I have tried the VoiceActivationManager and VoiceActivationManager2 tests (both of which failed).

Any suggestions would be useful or if there is a Microsoft forum to discuss this. Thank you.

Comments

  • Peter_Viscarola_(OSR)Peter_Viscarola_(OSR) Administrator Posts: 7,613

    Is this to support a custom "wake word" AKA a voice activation driver?

    If so, we received an inquiry from a potential IHV client this summer about writing one. Never having done one of these before, I spent some time investigating the process, and discovered it was a really big undertaking. A COM component, and some sort of complex audio driver.

    It would have been interesting... but the MSDN docs at the time didn't seem sufficient, and we don't know anybody (at MSFT or anywhere else) who's done one of these. So... in the end... we had to tell the potential client that we didn't know enough to be able to undertake this project successfully.

    Sorry I can't be even a tiny bit helpful.

    I'll be interested to hear about any advice/assistance you receive.

    Peter

    Peter Viscarola
    OSR
    @OSRDrivers

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Writing WDF Drivers 13 April 2020 OSR Seminar Space & ONLINE
Developing Minifilters 20 Apr 2020 OSR Seminar Space & ONLINE
Internals & Software Drivers TBD Dulles, VA