Pedal-Intelligence / saypi-userscript

An independent voice interface for Inflection AI's conversational assistant, Pi
https://www.saypi.ai/
Other
15 stars 3 forks source link

Issue with Microphone Muting on Huawei Devices #62

Open rosscado opened 5 months ago

rosscado commented 5 months ago

We have received a report that the microphone muting feature of the "Say, Pi" extension is not functioning correctly on certain Huawei devices. This feature, designed to mute the microphone while Pi is speaking to prevent it from transcribing Pi's own responses, appears to work as expected on various tested devices, including iPhones and Android phones. However, an issue has been identified specifically with Huawei phones.

Device and Browser Information

Issue Description

A user reported that when using the "Say, Pi" extension on their Huawei Mate 40 Pro, the microphone does not mute automatically when Pi is speaking. This results in the extension picking up and transcribing Pi's responses, creating a feedback loop. The issue persists when using the phone's microphone but has not been tested with earphones yet.

Steps to Reproduce

  1. Install the "Say, Pi" extension on Kiwi Browser on a Huawei device running HarmonyOS 4.0 or EMUI 11.
  2. Use the "Say, Pi" extension to interact with Pi, allowing it to speak.
  3. Observe if the microphone automatically mutes when Pi speaks.

Expected Behaviour

The microphone should automatically mute when Pi is speaking to prevent the transcribing of Pi's own responses.

Additional Context

Testing this issue is challenging due to the lack of access to Huawei devices and the incompatibility of Huawei's OS with the Android Studio emulator. The issue could potentially be specific to Huawei devices running HarmonyOS or EMUI.

User Conversation

Request for Assistance

If anyone has experienced similar issues on Huawei devices or any other Android devices running HarmonyOS, please share your experiences and any relevant details to aid in resolving this issue. Insights into using the extension with different audio output/input configurations (e.g., headphones, earphones) would also be valuable.

https://github.com/Pedal-Intelligence/saypi-userscript/assets/16578183/69e6aede-15fd-4e80-9770-fd0a2d9f5c39

rosscado commented 5 months ago

Steven reported that the feature works fine when using headphones.