Choose the source of the microphone

Hello!

Is it possible to choose the source of the microphone recording?

I have a web page with a graphic equalizer depending on the music listened to through the microphone.

but, I also have an option in the app that can recognize voice to text.
(app “to do list” with custom audio player)

But I get “side client error” when I want to use voice recognition.

Is it possible to use a microphone (for calls for example) for voice recognition and the microphone for recordings (camera, audio…) for my web equalizer?

Tank you

WhatsApp Image 2025-05-23 à 23.40.25_7854efc0
WhatsApp Image 2025-05-23 à 23.40.18_22197b92