From nobody Sat Apr 01 15:51:09 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 4PphTg1Z9Sz42xBX for ; Sat, 1 Apr 2023 15:51:19 +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 4PphTd5HYRz3mdN for ; Sat, 1 Apr 2023 15:51:17 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=WmMmMVCA; 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 fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (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 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4PphTb6VyTzDscm for ; Sat, 1 Apr 2023 15:51:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1680364275; bh=62ilFE9ATnjCgmFg7Y8GFaA9dkVDOgP1DOM1WNgl1I0=; h=Subject:From:To:Date:In-Reply-To:References:From; b=WmMmMVCARFN+IsizMKOOyqUVW+zqI4i27jdewSsleRpDYrXgfrND1Gr+omVKCQUx2 nHUinrpjTw0+sTx7v0Q6LGUN6T1dtv2+bDIfKysyimGBc7l61uaxBpsS4cIYkZcGNa KHhmGbNwMt2w4WV9cU4KHFXyoNInJlDxzJo4xOec= X-Riseup-User-ID: 9A70E1E091DEF41E0A67FBD793F48A6CAE76EB2B686A98F00A25B0CC85C6BE6D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4PphTb26p6z5vlZ for ; Sat, 1 Apr 2023 15:51:15 +0000 (UTC) Message-ID: Subject: Re: two USB sound cards on the same FreeBSD system with jackd From: Ralf Mardorf To: questions@freebsd.org Date: Sat, 01 Apr 2023 17:51:09 +0200 In-Reply-To: <4e4b5e5bbd621955317f54a5943681eb3c4e4d17.camel@blues-softwares.net> References: <4e4b5e5bbd621955317f54a5943681eb3c4e4d17.camel@blues-softwares.net> 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 [-4.20 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[198.252.153.129:from]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[riseup.net:+]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[riseup.net:dkim]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4PphTd5HYRz3mdN X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N On Sat, 2023-04-01 at 16:35 +0200, white-wolf wrote: > to connect ardour and hydrogen with jack and alsa (or else) Hi, before I migrated from Linux real-time pro-audio to Apple for audio and other artwork, one of my domains was jackd with the alsa backend on Linux. On FreeBSD your backend is most likely "or else". Most likely I cannot help you with FreeBSD audio, but at least I can contribute something related to your request in general, what ever operating system you are using. While it's possible to use two audio devices on Linux and probably on FreeBSD, too, it requires to sync those audio devices, either by hardware, for low-end devices it might be possible via SPDIF (prosumer and professional devices provide word clock or the less good ADAT sync) or by software resampling. Is there any way to sync those two devices by hardware? If not, google for FreeBSD and audio device sync by resampling software. Related to the COVID-19 pandemic I was forced to use Zoom and similar hells on earth. It was already a PITA on iPadOS, just for video conferences without my guitars involved, by just using the integrated audio device. In a nutshell, if possible use one audio device, don't try to make two audio devices a virtual single audio device, since you don't need two or more construction sites. Use one audio device, one input channel for the microphone and another channel for the guitar. Depending on your audio device you might need additional pre-amps. Using a wireless audio device makes it way more error prone. If possible avoid using a wireless device. Even if you should be fine with getting Bluetooth to work, the wireless related IRQs affect the whole audio chain. Try to get a working setup by just using a single non-wireless audio device, you much likely have enough to struggle with getting Zoom or else to work, so don't make it more complicated by trying to sync two audio devices and don't make it extra complicated by using a wireless device. Just my 2 Cents (I'm serious, this isn't an April hoax) Ralf