Re: [LAD] Pipewire help?

2022-02-03 Thread John Murphy
Solved. It was me! I was making links with pw-link -P ... but should have
used -L which I'm sure I tried, but must have failed for some other reason.

Quoting Wim Taymans (who's time I'm sad to have wasted):

"-L makes a lingering link, that is one that stays alive after pw-link
quits and is likely what you want. -P makes a link that is not activated
(for keeping things suspended) you probably don't want that."

-- 
John.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-02-01 Thread Jonathan E. Brickman
I had heard that the Pipewire people are working hard on video 
integration, it appears that you found it! :-)


J.E.B.

On 2/1/22 1:37 AM, John Murphy wrote:

Hmm. I went to check something online and there was an embedded youtube
video to see. I clicked on it and thought 'I know that tune!' :-) I had
forgotten that I'd left jack-play (not) playing and linked to the playback.

Paused the video and the music stopped. Un-pause and off it went again.

All wires shown dotted in Helvium, while paused.

Tried starting jack-play again with -t (jack transport aware). It said:

jack-play: a48k.wav
jack-play: seek request failed, 385225728 (That's beyond Eof)

jack_transport controls work while the video is playing, but do nothing
while the video is paused.


___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-01-31 Thread John Murphy
Hmm. I went to check something online and there was an embedded youtube
video to see. I clicked on it and thought 'I know that tune!' :-) I had
forgotten that I'd left jack-play (not) playing and linked to the playback.

Paused the video and the music stopped. Un-pause and off it went again.

All wires shown dotted in Helvium, while paused.

Tried starting jack-play again with -t (jack transport aware). It said:

jack-play: a48k.wav
jack-play: seek request failed, 385225728 (That's beyond Eof)

jack_transport controls work while the video is playing, but do nothing
while the video is paused.

-- 
John.

 
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-01-31 Thread John Murphy
On Sun, 30 Jan 2022 12:34:41 + John Murphy wrote:

> So; I can carry on using QjackCtl and its Patchbay, or work via a meterbridge,

Even Sox plays (and gets its wires made):

$ play -n synth sine 440

The linkage looks like:

$ pw-link -l
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
  |<- ALSA plug-in [sox]:output_FL
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1
  |<- ALSA plug-in [sox]:output_FR
ALSA plug-in [sox]:output_FL
  |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
ALSA plug-in [sox]:output_FR
  |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1

Which is hardly different to the links I make manually for jack-play:

$ jack-play -u a48k.wav

$ pw-link -l
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
  |<- jack-play:out_1
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1
  |<- jack-play:out_2
jack-play:out_1
  |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
jack-play:out_2
  |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1

But I do see that the connecting links show up dotted in Helvium.

pw-play works, of course, but has no jack_transport awareness option.

Could someone with Pipewire just test that jack-play doesn't play for them
either (without going via a meterbridge) before I post it as a bug?

-- 
John.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-01-31 Thread Jonathan E. Brickman

gives the visual very nicely, and then I wrote pw-loadwires,
pw-savewires, and pw-dewire, to be found here:

https://github.com/ponderworthy/the-box-of-no-return-3

pw-loadwires and pw-savewires will save wire-sets in CSV files.
pw-dewire is a convenient way to remove all wires at once.  Thus far,
very reliable, fast, and convenient.

All sounds like exactly what I need and your BNR sounds like a lot of fun.

Thanks again,


You are most welcome, John!  And it is :-)

J.E.B.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-01-31 Thread John Murphy
On Mon, 31 Jan 2022 06:49:51 -0600 Jonathan E. Brickman wrote:

> > So; I can carry on using QjackCtl and its Patchbay, or work via a 
> > meterbridge,
> > or?  
> 
> I have been working on a Pipewire-based revision to my BNR 
> (https://lsn.ponderworthy.com) for some time; I have to have a patchbay 
> of some sort because that thing has a whole lot of connections :-)
> 
> Helvum:
> 
> https://gitlab.freedesktop.org/pipewire/helvum

Such beautiful curves! Thank you. I wondered what all the speech-
dispatchers were, until I remembered FireFox is running. Had to add
'--user' to the 'flatpak-builder --install' command:

