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

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 w

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-outpu

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 patchba

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

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 w

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

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

[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 wa

Re: [LAD] pipewire

2022-01-21 Thread John Murphy
On Fri, 21 Jan 2022 09:24:19 -0500 Kevin Cole wrote: > On Fri, Jan 21, 2022 at 4:20 AM John Murphy > wrote: > > I ended up using the 'PipeWire & WirePlumber & blueman-git PPA for Ubuntu > > (>= 18.04)' after many attempts at the meson build. > &

Re: [LAD] pipewire

2022-01-21 Thread John Murphy
Working wonderfully well now, for me, as far as I've tested on a hardware limited PC (Intel NUC -> Topping TP30). Amazing to be able to run VLC into Alsa, PulseAudio or Jack, without changing anything else. I even tried the OpenBSD output. Firefox audio always just works now. Great to think that t

Re: [LAD] pipewire

2022-01-17 Thread John Murphy
Evening all. A timely thread, for me. I've just moved to a faster PC and, with an eye to getting pipewire working, I've installed VirtualBox (6.1.30) and made a VM of the same distro (Mint 20.3) as on the host. I'll clone it so it's easy to 'redo from start' when I mess it up. I've read difference

Re: [LAD] Simple Pipewire test request

2021-07-09 Thread John Murphy
0 pw-record > > An try again. I'm pretty sure it's a socket path thing. There is no > dbus, systemd or device permissions > involved. You need to check if the cronjob can find and has > permissions to connect to the socket and > that's it. > > Wim >

Re: [LAD] Simple Pipewire test request

2021-07-09 Thread John Murphy
On Fri, 9 Jul 2021 11:35:43 +0200 Dominique Michel wrote: > Le Fri, 9 Jul 2021 09:52:18 +0100, > John Murphy a écrit : > > > On Fri, 9 Jul 2021 09:29:09 +0200 Dominique Michel wrote: > > > On linux, the audio devices can be acceded by only 1 user at a time. > > &

Re: [LAD] Simple Pipewire test request

2021-07-09 Thread John Murphy
On Thu, 8 Jul 2021 19:12:29 -0700 Fernando Lopez-Lezcano wrote: > On 7/8/21 11:29 AM, John Murphy wrote: > > 04 19 * * * root /usr/bin/pw-record /home/john/crontest.wav > > > /tmp/cronjob.txt 2>&1 > > and see the same error in the text file. > > Maybe r

Re: [LAD] Simple Pipewire test request

2021-07-09 Thread John Murphy
On Fri, 9 Jul 2021 09:29:09 +0200 Dominique Michel wrote: > On linux, the audio devices can be acceded by only 1 user at a time. > Which imply, instead of being root for everything audio related, I would > login as an user member of the audio group and, instead of using cron, > make a custom user s

Re: [LAD] Simple Pipewire test request

2021-07-08 Thread John Murphy
On Thu, 8 Jul 2021 08:56:56 -0700 Fernando Lopez-Lezcano wrote: > On 7/7/21 11:24 AM, John Murphy wrote: > > On Wed, 7 Jul 2021 19:01:25 +0100 Keith Edmunds wrote: > >> Try: > >> > >> /usr/bin/pw-record /home/john/crontest.wav > /tmp/cronjob.txt 2&

Re: [LAD] Simple Pipewire test request

2021-07-08 Thread John Murphy
On Thu, 8 Jul 2021 01:15:54 +0200 Alexander wrote: > > Maybe pipewire is not run by the same user than the cron job. > > This was my initial idea, however what I think is more likely is that there > is no dbus session for the process to connect to. > Are you running PW as a user or system-wide?

Re: [LAD] Simple Pipewire test request

2021-07-07 Thread John Murphy
On Wed, 7 Jul 2021 19:33:18 +0100 Keith Edmunds wrote: > > /tmp/cronjob.txt says error: pw_context_connect() failed: Host is down > > I can't help you with that, sorry, but hopefully it points the way to > resolving the problem. Hopefully it will mean something to someone if/when I write to Pip

Re: [LAD] Simple Pipewire test request

2021-07-07 Thread John Murphy
On Wed, 7 Jul 2021 19:01:25 +0100 Keith Edmunds wrote: > Try: > > /usr/bin/pw-record /home/john/crontest.wav > /tmp/cronjob.txt 2>&1 > > ...and have a look in /tmp/cronjob.txt after it's run /tmp/cronjob.txt says error: pw_context_connect() failed: Host is down I've no idea what that means, or

Re: [LAD] Simple Pipewire test request

2021-07-07 Thread John Murphy
On Wed, 7 Jul 2021 16:50:48 +0100 Keith Edmunds wrote: > The first thing I'd suggest is to put the full pathname of both the > command and the wav file. Under cron, the PATH variable may not be what > you have interactively: > > /usr/bin/pw-record /home/me/crontest.wav (edit as required) T

[LAD] Simple Pipewire test request

2021-07-07 Thread John Murphy
Could someone please do a simple test on any Pipewire installation set up to use/replace Jack (or shed any light on this). If I run 'pw-record crontest.wav' it works fine, as expected. If I run 'pw-cat 2> er.txt' ditto, of course. If I setup a user cronjob with 'crontab -e' to run the command

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-06 Thread John Murphy
New problem. I run jack_capture, at certain times, via cron. Can run the script manually and it works fine, but just doesn't start from the cronjob. I have no idea why. Same story with arecord and pw-record (which has no -d duration). Script works fine from command line, but no joy from the cront

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-06 Thread John Murphy
On Tue, 6 Jul 2021 15:27:53 +0100 I wrote: > I may have to do one of those. I think James Szinger's prediction [1] > is accurate, although, while I am confused I am not yet "wailing". > Now wailing with joy having found a workaround. Simply need to send 'play' to jack_transport after any 'locate'.

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-06 Thread John Murphy
On Mon, 5 Jul 2021 03:25:09 +0200 Robin Gareus wrote: > On 7/4/21 6:35 PM, John Murphy wrote: > > On Wed, 30 Jun 2021 15:48:31 -0700 Yuri wrote: > > [...] > >> Does anybody have experience using it? > >> > >> https://pipewire.org/ > > > >

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-04 Thread John Murphy
On Wed, 30 Jun 2021 15:48:31 -0700 Yuri wrote: [...] > Does anybody have experience using it? > > https://pipewire.org/ Yes. I've used it for a whole day now, on Linux Mint 20.1 Ulyssa base (Ubuntu 20.04 focal). Everything seems to just work. The only thing I had to set was the Profile for the CM

Re: [LAD] Is Piperware a successor to Jack/Pulseaudio?

2021-07-02 Thread John Murphy
On Wed, 30 Jun 2021 16:11:47 -0700 M. Edward (Ed) Borasky wrote: > The biggest issue with Pipewire IMHO is that it does not support > Ubuntu 18.04 LTS. That will be a big obstacle to growth until 18.04 is > no longer supported, which is still about two years away. I don't know > what's involved in

Re: [LAD] jack_showtime out to QProcess

2021-05-28 Thread John Murphy
On Fri, 28 May 2021 19:04:16 +0100 John Murphy wrote: > On Fri, 28 May 2021 14:58:46 +0200 Christopher Arndt wrote: > > Am 23.05.21 um 13:03 schrieb John Murphy: > > > Jack_showtime man page doesn't mention any options available and > > > the problem I have

Re: [LAD] jack_showtime out to QProcess

2021-05-28 Thread John Murphy
On Fri, 28 May 2021 14:58:46 +0200 Christopher Arndt wrote: > Am 23.05.21 um 13:03 schrieb John Murphy: > > Jack_showtime man page doesn't mention any options available and > > the problem I have is the frequency of the lines it outputs. > > Has to be a better way. &g

Re: [LAD] jack_showtime out to QProcess (Solved)

2021-05-25 Thread John Murphy
Got a good solution to this at stackOverflow. https://stackoverflow.com/questions/67678639/qprocess-how-to-deal-with-too-much-input-solved/67689232#67689232 -- Thanks again, John. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org ht

[LAD] jack_showtime out to QProcess

2021-05-23 Thread John Murphy
Jack_showtime man page doesn't mention any options available and the problem I have is the frequency of the lines it outputs. Over 12,000 lines per second according to a little Perl script. ($ jack_showtime | perl -w line-counter.pl) I can get to see relevant lines in my program, but it seems to

[LAD] Jack API c++ example/tutorial?

2021-05-14 Thread John Murphy
Old dog here; trying to learn a new trick. I've found QProcess in Qt5 very useful and Qt Creator helps by immediately complaining about my mistakes. I found a line in QJackCtl like '#include ' and was surprised there were no complaints when I pasted it in. 'locate jack.h' found these two, amongst

Re: [LAD] Cli sound file player requirements

2021-05-10 Thread John Murphy
On Mon, 10 May 2021 18:36:02 +0100 John Murphy wrote: > > A couple of arguments to it would make it perfect, if you have time. > > Just file name and transport position would do. It's OK. I was being lazy and it was surprisingly easy :) -- T

Re: [LAD] Cli sound file player requirements

2021-05-10 Thread John Murphy
On Mon, 10 May 2021 17:04:41 +0100 Filipe Coelho wrote: > On 10/05/21 16:42, John Murphy wrote: > > I'm convinced Jack transport, using 'carla-bridge-native' and > > controlled by jack_transport CLI tool, is the easiest way to go. > > I'll use Qprocesses

Re: [LAD] Cli sound file player requirements

2021-05-10 Thread John Murphy
I'm convinced Jack transport, using 'carla-bridge-native' and controlled by jack_transport CLI tool, is the easiest way to go. I'll use Qprocesses initially and work on using the API later. QJackCtl sources led me to jack_transport_query and QtCreator makes it easy to follow the code, so I hope to

Re: [LAD] Cli sound file player requirements

2021-05-10 Thread John Murphy
On Mon, 10 May 2021 00:31:18 +0100 Filipe Coelho wrote: > > On Sun, 9 May 2021 19:07:37 +0100 Filipe Coelho wrote: > >> > >> $ /usr/lib/carla/carla-bridge-native internal "~/Music/nyan.wav" audiofile > > I ran this before writing to the mailing list, so for sure it works here. Thanks Filipe, I di

Re: [LAD] Cli sound file player requirements

2021-05-09 Thread John Murphy
On Sun, 9 May 2021 19:07:37 +0100 Filipe Coelho wrote: > On 09/05/21 14:55, John Murphy wrote: > > I need a command line sound file player which I can somehow control, > > while playing, to go immediately to a new position in the same file > > and keep playing without missing

Re: [LAD] Cli sound file player requirements

2021-05-09 Thread John Murphy
On Sun, 9 May 2021 16:53:20 +0200 (CEST) Jeanette C. wrote: > May 9 2021, John Murphy has written: > > > I need a command line sound file player which I can somehow control, > > while playing, to go immediately to a new position in the same file > > and keep playing witho

[LAD] Cli sound file player requirements

2021-05-09 Thread John Murphy
I need a command line sound file player which I can somehow control, while playing, to go immediately to a new position in the same file and keep playing without missing a beat. And a way to pause/continue. I'm currently using sox (from a Qt QProcess) and I can stop it with a 'kill' QProcess, but

Re: [LAD] How to ask?

2018-10-01 Thread John Murphy
s not really clear what you > are actually asking for . . > > Regards, > > Phil. > > > On 2018-10-02 01:15, John Murphy wrote: > > FOSS developers are so generous that all users are already in > > their debt and already I fear may have upset some by sayin

[LAD] How to ask?

2018-10-01 Thread John Murphy
FOSS developers are so generous that all users are already in their debt and already I fear may have upset some by saying so. You/they have my admiration, but it doesn't seem enough and the debt remains. Occasionally I see an opportunity to help, if a developer hints they're near starving, or I c