From nobody Sat Apr 16 22:02:54 2022 X-Original-To: freebsd-multimedia@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 0B2DC11CBA44 for ; Sat, 16 Apr 2022 22:03:12 +0000 (UTC) (envelope-from dev@submerge.ch) Received: from c3po.matrixx.ch (c3po.matrixx.ch [80.74.145.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KgnJG6wHlz3qDD for ; Sat, 16 Apr 2022 22:03:10 +0000 (UTC) (envelope-from dev@submerge.ch) Received: from [145.40.196.39] (port=29203 helo=z800.localnet) by c3po.matrixx.ch with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1nfqVI-0007i2-GZ; Sun, 17 Apr 2022 00:02:57 +0200 From: Florian Walpen To: freebsd-multimedia@freebsd.org, Hans Petter Selasky Cc: Shane Ambler Subject: Re: New FreeBSD port ALSA to JACK MIDI, a2jmidid Date: Sun, 17 Apr 2022 00:02:54 +0200 Message-ID: <2293974.bDOn7JOVgO@z800> In-Reply-To: <65a7345a-7feb-d553-4953-ea68e8acb022@selasky.org> References: <70661440-cbff-b178-ca21-70b10e5f2798@selasky.org> <65a7345a-7feb-d553-4953-ea68e8acb022@selasky.org> List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - c3po.matrixx.ch X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - submerge.ch X-Get-Message-Sender-Via: c3po.matrixx.ch: authenticated_id: fw@submerge.ch X-Authenticated-Sender: c3po.matrixx.ch: fw@submerge.ch X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4KgnJG6wHlz3qDD X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of dev@submerge.ch designates 80.74.145.109 as permitted sender) smtp.mailfrom=dev@submerge.ch X-Spamd-Result: default: False [-1.02 / 15.00]; RCVD_TLS_ALL(0.00)[]; CTE_CASE(0.50)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; HAS_X_SOURCE(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MID_RHS_NOT_FQDN(0.50)[]; ARC_NA(0.00)[]; NEURAL_SPAM_MEDIUM(0.28)[0.279]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-0.997]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[submerge.ch]; HAS_X_GMSV(0.00)[fw@submerge.ch]; MLMMJ_DEST(0.00)[freebsd-multimedia]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21069, ipnet:80.74.144.0/20, country:CH]; RCVD_COUNT_TWO(0.00)[2]; HAS_X_AS(0.00)[fw@submerge.ch] X-ThisMailContainsUnwantedMimeParts: N On Saturday, April 16, 2022 6:31:37 PM CEST Hans Petter Selasky wrote: > On 4/16/22 18:29, Hans Petter Selasky wrote: > > On 3/2/22 12:02, Hans Petter Selasky wrote: > >>> From a user perspective, having ALSA MIDI support directly in JACK > >>> would be > >> > >> preferable, I think. I'll have a look into that, probably next > >> weekend. Did > >> you see any major problems there? > > > > Ping, did you find to look into this? > > s/find/find time/ > > :-) > > --HPS Oops, sorry about that - I did have a look at the code, but then was cut off the internet for about a week (fiber cable broke in the neighbourhood)... ...and forgot to answer. Contrary to what I had in mind, the MIDI code in JACK is not a separate module, but is driven by the ALSA audio backend. Means we'd have to somehow drive it from the OSS backend in our case. Also the MIDI code is not too well structured nor documented, and it's hard to tell the exact timing requirements to drive it. So instead of creating a lot of work and maintenance Frankenstein'ing the OSS backend with the ALSA MIDI code, I suppose our efforts are better spent on ease of setup for a2jmidid and documentation. Sorry again for the delay. Regards, Flo