JACK is Hannibal Lector with an ear fetish

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

User avatar
bluzee
Established Member
Posts: 338
Joined: Mon Nov 30, 2020 11:43 pm
Has thanked: 18 times
Been thanked: 88 times

Re: JACK is Hannibal Lector with an ear fetish

Post by bluzee »

Every interface has a reference clock for sample rate timing. These are all slightly off. Imagine a clock store full of clocks. At the start of the month you go through and set every one synchronized to exactly the same time. At the end of the month you look at them again and you find none of them match any more.

In a consumer grade world applications simply resample the sound as things drift out of sync and make them match up again. This is what pulse audio is designed for.

In a pro audio situation this is a bad thing. When we have multiple interfaces we connect them together to a central clock so everything stays perfectly synced. This is what Jack is designed for.
User avatar
sunrat
Established Member
Posts: 915
Joined: Wed Jul 22, 2020 2:08 pm
Has thanked: 151 times
Been thanked: 242 times

Re: JACK is Hannibal Lector with an ear fetish

Post by sunrat »

Don't worry everyone, the new standard of Pipewire is coming; then everything will work perfectly! :mrgreen:

Image
tavasti
Established Member
Posts: 2047
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Has thanked: 369 times
Been thanked: 208 times
Contact:

Re: JACK is Hannibal Lector with an ear fetish

Post by tavasti »

flappix wrote: Sun Mar 21, 2021 2:00 pm Plugins and Jack are not mutually exclusive. Plugins are managed by your DAW or a simple plugin-host while Jack allows you to connect different music applications and use them together.

If you are overstrained by the routing possibilities of Jack I suggest that you use a single DAW like Ardour. It manages everything for you and don't have to care about any Jack routing in the background.
I agree with every word here.

If I am producing something, I have daw running. When just snooping around, testing plugins I can launch stand alone programs or plain plugins running with carla-single, and route midi & audio just like I want. I love the flexibility jack gives me.

Sure there is sometimes problems: if some program connected to jack crashes, it is possible that I need to restart jack to get everything back working like expected.

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

j_e_f_f_g
Established Member
Posts: 2032
Joined: Fri Aug 10, 2012 10:48 pm
Been thanked: 357 times

Re: JACK is Hannibal Lector with an ear fetish

Post by j_e_f_f_g »

Get ready for yet another world of pain, folks. As if there hasn't already been an odiously reeking dung pile of "sound servers" -- all of them simultaneously fighting over your audio hardware -- a new mutation known as "PipeWire" just emerged from its dinosaur egg. And just like the majority of its inbred ancestors, it's also threatening extinction for all who came before it. This thing is claiming the ability to shape-shift into something that looks just like PulseAudio to your firefox browser, while at the same time appearing to be JACK to Ardour.

You should know what this means by now. First, because of all the bugs and limited amount of testing, software specifically written for PipeWire will periodically crash and burn like an iPhone prototype. (Remember what it was like when PulseAudio barged into the room like some Marvel superhero and yelled "I'm here to rescue you from Gnome's and Kde's incompatible sound servers!"... then tripped over his own cape? Sure you do.)

And PipeWire will emulate PulseAudio and JACK just enough to fool those servers' apps into thinking that everything's good in the world, and no one need be disturbed with annoying error messages. Except that the emulation won't be comprehensive enough to actually produce sound. (And don't you just love dealing with software that doesn't work, but also doesn't tell you why it's not working?)

I hope you're in the mood for some "quiet time". Because I have a feeling you're soon going to be getting lots of it. Whether you want it or not.

Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.

User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: JACK is Hannibal Lector with an ear fetish

Post by raboof »

j_e_f_f_g wrote: Sun Mar 21, 2021 8:24 pm You set EDrummer to use ALSA, then recorded the room sound of you tapping a key on your PC, and the sound waves coming out of your speakers.
Wait, you got it backwards: I first looked at the code and saw you were comparing 'number of bytes' to 'number of frames' - which (at 4 bytes per frame) would explain the '4x difference' you claimed. The audio test was just to double-check that finding.
j_e_f_f_g wrote: Sun Mar 21, 2021 8:24 pm probably used a microphone that wasn't performant enough to even remotely measure the latencies you thought you were measuring
Well, you claimed a 4x latency difference - that should be easy to measure even without fancy equipment, right?
tavasti
Established Member
Posts: 2047
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Has thanked: 369 times
Been thanked: 208 times
Contact:

Re: JACK is Hannibal Lector with an ear fetish

Post by tavasti »

j_e_f_f_g wrote: Mon Mar 22, 2021 8:41 am You should know what this means by now. First, because of all the bugs and limited amount of testing, software specifically written for PipeWire will periodically crash and burn like an iPhone prototype.
...
And PipeWire will emulate PulseAudio and JACK just enough to fool those servers' apps into thinking that everything's good in the world, and no one need be disturbed with annoying error messages. Except that the emulation won't be comprehensive enough to actually produce sound. (And don't you just love dealing with software that doesn't work, but also doesn't tell you why it's not working?)
I am confident that there is early adopters that take care of that before I end up up upgrading my OS. Running Ubuntu 18.04, so I am forced to make some moves 04-2023. And I am pretty sure even then I can still go with jack and pulse.

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

