Skip to content

Share: Auto-launch script for active audio streams #10

Description

@adelmonte

Created a bash script that automatically detects active PulseAudio/PipeWire streams and launches scope-tui on the right one:

https://gist.github.com/adelmonte/cf9d5c123c1d7f4130a242229752c3c6

No more remembering long device names or manually finding which sink has audio playing. Just run the script and it shows active streams first:

Scanning for active audio streams...

Available audio streams:
1. alsa_output.pci-0000_00_1f.3.HiFi__Speaker__sink.monitor (♪ ACTIVE)
2. alsa_output.usb-device.monitor
3. scope_sink.monitor

Select stream (1-3): 1
Launching scope-tui with: alsa_output.pci-0000_00_1f.3.HiFi__Speaker__sink.monitor

Makes it much easier to quickly visualize whatever's currently playing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions