Question regarding new_song template

TheYke
Posts: 19
Joined: 07 May 2020 06:22

Question regarding new_song template

Post by TheYke »

Hi there,
installed radium from Arch-Repo some days ago to test it and I must say, I love it. Especially the pd-support. Really nice! Really considering to buy it ....

Sorry to bother you, but I got one question: I get an error on every startup that there was an issue with connecting to a jack port.
I tracked it down, that it must be related to the fact that I only have 1 input on my USB audio-interface (if I switch jack presets to the internal sound-card with stereo-input, no error whatsoever). Is this plausible?
I figured, I have to set the defaults so that radium doesn't try to connect to 2 input-channels but just one or none? Further reading revealed, that defaults have to be set inside the new_song.rad file, right?
Any advice on this would be really nice!
Thanks in advance.
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Question regarding new_song template

Post by kjetil »

Hi,

I don't get any error when I use one input port with the dummy jack driver. What does the error say? Does it only happen during program startup, or does it also happen when you select "New" from the file menu?
TheYke
Posts: 19
Joined: 07 May 2020 06:22

Re: Question regarding new_song template

Post by TheYke »

Hey, thanks for the reply.
This is the message:
radium_error.png
radium_error.png (16.96 KiB) Viewed 10438 times
If I hit "try to run anyway" it seems to run without problems.
And no, if I hit "new" from the menu, the error doesn't come up again.
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Question regarding new_song template

Post by kjetil »

The error is printed after running a program that checks if jack is working. It's only run during startup.

Can you run this program manually and report back what it prints to the terminal?

The program is called radium_check_jack_status and I think you'll find it here:
/opt/radium/bin/radium_check_jack_status
TheYke
Posts: 19
Joined: 07 May 2020 06:22

Re: Question regarding new_song template

Post by TheYke »

Sure,
for

Code: Select all

./radium_check_jack_status
inside /opt/radium/ it says

Code: Select all

KillJackd.cpp: Could not connect input port 2
Thanks again.
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Question regarding new_song template

Post by kjetil »

I don't know. It seems like jack reports back the wrong number of port names. I don't see anything wrong with the radium code. (https://github.com/kmatheussen/radium/b ... d.cpp#L128)
I'll ask on the Jack mailing list if there could be an error in the USB audio driver.

You can probably safely ignore the error though.
TheYke
Posts: 19
Joined: 07 May 2020 06:22

Re: Question regarding new_song template

Post by TheYke »

Ok, thanks for your efforts!
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Question regarding new_song template

Post by kjetil »

I wonder, in qjackctl, how many "system/capture_*" ports do you see?
TheYke
Posts: 19
Joined: 07 May 2020 06:22

Re: Question regarding new_song template

Post by TheYke »

In the permanent qjackctl-patchbay i have "capture_1" & "capture_2". With the error-throwing preset enabled however, inside the graph qjackctl I only have "capture_1" as it's mono-in on hardware-side.
As my machine is a laptop for studying, I'm constantly switching presets (internal soundcard on the go, little external one for audio-work at home), that's why I try to use one big batchbay-patch where all apps can connect automatically as needed.
Just tried to delete the (not used/needed) "capture_2" from my qjackctl patchbay temporarily, but same message appears. As said earlier, if I switched the alternative input-device to the internal hardware in duplex-mode, it just works fine ...

EDIT: typos
kjetil
Site Admin
Posts: 582
Joined: 20 Jul 2017 20:45

Re: Question regarding new_song template

Post by kjetil »

Sorry, this is too confusing for me. Can you open the "connections" window, press "expand all", and list up the ports under "system"?
Image
Post Reply