Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pipewire pipewire
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 401
    • Issues 401
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWire
  • pipewirepipewire
  • Issues
  • #408

Closed
Open
Created Nov 24, 2020 by Kevin Cox@kevincox

Allow associating windows and audio streams.

This is probably a far-off feature idea, and may be best implemented outside of pipewire core. But it would be cool if this was eventually possible.

It would be nice if when an application played a sound—especially a short chirp to get your attention—the sound was positioned based on the location of the window on the screen. Especially for a multi-monitor setup where you can have a very wide range of monitors it can be a subtle way to help you identify where a sound came from. For example if I hear a chirp in my left ear I will look left and realize that it was an IM, however from the right I know it is email.

Of course we probably don't want all applications/streams subjected to this. For example if I am watching a movie I likely want it's surround sound (or even just stereo) to be faithfully reproduced without repositioning. There are probably a couple of heuristics that would work well here:

  • If the sound has more than one channel preserve the positioning. However I suspect there are a lot of chirps that have multiple channels for no particular reason.
  • If the sound continues for more than a second or two we could preserve the positioning. This may be some sort of gradual movement towards the center of the screen.

These two can be combined as well. However it is probably still required to have some sort of user opt-out option for particular applications or streams.

I guess the key required features here are:

  1. Positioning sound sources.
  2. Tying streams to windows.
Edited Jan 10, 2022 by Kevin Cox
Assignee
Assign to
Time tracking