flatpak-builder --install --user flatpak-build/ 
build-aux/org.pipewire.Helvum.json

Or:
error: Flatpak system operation ConfigureRemote not allowed for user
Install failed: Child process exited with code 1

> gives the visual very nicely, and then I wrote pw-loadwires, 
> pw-savewires, and pw-dewire, to be found here:
> 
> https://github.com/ponderworthy/the-box-of-no-return-3
> 
> pw-loadwires and pw-savewires will save wire-sets in CSV files. 
> pw-dewire is a convenient way to remove all wires at once.  Thus far, 
> very reliable, fast, and convenient.

All sounds like exactly what I need and your BNR sounds like a lot of fun.

Thanks again,

-- 
John.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-01-31 Thread Jonathan E. Brickman



So; I can carry on using QjackCtl and its Patchbay, or work via a meterbridge,
or?


I have been working on a Pipewire-based revision to my BNR 
(https://lsn.ponderworthy.com) for some time; I have to have a patchbay 
of some sort because that thing has a whole lot of connections :-)


Helvum:

https://gitlab.freedesktop.org/pipewire/helvum

gives the visual very nicely, and then I wrote pw-loadwires, 
pw-savewires, and pw-dewire, to be found here:


https://github.com/ponderworthy/the-box-of-no-return-3

pw-loadwires and pw-savewires will save wire-sets in CSV files. 
pw-dewire is a convenient way to remove all wires at once.  Thus far, 
very reliable, fast, and convenient.


J.E.B.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-01-30 Thread John Murphy
On Sat, 22 Jan 2022 13:57:45 -0800 (PST) Len Ovens wrote:

> I am not sure why PW, in it's JACK compatibility does not allow one of the 
> devices to be chosen as master and called system:* for compatibility with 
> all the JACK software out there... but it is what it is. I am sure someone 
> will come up with a configuring app(let) that does this better for 
> profesional audio use. To be honest, I am not really sure what optimal 
> would be.
> 
And yet, it seems that 'system:*' does exist in some form and plays a role.

I've been trying to do without QjackCtl Patchbay and I've deleted the
virtual-sink.conf I made, so Pipewire is back to defaults. I prefer to
not hear audio while testing, so I use a meterbridge.

$ pw-link -i
Midi-Bridge:Midi Through:(playback_0) Midi Through Port-0
Midi-Bridge:M-16DX:(playback_0) M-16DX MIDI 1
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1

but:
$ meterbridge -t vu -n myvu 
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
Registering as myvu
Can't find port 'alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0'

whereas:
$ meterbridge -t vu -n myvu system:playback_1
Registering as myvu
(and it creates a link)

$ pw-link -l
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
  |<- myvu:monitor_1
myvu:monitor_1
  |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0

I can then play a file with:
$ jack-play -u a48k.wav
jack-play: a48k.wav

make the link and watch (and hear) it play:
$ pw-link -P jack-play:out_1 myvu:meter_1

$ pw-link -l
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
  |<- myvu:monitor_1
myvu:monitor_1
  |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
myvu:meter_1
  |<- jack-play:out_1
jack-play:out_1
  |-> myvu:meter_1

Great! But then, I can't get it to work without the meterbridge
and I wonder if I need a 'bridge' as well as a Pipewire link.

This is what happens without the meterbridge:

$ jack-play -u a48k.wav
jack-play: a48k.wav

$ pw-link -P jack-play:out_1 
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0

$ pw-link -l
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
  |<- jack-play:out_1
jack-play:out_1
  |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0

I think that's the same without going via the meterbridge, but no sound.

If I take meterbridge's insistence on linking to 'system:playback_1' as a hint:

$ pw-link -P jack-play:out_1 system:playback_1
failed to link ports: No such file or directory

So; I can carry on using QjackCtl and its Patchbay, or work via a meterbridge,
or?

-- 
John. Needing help again.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-01-24 Thread John Murphy
> qjackctl: error while loading shared libraries: libQt6Widgets.so.6:
> cannot open shared object file: No such file or directory
> 
> and yet:
> 
> $ locate libQt6Widgets.so.6
> /home/john/Qt/6.2.2/gcc_64/lib/libQt6Widgets.so.6
> /home/john/Qt/6.2.2/gcc_64/lib/libQt6Widgets.so.6.2.2
[...]

