From owner-freebsd-current Sat Mar 22 13:27:26 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8C2F37B401 for ; Sat, 22 Mar 2003 13:27:24 -0800 (PST) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA88743F75 for ; Sat, 22 Mar 2003 13:27:23 -0800 (PST) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost.cnd.mcgill.ca [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.3/8.12.3) with ESMTP id h2MLTRHB064756 for ; Sat, 22 Mar 2003 16:29:27 -0500 (EST) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.3/8.12.3/Submit) id h2MLTRJo064755 for freebsd-current@FreeBSD.ORG; Sat, 22 Mar 2003 16:29:27 -0500 (EST) Date: Sat, 22 Mar 2003 16:29:27 -0500 From: Mathew Kanner To: freebsd-current@FreeBSD.ORG Subject: Re: MIDI on SB Live! ? Message-ID: <20030322212927.GB64622@cnd.mcgill.ca> References: <200303221545.31700.michaelnottebrock@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303221545.31700.michaelnottebrock@gmx.net> Organization: I speak for myself, operating in Montreal, CANADA User-Agent: Mutt/1.5.3i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mar 22, Michael Nottebrock wrote: > On Friday 21 March 2003 21:01, der_julian@web.de wrote: > > just out of curiosity: Is someone working in MIDI support for Creative > > EMU10K1 based sound cards (aka Soundblaster Live!) ? > On and off, as far as I can tell. If you want MIDI right now, take a look at > what 4Front Technologies offers in their commercial OSS package. Hello Micheal and all, (this is reply targeted at the thread) In not sure about 4front compatability with -current. ALSA would require a complete rewrite to work for multiple platforms because they are intimate with the linux pci interface. IMHO, it would require a fork of their project. MIDI in FreeBSD is highly hackable. It took me only a couple of days to get midi working for an es173x, a made a small web page a few months ago, it was for 5.0-dp2 but would probably work with 5.0-R. As it is, midi can be a kld and all that is required for a particular card is basic IO. The emu10k should be easier than most because we already have code for a generic mpu401. Here are some web links, http://www.cnd.mcgill.ca/~mat/es137xmidi.html (my small es137x midi page, mostly derived from other sources) Nice references for midi hacking: from NetBSD (it's .se.netbsd because .netbsd seems to be down) http://cvsweb.se.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/midi.c http://cvsweb.se.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/midisyn.c http://cvsweb.se.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/sequencer.c http://cvsweb.se.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/pci/esa.c http://cvsweb.se.netbsd.org/cgi-bin/cvsweb.cgi/src/sys/dev/pci/emuxki.c (oops, no midi for emu on netbsd) from ALSA: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/alsa/alsa-kernel/drivers/mpu401/ http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/alsa/alsa-kernel/pci/ http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/alsa/alsa-kernel/pci/emu10k1/ After all of this, the reality is, very few people care about midi for freebsd and it has been neglected for along time. We're lucky that the work done long ago still works. --Mat -- Brain: Pinky, are you pondering what I'm pondering? Pinky: I think so Brain, but pants with horizontal stripes make me look chubby. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message