From owner-freebsd-multimedia@FreeBSD.ORG Fri Jan 27 21:53:08 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D0E816A422 for ; Fri, 27 Jan 2006 21:53:08 +0000 (GMT) (envelope-from alex@caoua.org) Received: from moule.caoua.org (moule.caoua.org [213.41.141.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FDD243D46 for ; Fri, 27 Jan 2006 21:53:06 +0000 (GMT) (envelope-from alex@caoua.org) Received: from moule.localdomain (alex@localhost.localdomain [127.0.0.1]) by moule.caoua.org (8.13.0/8.13.0) with ESMTP id k0RLr1de009563; Fri, 27 Jan 2006 22:53:01 +0100 (CET) Received: (from alex@localhost) by moule.localdomain (8.13.0/8.13.0) id k0RLr1VF013205; Fri, 27 Jan 2006 22:53:01 +0100 (CET) Date: Fri, 27 Jan 2006 22:53:01 +0100 From: Alexandre Ratchov To: Chapman Flack Message-ID: <20060127215301.GA25336@moule.localdomain> References: <43DA4BE7.6070701@anastigmatix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43DA4BE7.6070701@anastigmatix.net> User-Agent: Mutt/1.5.6i Cc: freebsd-multimedia@freebsd.org, tech@openbsd.org Subject: Re: Return of the MIDI X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 21:53:08 -0000 On Fri, Jan 27, 2006 at 11:35:51AM -0500, Chapman Flack wrote: > Hi, > > I've been working on a largish increment in MIDI support for NetBSD. > I notice in OpenBSD manpages that the MIDI support there is derived > from older NetBSD code, and from FreeBSD archives that the support > there is in a sort of indeterminate state at the moment. So you might > find the NetBSD patches to be of interest. I have not yet had the > chance to patch the manpages and improve the documentation (that's > in the works), but you can get an idea what's developing (and links > to the patches so far) from the relevant NetBSD PRs: > > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32441 > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32442 > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32567 > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32588 > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=32651 > hello, i don't understand completely the new cable number quirks; you say that the midiman 2x4 have 4 jacks, that can be written (arbitrary?) on 2 endpoints. Isn't this specified in any descriptors? i really like your path to improve the umidi(4) transmit output throughput, i'll try it soon on openbsd; last year, there have been changes in the midi(4) driver of openbsd. In order to fix similar problems, openbsd used a very simple approach: currently, the midi(4) driver parses data as-is to the user-land, supposing that the user application have to decode (and thus to check for inconsistencies) the input stream. Inside the kernel, input midi stream is parsed only if the sequencer is opened and output stream is parsed in the umidi(4) driver in order to build packets. thanks, -- Alexandre