All's well now. Made a file called my-qt-qjackctl.conf with contents:

# added Tue 25 Jan 2022 for qjackctl 0.9.6 on Qt 6.2.2
/home/john/Qt/6.2.2/gcc_64/lib/

Put it in /etc/ld.so.conf.d and ran sudo /sbin/ldconfig

It works! (And no problem with lines in the Connect frame.)

-- 
John.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-01-24 Thread John Murphy
On Sun, 23 Jan 2022 17:24:33 + Rui Nuno Capela wrote:
> On 1/23/22 13:42, Felix Homann wrote:
> > Am So., 23. Jan. 2022 um 01:42 Uhr schrieb John Murphy 
> > mailto:rosegarde...@freeode.co.uk>>:
> > 
> > I don't see a connection line in QJackCtl's Connections, but it's there.
> > Maybe I'll try some variations on the audio.position settings.
> > 
> > 
> > Please, try to delete ~/.config/rncbc.org/QjackCtl.conf 
> >  . That solved the "connections 
> > invisible for QJackCtl" issue for me after months, see 
> > https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1282#note_1074623 
> > 
> >  
> > . (I actually deleted the whole ~/.config/rncbc.org/  
> > directory but I don't think there was anything else in it than the 
> > QJackCtl.conf file)
> >   
> 
> some users out there may have something else important under 
> ~/.config/rncbc.org/..., which is the place all qstuff stores their 
> configuration and user preferences files; even the new qpwgraph [1] 
> stores its things there ;)
> 
> so please, try to remove ~/.config/rncbc.org/QjackCtl.conf and only!

That's what I did, but I remembered I'm using the old distro version of
QjackCtl and should install the latest. Qt Everywhere, except...

I have Qt 6.2.2 at /home/john/Qt/6.2.2/gcc_64/ and added there to the
path for the build and install, which went smoothly, but running, it
complains:

qjackctl: error while loading shared libraries: libQt6Widgets.so.6:
cannot open shared object file: No such file or directory

and yet:

$ locate libQt6Widgets.so.6
/home/john/Qt/6.2.2/gcc_64/lib/libQt6Widgets.so.6
/home/john/Qt/6.2.2/gcc_64/lib/libQt6Widgets.so.6.2.2
/home/john/Qt/Tools/QtCreator/lib/Qt/lib/libQt6Widgets.so.6
/home/john/Qt/Tools/QtCreator/lib/Qt/lib/libQt6Widgets.so.6.2.2
/home/john/Qt/Tools/QtDesignStudio/lib/Qt/lib/libQt6Widgets.so.6
/home/john/Qt/Tools/QtDesignStudio/lib/Qt/lib/libQt6Widgets.so.6.2.2
/home/john/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/libQt6Widgets.so.6
/home/john/Qt/Tools/QtDesignStudio/qt6_design_studio_reduced_version/lib/libQt6Widgets.so.6.2.2
/usr/local/Qt6/lib/libQt6Widgets.so.6
/usr/local/Qt6/lib/libQt6Widgets.so.6.2.0

I tried 'sudo /sbin/ldconfig -v' but no change.

Thanks, for your programming, and in advance for help with this.

