From nobody Fri May 26 02:07:28 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QS7br4Gtmz4TJTB for ; Fri, 26 May 2023 02:07:36 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx1.riseup.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QS7bq4tq5z3QBs for ; Fri, 26 May 2023 02:07:35 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=pOTUQa1o; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net; dmarc=pass (policy=none) header.from=riseup.net Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4QS7bp3jWyzDq7p for ; Fri, 26 May 2023 02:07:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1685066854; bh=FY8yflH8aDOh9ogDZmLUjGT+N0tzwy/ZtCjI6C3Cyz8=; h=Subject:From:To:Date:In-Reply-To:References:From; b=pOTUQa1oK0LL2cFyMfHNpWZh3Ohe/snk89jycFjb/wXLMN+ICOUdS7IGZil46TAdv Q/dJQKXdd37gcKi1vUUVYSXPQ/JWAxRm3pq3ojtm0E9EkIQyaRV1NbVe1BR3y9YSZH shFDjCoECJ/Bh0x72LhcaOPjl/J9QRTM4OXnGrXc= X-Riseup-User-ID: 1DB9105240236ED581246B1CFE6BCE1B05DA3330BBDA7A042EF27C68518DF0B8 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4QS7bn6QVvzFq3Q for ; Fri, 26 May 2023 02:07:33 +0000 (UTC) Message-ID: <3b085614389a75490476206d9f640f3cf093a1da.camel@riseup.net> Subject: Re: Overview of Linux and FreeBSD sound systems? From: Ralf Mardorf To: questions@freebsd.org Date: Fri, 26 May 2023 04:07:28 +0200 In-Reply-To: <2093DFC7-DDE2-4C24-8B37-39549383A150@nimnet.asn.au> References: <718e2b3e-3c57-d9b5-642e-6f6b54b896ce@Gmail.com> <8159f1281c63c9d11b6545c982427b9272c32455.camel@riseup.net> <6FD67A3B-E327-4BFA-8F1C-5F3BA01F37B8@nimnet.asn.au> <82992f698294673a9dd3b3934bea07941fe9e7d4.camel@riseup.net> <2093DFC7-DDE2-4C24-8B37-39549383A150@nimnet.asn.au> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Spamd-Result: default: False [-3.19 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.986]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[198.252.153.129:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; DWL_DNSWL_NONE(0.00)[riseup.net:dkim]; DKIM_TRACE(0.00)[riseup.net:+]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4QS7bq4tq5z3QBs X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Fri, 2023-05-26 at 06:01 +1000, Ian Smith wrote: > > "PulseAudio is a networked low-latency sound server for Linux" -=20 > > > https://man.freebsd.org/cgi/man.cgi?query=3Dpulseaudio&apropos=3D0&sektio= n > =3D1&manpath=3DFreeBSD+13.2-RELEASE+and+Ports&arch=3Ddefault&format=3Dhtm= l > >=20 > > "low-latency" is quite vague. jackd is for low-latency, pulseaudio > > isn't. However, it's another sound server. That's what I explained, > > too. >=20 > Again, I was wanting to dig into use on FreeBSD in particular. I've > seen mixed reviews but little professional analysis. Hi, I can't objectively comment on pulseaudio on Linux, let alone commenting on pulseaudio on FreeBSD. My opinion is biased. To keep up the netiquette, I would like to put it this way: I dislike it. > Is ALSA on FreeBSD a thing at all? No, it isn't. https://wiki.freebsd.org/Sound However, back to desktop environments and sound servers. I'm in favour of using a window manager without a desktop environment. Here's my biased analysis of "sound systems," specifically as it relates to "desktop sound." 1. Best practice is to use a single audio device instead of syncing several audio devices, e.g. a sound card for audio output and an USB microphone for audio input is something I wouldn't use. I would connect a microphone to the same sound card, that is used for audio output. =20 2. I can't stand desktop sound when an item is moved to trash or something like this. So even if I wouldn't be in favour of command line and instead move items with the mouse, I would disable such sounds. =20 3. I'm not listening to more than one audio stream at a time. IOW, I don't watch two or more videos at the same time. For me the conclusion from this is that for common desktop sound a sound server aimed for desktop environments, such as pulseaudio is that much needed as e.g. gvfs [ https://man.freebsd.org/cgi/man.cgi?query=3Dgvfs&sektion=3D7&manpath=3Dfree= bsd-release-ports ] for command line users, to mount drives or for providing a trash icon on the desktop. You won't see something like pulseaudio, gvfs and other helpers on a customizable operating system that is customized to my taste. From my point of few those "helpers" are "annoyances". There are enough apps available that support whatever the most less complicate level of sound architecture usage is for the used operating system. Here https://wiki.freebsd.org/Sound#Video_conferencing_.28via_browser.29 isn't mentioned to install a bloated desktop environment with a sound server such as pulseaudio. The (audio) studio in the box is another topic. Just my 2 Cents, Ralf