[ home / bans / all ] [ qa / jp ] [ maho ] [ f / ec ] [ b / poll ] [ tv / bann ] [ toggle-new / tab ]

/maho/ - Magical Circuitboards

Advanced technology is indistinguishable from magic

New Reply

Options
Comment
File
Whitelist Token
Spoiler
Password (For file deletion.)
Markup tags exist for bold, itallics, header, spoiler etc. as listed in " [options] > View Formatting "


[Return] [Bottom] [Catalog]

File:MyRec_0727_0925.mp3 (490.1 KB)

 No.1444

Linux and Audio.
Not a pairing that was meant to be.

I'm playing audio on two speakers and they randomly get latency on them that I can't predict

 No.1445

File:MyRec_0727_0936.mp3 (622.71 KB)

Maybe I got it but I wish there were more

 No.1446

>>1444
Use JACK + realtime kernel

 No.1447

I'm using pavucontrol/pulse audio, so I guess I have to do a kernel swap to get better control...

 No.1448

>>1447
Start with JACK on the kernel you have. Or just ALSA. The latency is being caused by pulseaudio.

 No.1449

>>1446
>>1448
I'll actually answer your question sorry. In Linux everything is built on top of ALSA. JACK, Pulseaudio and Pipewire are all just a way to pipe audio into ALSA -> sound card driver -> speakers. You're getting latency because pulseaudio is a really crappy sound server and has been for a long time. Hence why pipewire is the new shiny.

For pro audio applications you want JACK and nothing else. You probably want a realtime kernel to. For just listening (not production) you can get by with just ALSA. The only value is something like pulseaudio is the ability to have multiple devices plugged in at the same time. In other words one application doesn't get direct control of your sound card. You can do mixing in ALSA to (that's all pulse is doing) but you have to manually configure it. Which isn't hard but ALSA is a bit of a pain to config. Pulseaudio is easier to config but breaks randomly for no reason and has really bad latency because it's doing all the mixing with the CPU before sending sound to the sound card.

OSS is also good but rarely used anymore.

For stuff that claims to be pulseaudio only you can use apulse to pipe it into ALSA. Main one will probably be your web browser. apulse works find in my experience.

You could try pipewire but I haven't used it much (moved on to JACK years ago). It tries to be a better pulseaudio. But it's from the same developers and most of what they've created is crap over the years. But it'll no doubt be the new standard for most things like Ubuntu if it isn't already.

Having realtime kernel is more for people that do stuff like use MIDI devices or plug in guitars and other instruments.

 No.1450

File:1529110282689.png (62.5 KB,716x250)


 No.1451

>>1450
I don't get it, or is it that there's no sound (speech)?

 No.1452

>>1451
yeah pretty sure that's it
remember when not too long ago for some reason my setup broke even when resetting the pc and i had to do a re-something and then everything was good even though i never tweaked it... weird stuff

 No.1455

>>1444
pipewire just werks




[Return] [Top] [Catalog] [Post a Reply]
Delete Post [ ]

[ home / bans / all ] [ qa / jp ] [ maho ] [ f / ec ] [ b / poll ] [ tv / bann ] [ toggle-new / tab ]