From owner-freebsd-current@FreeBSD.ORG Tue May 20 08:24:58 2003 Return-Path: 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 5113F37B401 for ; Tue, 20 May 2003 08:24:58 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00AE743FAF for ; Tue, 20 May 2003 08:24:57 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38ldvdp.dialup.mindspring.com ([209.86.253.185] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19I8z0-0006AT-00; Tue, 20 May 2003 08:24:55 -0700 Message-ID: <3ECA4878.8B53EEEF@mindspring.com> Date: Tue, 20 May 2003 08:23:36 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: jimd@siu.edu References: <200305200608.h4K68lFC008187@freebsd2.localnet10> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a42aa26d8af39d663a10489f0826e1e21da8438e0f32a48e08350badd9bab72f9c350badd9bab72f9c cc: freebsd-current@freebsd.org Subject: Re: MIDI on SB Live! ? (fwd) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 15:24:58 -0000 jimd@siu.edu wrote: > The "midi connector" is connected to the Amiga via its serial port. The > Creative "midi cable" is plugged into the Creative soundcard (MIDI/"game" > port) and one of the MIDI OUT ports on the "midi connector", which has been > verified as receiving valid MIDI data as it also drives one of my MIDI > keyboards. I have an Amiga 1000 with one of these cables. I've used it with a Sun SPARCStation 1+ before. 8-). > So where does the 'PC UART' come into play since the MIDI connection doesn't > go to the FreeBSD motherboard? Are you saying the the Creative Soundblaster > Live! soundcard has a UART that is unable to properly handle/adjust to MIDI > data streams? Perhaps you thought that I was connecting the "midi connector" > to the FreeBSD system's serial port? Sorry. Yes, that's what I thought you were suggesting doing: taking the Amiga voltage converter cable that relies on the host UART running the serial port at the MIDI baud rate, and connecting it to the PC serial port, under the mistaken idea that you'd be able to set the baud rate on a 16550-type UART to the MIDI baud rate. If you are running it out the Creative cable hooked to the Joystick port, well, essentially you just need a serial driver, since it's already clocked at 31,250 baud. > I don't know about "av differential voltage converter" with respect to the > Creative Labs "midi cable" as it has MIDI DIN jacks on one end and a DB15 > jack on the other. I was referring to your Amiga cable, which converts from +/- 11 volts for RS232-C to -5 to 15. If you are going to roll your own for a PC, you end up having to use a microcontroller of some kind to deal with the buffering for the baud rate differential; here is a good site: http://www.maxmidi.com/diy/serial/ And here's the main page: http://www.maxmidi.com/ It's a site put together by the author of "Maximum MIDI", which is a book I recommend; it has a full toolkit of MIDI software, which was written in C and C++. Probably a useful resource for your intended project... -- Terry