[Python] While working with Azure Speech SDK on Windows , how to get Device name for creating...

Discussão em 'Python' iniciado por Stack, Agosto 6, 2025.

  1. Stack

    Stack Membro Participativo

    I am creating a Windows client to translate speech using Azure Speech SDK. As part of this we need to create an object of AuidioConfig. However I don't want to use default microphone. I want voice from another microphone which I want to specify. However it receives an input called device_name. As per documentation we need to specify the device ID. However I am not sure how to get the Device ID of a specific microphone.

    In the documentation Microsoft has given code to get Device ID using C++ or C#. However I don't know how to get the same using Python.

    Continue reading...

Compartilhe esta Página