From owner-freebsd-multimedia@FreeBSD.ORG Tue Aug 29 23:24:17 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 7F51716A52E for ; Tue, 29 Aug 2006 23:24:17 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtao03.cox.net (eastrmmtao03.cox.net [68.230.240.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id A25FC43D45 for ; Tue, 29 Aug 2006 23:24:14 +0000 (GMT) (envelope-from conrads@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao03.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060829232413.FFAA23863.eastrmmtao03.cox.net@eastrmimpo02.cox.net>; Tue, 29 Aug 2006 19:24:13 -0400 Received: from serene.no-ip.org ([72.200.25.154]) by eastrmimpo02.cox.net with bizsmtp id FzQ81V00R3KVMNG0000000 Tue, 29 Aug 2006 19:24:08 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.13.8/8.13.8) with ESMTP id k7TNOCHF036478; Tue, 29 Aug 2006 18:24:12 -0500 (CDT) (envelope-from conrads@cox.net) Date: Tue, 29 Aug 2006 18:24:06 -0500 From: "Conrad J. Sabatier" To: Hans Petter Selasky Message-ID: <20060829182406.0620f941@serene.no-ip.org> In-Reply-To: <200608271719.23435.hselasky@c2i.net> References: <200608271719.23435.hselasky@c2i.net> Organization: A Rag-Tag Band of Drug-Crazed Hippies X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: New USB MIDI driver for FreeBSD 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: Tue, 29 Aug 2006 23:24:17 -0000 On Sun, 27 Aug 2006 17:19:22 +0200, Hans Petter Selasky wrote: > Hi, > > During the past week I have been working on USB MIDI support for > FreeBSD. I choose the simplest approach, and that was to create a > raw/direct MIDI device. I have created a user-land library called > "umidi20" that will do the low-level sequencing / timing stuff. > > Maybe someone here wants to help. > > How to install: > > # > # First get all the sources: > # > > svn --username anonsvn --password anonsvn \ > checkout svn://svn.turbocat.net/i4b > > # > # The following commands will > # install the driver on FreeBSD: > # > > cd i4b/trunk/i4b/FreeBSD.usb > make S=../src package > make install > cp -i ../src/sys/dev/sound/usb/uaudio*[ch] /sys/dev/sound/usb/ > > # > # Then build a new kernel. > # > > The "umidi20" library will seemlessly handle device attach/detach. > For example one can unplug the MIDI device during playback, then plug > it in, and everything works again. No need to restart anything. Just > make sure that you "chmod 777 /dev/umidi*" or something similar. > > I have also created a homepage with some screenshots and info: > > http://www.turbocat.net/~hselasky/midistudio Hmmm...I wonder how well this might work with Rosegarden 4. I've managed to get Rosegarden 4 to compile and run on my amd64 CURRENT box (running it with the --nosequencer switch to prevent crashing on startup). Perhaps with this device, the sequencer in Rosegarden may actually become useable! I've considered submitting a port of Rosegarden 4, but am hesitant to do so with the broken sequencer functionality. All of the other modules seem to work pretty well, though, especially the much-improved (over the old Rosegarden we already have in ports) Notation Editor, which I've used to create and then export MIDI files. I may just have to find a USB cable for my Yamaha S03 keyboard and see how it goes. :-) Thanks! -- Conrad J. Sabatier -- "In Unix veritas"