Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix volume issue when reducing volume during voice #1147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Codixer
Copy link
Contributor

@Codixer Codixer commented Nov 24, 2024

Fixes #1143

Add functionality to return to the previously set volume after reducing volume when someone speaks.

  • Add a new variable previousVolume to store the previously set volume.
  • Update the setVolume method to update the previousVolume variable whenever the volume is set.
  • Update the suppressVoiceWhenPeopleAreSpeaking method to set the volume to previousVolume instead of defaultVolume.

For more details, open the Copilot Workspace session.

Fixes museofficial#1143

Add functionality to return to the previously set volume after reducing volume when someone speaks.

* Add a new variable `previousVolume` to store the previously set volume.
* Update the `setVolume` method to update the `previousVolume` variable whenever the volume is set.
* Update the `suppressVoiceWhenPeopleAreSpeaking` method to set the volume to `previousVolume` instead of `defaultVolume`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/museofficial/muse/issues/1143?shareId=XXXX-XXXX-XXXX-XXXX).
@codetheweb
Copy link
Collaborator

📦 🤖 A new release has been made for this pull request.

To play around with this PR, pull ghcr.io/museofficial/muse:pr-1147.

Images are available for x86_64 and ARM64.

Latest commit: 709479b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: When config set-reduce-vol-when-voice is set to True, set max volume is not respected
2 participants