User avatar
Largos
Established Member
Posts: 617
Joined: Mon Oct 05, 2020 12:21 pm
Has thanked: 70 times
Been thanked: 179 times

Re: JACK is Hannibal Lector with an ear fetish

Post by Largos »

Someone should tell every DAW developer that making a software patchbay is a mistake and wasn't where the market was heading :lol:
User avatar
bluzee
Established Member
Posts: 338
Joined: Mon Nov 30, 2020 11:43 pm
Has thanked: 18 times
Been thanked: 88 times

Re: JACK is Hannibal Lector with an ear fetish

Post by bluzee »

No need to get your panties in a knot. This is Linux. This is not Windows or Mac. You are in control. If you don't want Pipewire you don't have to use it. If you don't want Jack, don't use it. If you don't want Pulse, don't use it. If you don't want ALSA then use OSS. No one is forced into any one thing. Use what ever options you want.
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: JACK is Hannibal Lector with an ear fetish

Post by tramp »

I'm using jack all day long.
On the road again.
User avatar
bluebell
Established Member
Posts: 1909
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: JACK is Hannibal Lector with an ear fetish

Post by bluebell »

tramp wrote: Mon Mar 22, 2021 7:40 pm I'm using jack all day long.
I use it at night, too.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
Fmajor7add9
Established Member
Posts: 218
Joined: Sun Dec 31, 2017 3:56 am
Location: Might be moving to Montana soon
Has thanked: 48 times
Been thanked: 27 times
Contact:

Re: JACK is Hannibal Lector with an ear fetish

Post by Fmajor7add9 »

j_e_f_f_g wrote: Mon Mar 22, 2021 8:41 am Get ready for yet another world of pain, folks. As if there hasn't already been an odiously reeking dung pile of "sound servers" -- all of them simultaneously fighting over your audio hardware -- a new mutation known as "PipeWire" just emerged from its dinosaur egg. And just like the majority of its inbred ancestors, it's also threatening extinction for all who came before it. This thing is claiming the ability to shape-shift into something that looks just like PulseAudio to your firefox browser, while at the same time appearing to be JACK to Ardour.

You should know what this means by now. First, because of all the bugs and limited amount of testing, software specifically written for PipeWire will periodically crash and burn like an iPhone prototype. (Remember what it was like when PulseAudio barged into the room like some Marvel superhero and yelled "I'm here to rescue you from Gnome's and Kde's incompatible sound servers!"... then tripped over his own cape? Sure you do.)

And PipeWire will emulate PulseAudio and JACK just enough to fool those servers' apps into thinking that everything's good in the world, and no one need be disturbed with annoying error messages. Except that the emulation won't be comprehensive enough to actually produce sound. (And don't you just love dealing with software that doesn't work, but also doesn't tell you why it's not working?)

I hope you're in the mood for some "quiet time". Because I have a feeling you're soon going to be getting lots of it. Whether you want it or not.
LOL! :lol: :lol: :D
j_e_f_f_g
Established Member
Posts: 2032
Joined: Fri Aug 10, 2012 10:48 pm
Been thanked: 357 times

Re: JACK is Hannibal Lector with an ear fetish

Post by j_e_f_f_g »

Some of you aren't prepared for what's ahead. We're about to get a "shock to the system" with Wayland. I don't expect this to have deadly consequences for most software. But it's not going to be pleasant for music software, and in particular, it could be really bad for LV2 plugins. LV2 doesn't currently have support for Wayland, and I'm a bit puzzled as to how a host is going to be able to use both LV2 plugins that use the old XWindows server, and plugins that are updated to Wayland. I have a feeling its going to cause the same trouble for LV2 plugins that don't use GTK (ie, gnome) as we currently have with LV2 plugins that do use a different version of GTK than the host. I mean, can a host that uses Wayland somehow be able to also invoke XWayland for old LV2 plugins? That's the rub.

Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.

tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: JACK is Hannibal Lector with an ear fetish

Post by tramp »

j_e_f_f_g wrote: Tue Mar 23, 2021 3:36 am I mean, can a host that uses Wayland somehow be able to also invoke XWayland for old LV2 plugins?
Why not? XWayland is just a Wayland client and could be invoked at any time.
On the road again.
JamesPeters
Established Member
Posts: 188
Joined: Fri Jun 29, 2018 6:35 pm
Has thanked: 8 times
Been thanked: 15 times

Re: JACK is Hannibal Lector with an ear fetish

Post by JamesPeters »

Oh, just let Jeff be angry with his rants about how terrible all of Linux is for DAW use. It seems he really wants to be angry. Let's not take that away from him. :)
Kott
Established Member
Posts: 818
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 122 times

Re: JACK is Hannibal Lector with an ear fetish

Post by Kott »

j_e_f_f_g wrote: Tue Mar 23, 2021 3:36 am I mean, can a host that uses Wayland somehow be able to also invoke XWayland for old LV2 plugins? That's the rub.
No. And that's why PipeWire was invented for :)

Seriously. Wayland and Flatpak are much forced to desktops. Flatpak means no Jack, Wayland means no X11 in Wayland-native hosts (and vice versa).
The idea of PipeWire is to be super universal solution for these issues and for everything else.

Someone really found that idea good: https://gist.github.com/abique/4c1b9b40 ... 2a7c760db4
Post Reply