project-owner / PeppyMeter

PeppyMeter Repository
GNU General Public License v3.0
58 stars 12 forks source link

Pipewire compatibility #15

Open spagoc opened 3 months ago

spagoc commented 3 months ago

I am asking if PeppyMeter could work with Pipewire. If so a Linux desktop user, using helvum or qpgraph, could connect PeppyMeter to any audio app is running e.g. a web browser playing a youtube video.

project-owner commented 3 months ago

I've never tried that. If Pipewire leverages ALSA behind the scenes then it should theoretically handle PeppyMeter as well. But that should be tested.

spagoc commented 2 months ago

In order to achieve preliminary Pipewire compatibility and targeting Linux desktop users I did this effort to get feed-backs: [https://github.com/spagoc/PeppyMeter-4-Linux-desktop] (https://github.com/spagoc/PeppyMeter-4-Linux-desktop) The calibration needs improvements. Please give feed-backs.

PS Thanks for PeppyMeter and its wonderful documentation.

project-owner commented 2 months ago

Looks good. It looks like you don't use a peppyalsa plugin. Is it because you cannot do that with Pipewire? So you just handle PCM stream in your C program and send amplitude values to the pipe. Does it mean that you cannot handle audio files this way?

spagoc commented 2 months ago

Sorry for my am late answer. Yes to your questions, you are right.