-- 
John. [ My post to the list yesterday was blocked because "The sending
IP is listed on https://spamrl.com as a source of spam." ]
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-01-23 Thread Felix Homann
Am So., 23. Jan. 2022 um 01:42 Uhr schrieb John Murphy <
rosegarde...@freeode.co.uk>:

> I don't see a connection line in QJackCtl's Connections, but it's there.
> Maybe I'll try some variations on the audio.position settings.
>

Please, try to delete ~/.config/rncbc.org/QjackCtl.conf . That solved the
"connections invisible for QJackCtl" issue for me after months, see
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1282#note_1074623
. (I actually deleted the whole ~/.config/rncbc.org/ directory but I don't
think there was anything else in it than the QJackCtl.conf file)

Kind regards,
Felix
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-01-22 Thread John Murphy
On Sat, 22 Jan 2022 13:57:45 -0800 (PST) Len Ovens wrote:

> On Sat, 22 Jan 2022, John Murphy wrote:
> 
> > My QJackCtl Patchbay doesn't work any more and it's obvious there are
> > new ways to get similar functionality with WirePlumber, but a little
> > example would help. I seem to want to pipe the output of pw-link -l
> > somewhere (pw-link -l | wireplumber --make_it_so).
> >
> > Need to always connect jack-play this way:
> >
> > $ pw-link -l
> > alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
> >  |<- jack-play:out_1
> > alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1
> >  |<- jack-play:out_2
> > jack-play:out_1
> >  |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
> > jack-play:out_2
> >  |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1  
> 
> I think you can (via PW setup) change the name of your USB to 
> system:playback_1 (and 2) and then Qjackctl's patchbay might just work.
> 
> https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices#behringer-umc404hd-speakersheadphones-virtual-sinks
> 
> Change node.name to system and audio.position = [ FL FR ] to [ 1 2 ] etc.
> 
> I am not sure why PW, in it's JACK compatibility does not allow one of the 
> devices to be chosen as master and called system:* for compatibility with 
> all the JACK software out there... but it is what it is. I am sure someone 
> will come up with a configuring app(let) that does this better for 
> profesional audio use. To be honest, I am not really sure what optimal 
> would be.

Thanks Len, it works fine now. I copied /etc/pipewire/client-rt.conf) to
/etc/pipewire/virtual-sink.conf and added, in the modules section:

{   name = libpipewire-module-loopback
args = {
node.name = "system"
node.description = "the system"
capture.props = {
media.class = "Audio/Sink"
audio.position = [ FL FR ]
}
playback.props = {
audio.position = [ AUX0 AUX1 ]
node.target = "alsa_output.usb-EDIROL_M-16DX-00.pro-output-0"
stream.dont-remix = true
node.passive = true
}
}
}

I don't see a connection line in QJackCtl's Connections, but it's there.
Maybe I'll try some variations on the audio.position settings.

It's well documented, although over-my-head, but I needed to get that
working quickly so my Qt program, which uses jack-play via QProcess, works.

-- 
John.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


Re: [LAD] Pipewire help?

2022-01-22 Thread Len Ovens

On Sat, 22 Jan 2022, John Murphy wrote:


My QJackCtl Patchbay doesn't work any more and it's obvious there are
new ways to get similar functionality with WirePlumber, but a little
example would help. I seem to want to pipe the output of pw-link -l
somewhere (pw-link -l | wireplumber --make_it_so).

Need to always connect jack-play this way:

$ pw-link -l
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
 |<- jack-play:out_1
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1
 |<- jack-play:out_2
jack-play:out_1
 |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
jack-play:out_2
 |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1


I think you can (via PW setup) change the name of your USB to 
system:playback_1 (and 2) and then Qjackctl's patchbay might just work.


https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Virtual-Devices#behringer-umc404hd-speakersheadphones-virtual-sinks

Change node.name to system and audio.position = [ FL FR ] to [ 1 2 ] etc.

I am not sure why PW, in it's JACK compatibility does not allow one of the 
devices to be chosen as master and called system:* for compatibility with 
all the JACK software out there... but it is what it is. I am sure someone 
will come up with a configuring app(let) that does this better for 
profesional audio use. To be honest, I am not really sure what optimal 
would be.


--
Len Ovens
www.ovenwerks.net
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev


[LAD] Pipewire help?

2022-01-22 Thread John Murphy
My QJackCtl Patchbay doesn't work any more and it's obvious there are
new ways to get similar functionality with WirePlumber, but a little
example would help. I seem to want to pipe the output of pw-link -l
somewhere (pw-link -l | wireplumber --make_it_so).

Need to always connect jack-play this way:

$ pw-link -l
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
  |<- jack-play:out_1
alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1
  |<- jack-play:out_2
jack-play:out_1
  |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX0
jack-play:out_2
  |-> alsa_output.usb-EDIROL_M-16DX-00.pro-output-0:playback_AUX1

Thanks.

-- 
It gets harder to learn new things as we gets old.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-dev