From owner-freebsd-multimedia Fri Sep 17 10:42: 5 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from phluffy.fks.bt (170-15.dynamic.visi.com [209.98.170.15]) by hub.freebsd.org (Postfix) with ESMTP id 595F914E0A for ; Fri, 17 Sep 1999 10:41:52 -0700 (PDT) (envelope-from myke@ees.com) Received: from localhost (myke@localhost) by phluffy.fks.bt (8.8.8/8.8.8) with ESMTP id MAA09719; Fri, 17 Sep 1999 12:41:21 -0500 (CDT) (envelope-from myke@ees.com) X-Authentication-Warning: phluffy.fks.bt: myke owned process doing -bs Date: Fri, 17 Sep 1999 12:41:21 -0500 (CDT) From: Mike Holling X-Sender: myke@phluffy.fks.bt To: Christoph Kukulies Cc: multimedia@FreeBSD.ORG Subject: Re: playing direct midi in In-Reply-To: <199909171349.PAA18519@gil.physik.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Any of you sound gurus knowing what I can do > when I want to plug in my midi keyboard and use the computer > as a 'sound canvas'? (card is a GUS MAX). I've done a little bit of work on this, using the OSS drivers. You can either use the OSS MIDI sequencer (not too well documented, especially for incoming MIDI) or just write your own code to monitor /dev/midi. Of course, if you're trying to make something like a sequencer you'll need to figure out exactly when MIDI events were received on the device, which may be tricky. On the other hand I was able to write a very basic synthesizer in Perl by simply reading /dev/midi and looking for note-on events. I got additional documentation from OSS support that's not available on their web site. It's somewhat preliminary (they promise to have a revised doc on their web site "real soon now") but it's enough to get you going with the OSS MIDI sequencer. Ask them for it, or I can email you a copy. - Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message