3 ms·
I thought is hard to have low latency audio in Linux with stuff like PulseAudio.
by DeathArrow 4y ago
I thought is hard to have low latency audio in Linux with stuff like PulseAudio.
- tsegratis 4y agoPossible with jackd etc I switched to BSD and got much better latency on the same hardware But I think that was the alsa -> BSD oss driver swap, which is possible on linux too. I had just never tried it, since I assumed linux was best (I'm only sharing this cus i think its interesting, and may help you get good latency)
- tsegratis 4y agoI'm enjoying the downvotes :) Was anything I said wrong? Seriously, I've spent a long time fixing up low latency audio jackd + OSS on whatever OS u like is not bad advice fyi
- Shared404 4y agoI honestly have no idea. Personally I'm very happy to see that info as I do use both Linux and *BSD and wouldn't have ever tried setting up BSD for audio until now.
- giva 4y agoBSD has in-kernel audio mixing, IIRC.
- officeplant 4y agoI've begun tinkering with GhostBSD lately just to learn more about BSD. Pleasantly surprised to find a lot of familiar linux audio tools were ported or can be easily made to work. Also happy that my ancient Presonus AudioboxUSB works fine in BSD. So much so that I get less random audio glitches than I do under windows 10.
- tecleandor 4y agoThe RTAudio tools this is based on allows different backends to be configured. I guess you could use Alsa or Jack if you want... https://github.com/thestk/rtaudio/blob/master/install.txt https://github.com/thestk/rtaudio/blob/master/install.txt
- liotier 4y agoJack offers the low latency necessary for music production. Pipewire is supposed to offer low latency as well - at least lower than Pulseaudio, but I don't know how much.
- rerdavies 4y agoPipewire runs neck-and-neck with Jack and Alsa. The benchmark pretty regularly; and the difference is +/- nothing. Pulseaudio isn't appropriate for this application.
- tcrenshaw 4y agoNah, low latency audio is absolutely possible, but not necessarily using pulse audio. Using either Jack for the low latency stuff has been the advice for years, but with the advent of pipewire you can mix and match without too much difficulty. A quick skim didn't turn up what audio backend this project is using, but I'm using patchbox with modep on my Pi4 as a bass pedal board and it's pretty much flawless low latency. I do need to add a fan to my pi since it's mounted underneath a pedal board and doesn't get quite enough air though.
- weberer 4y agoSep 2 of the build instructions says it requires RtAudio.
- jcelerier 4y agoRtAudio is just an API wrapper which calls JACK, Alsa, etc behind the scenes and does not add latency, just the overhead of a couple c++ method calls
- heinternets 4y agowhat is the latency of a raspberry pi running this type of software? can't find figures anywhere
- rerdavies 4y ago3.9ms measured audio latency using a loopback cable. https://rerdavies.github.io/pipedal/AudioLatency.html https://rerdavies.github.io/pipedal/AudioLatency.html
- BizarroLand 4y agoI also wonder about the latency of the behringer interface. I've had one before, the sound quality is pretty good for entry level high-fi audio, but when I've run the audio into a DAW and back out post-processing there has always been an audible delay. Granted, this was in windows, but from what I understand there is always going to be some audible processing delay with a USB 2.0 interface.
- PaulDavisThe1st 4y agoPulseAudio is an audio server aimed at desktop applications. It has nothing to do (or offer) low latency audio work, and would never be used for it. ALSA is the driver layer on Linux, and it can go as low or lower in latency terms as the audio driver layer on any other platform.