Pipewire channel indexing

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
martibs
Established Member
Posts: 123
Joined: Mon Oct 15, 2018 7:06 pm
Location: Oslo, Norway
Has thanked: 35 times
Been thanked: 15 times

Pipewire channel indexing

Post by martibs »

So I've recently switched to Pipewire, and the channels on my audio interface are zero-indexed:

channel_indexing.png
channel_indexing.png (89.6 KiB) Viewed 2342 times

In computer programming, zero-based numbering makes a lot of sense. In audio enginering, it does not. It is a bit confusing when working with more than a couple of channels, and I'm used to "old Jack", where the first channel was "1". Is there any way to make Pipewire display the channels with the index starting from 1?

(Also, what is the [Monitor] part that is displayed? :?: )

tjarx
Established Member
Posts: 17
Joined: Sat Feb 11, 2023 3:25 pm
Has thanked: 2 times
Been thanked: 2 times

Re: Pipewire channel indexing

Post by tjarx »

https://gitlab.freedesktop.org/pipewire ... issues/222

It seems that the indexing is not pipewire's fault. But it is possible to rename the ports.

edit: the monitor ports are used to "monitor" your output ports. Say your browser playing a youtube video was connected to playback_AUX0 and playback_AUX1. You could now record the youtube audio by listening to monitor_AUX0 and _AUX1

User avatar
Largos
Established Member
Posts: 639
Joined: Mon Oct 05, 2020 12:21 pm
Has thanked: 72 times
Been thanked: 186 times

Re: Pipewire channel indexing

Post by Largos »

In case you haven't realised, you can double click the port names in qpwgraph and edit the name.

martibs
Established Member
Posts: 123
Joined: Mon Oct 15, 2018 7:06 pm
Location: Oslo, Norway
Has thanked: 35 times
Been thanked: 15 times

Re: Pipewire channel indexing

Post by martibs »

Hey, niiice! It even persist across reboots.

Do you also know how to make the items not appear so far away from each other?

canvas_size.png
canvas_size.png (92.25 KiB) Viewed 2237 times
Post Reply