From nobody Wed Apr 5 14:51:14 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 4Ps6yw3yjPz43Zxn for ; Wed, 5 Apr 2023 14:51:36 +0000 (UTC) (envelope-from white-wolf@blues-softwares.net) Received: from mx.franceserv.fr (mx.franceserv.fr [62.4.19.99]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ps6yv4lQRz3mSK for ; Wed, 5 Apr 2023 14:51:35 +0000 (UTC) (envelope-from white-wolf@blues-softwares.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blues-softwares.net header.s=fsh1 header.b="r/S1VE7M"; spf=pass (mx1.freebsd.org: domain of white-wolf@blues-softwares.net designates 62.4.19.99 as permitted sender) smtp.mailfrom=white-wolf@blues-softwares.net; dmarc=pass (policy=none) header.from=blues-softwares.net Message-ID: <5f7d103c3aa0a04fc7f378b2606bca90ef9832bb.camel@blues-softwares.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=blues-softwares.net; s=fsh1; t=1680706292; bh=15aJCCVBDtqr2KGxa/DPB8Igw0jD9QuKTw1NAt1Yc6Y=; h=Subject:From:To:Date:In-Reply-To:References:From; b=r/S1VE7MmLGd9dLJ9aNbXjdr4hB6F4HWPaDZosMQQF+aCSBm44XE9o8mpnu0rlj4R sEobrS+baMwUAeWIifc52R11jhvHhB+BfHJVoW9t67GAkd+bluzhqq63JneJb/qSGN YpICHwL0R09K5SxwfvcDeMEwsLD0+MpgR2AuI/cD6brHkGG++xcVyVw+/93H9w1aWs eHgUKhxzu2jDWP5Jpo8/sZHbgUpXVTl8rsSjvW725Jna38HCC8/e9+NMD6KyBYvxIF 0yIaQrxzyrvE71SZrnMcn28DpegJsR625MbXcnpNLE0nt3aQaZLeRQ0P8V95a9NsCp PzYIxgZ8e/z/Q== Subject: Re: two USB sound cards on the same FreeBSD system with jackd From: white-wolf To: questions@freebsd.org Date: Wed, 05 Apr 2023 16:51:14 +0200 In-Reply-To: References: <4e4b5e5bbd621955317f54a5943681eb3c4e4d17.camel@blues-softwares.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.44.4 FreeBSD GNOME Team 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 Content-Transfer-Encoding: 8bit X-Abuse-Reports-To: abuse@franceserv.fr X-Spam-Score: -0.10 X-Spam-Flag: NO X-Spam-Level: X-Spam-Status: NO, score=-0.10 X-Spamd-Result: default: False [-4.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[blues-softwares.net,none]; R_DKIM_ALLOW(-0.20)[blues-softwares.net:s=fsh1]; R_SPF_ALLOW(-0.20)[+mx:franceserv.fr]; RCVD_IN_DNSWL_LOW(-0.10)[62.4.19.99:from]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:12876, ipnet:62.4.0.0/19, country:FR]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[blues-softwares.net:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Ps6yv4lQRz3mSK X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N On Sat, 2023-04-01 at 21:28 +0200, Tomek CEDRO wrote: > On Sat, Apr 1, 2023 at 4:35 PM white-wolf wrote: > > hello, > > for learn guitar in video conferences, i need to configure two > > sound cards on my FreeBSD Desktop. > > > > one for connect my guitar by an audiobox USB sound card, no need > > feedback > > one for my wireless headset microphone > > > > to connect ardour and hydrogen with jack and alsa (or else) > > for use my headset to listen and speak and my audiobox to forward > > my electric guitar under zoom or jitsi by pulse (or else) > > Hey there, HPS (CC) created amazing free-and-open-source audio > client-server utility dedicated to high quality low latency multiple > online paths audio jamming together called HPSJAM that you need to > try > out: > > https://github.com/hselasky/hpsjam > > It is already in the ports audio/hpsjam, there is a build for macOS > and Android. > > You need to attach jackd (man jackd) to a selected card first so it > is > visible to hpsjam. You can connect multiple soundcards. ok, no need to rebuild gnome with jack; alsa and pulseaudio support ? > > Personally everyday I use PulseAudio backend for audio because it > allows ongoing stream re-route to a different devices, control > individual applications volume level, etc, your audio application > needs to support PulseAudio though. > > It is possible to have Bluetooth audio on FreeBSD you can do that > with > virtual_oss (man virtual_oss) + bluetooth (man bluetooth-config). > > At the basic level with a bare base system you have SND > infrastructure > (man snd) that creates a /dev/dspX.Y (where X is the card number and > Y > is the audio channel) for each audio device (even if its a > microphone). You can then adjust audio volumes with mixer -f > /dev/mixerX and control card parameters with sysctl. Most > applications > support OSS so you only need to provide /dev/dspX of your interest to > the application. > > But, first of all your audio hardware needs to be supported by a > kernel driver, you can know that by watching dmesg and /dev/dsp* > devices (simplest way of testing what number card use is to make some > noise with cat /dev/random > /dev/dsp0..n) :-) > > Have fun :-) >