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

The start/end_listening sounds should be called with the pulse media.role=phone to enable ducking #3148

Open
Ramblurr opened this issue Jan 10, 2023 · 2 comments
Labels
bug Good first issue Good issue for new contributors help wanted

Comments

@Ramblurr
Copy link

Describe the bug

When pulse ducking is enabled, the background audio is only ducked when TTS audio is played. But I think the start and end listening sounds should also be ducked

To Reproduce
Steps to reproduce the behavior:

  1. Enable ducking
  2. Say "Hey Mycroft.."

Result: The start_listening sound is played, but the existing background music/audio is not ducked.

Expected behavior

Play the start/end_listening audio files with the proper pulse audio environment to enable ducking (media.role=phone)

Log files
If possible, add log files from /var/log/mycroft/ to help explain your problem.

You may also include screenshots, however screenshots of log files are often difficult to read and parse.

If you are running Mycroft, the Support Skill helps to automate gathering this information. Simply say "Create a support ticket" and the Skill will put together a support package and email it to you.

Environment (please complete the following information):

  • Device type: RPI 4
  • OS: Raspbian
  • Mycroft-core version: ab242a2
@krisgesling
Copy link
Contributor

I did not know this existed. Nice suggestion!

@forslund
Copy link
Collaborator

That's a good idea. I wonder if we should create a helper function, play_audio_and_duck() (or something) to streamline the experience a bit compared to creating the environment at each call site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Good first issue Good issue for new contributors help wanted
Projects
None yet
Development

No branches or pull requests

3 participants