Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site peora.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!hjuxa!petsd!peora!jer From: jer@peora.UUCP (J. Eric Roskos) Newsgroups: net.music.synth Subject: Re: MIDI <-> RS232? Message-ID: <2062@peora.UUCP> Date: Mon, 31-Mar-86 09:42:36 EST Article-I.D.: peora.2062 Posted: Mon Mar 31 09:42:36 1986 Date-Received: Wed, 2-Apr-86 02:08:16 EST References: <1885@hammer.UUCP> <836@well.UUCP> Distribution: net.music.synth Organization: Concurrent Computer Corporation, Orlando, Fl Lines: 48 > Right, Andrew - going from 9600 bps of your Epson to the 31.2K bps of MIDI > will require some hefty, and preferably "intelligent" buffering. ... most > knowledgable MIDI users and developers I've discussed RS-232 <==> MIDI > with are quite disparaging. I think that's due to a touch of laziness > (and the fact that anyone using MIDI professionally and heavily gets a > dedicated MIDI port). As I mentioned briefly back when I wrote my series of postings on the MIDI interface for the Macintosh, back before I bought DMCS, I had built an RS-232 to MIDI interface. The reason I haven't yet posted the diagrams for it is that I used a single-board computer that seems not to be manufacutured any more, so for it to be useful you'd have to put together your own, though I think it should be possible to do it with just a 6801, an EPROM, a small external RAM, and the RS-232 line drivers. (I also used a PIA to generate the MIDI signals, but you should be able to do that with the parallel output lines on the 6801 since only 2 are required.) However, other than the software (which requires precise timing loops), it is very *easy* to build such an interface, and furthermore it works well. I have heard suggestions that the slower baud rate of the RS-232 port might cause delays that might affect the sound; however, I've found this wasn't the case -- if you think about it, it is almost impossible to press a set of keys at exactly the same time anyway, so it could be argued that the delays, if they were audible, would add more "realism". It doesn't require any particularly intelligent buffering, though; I used a simple 512-byte circular buffer. Coming out of the computer, the rate of character transmission is limited by the RS232 port, so you can't overrun your MIDI port. Going the other way, you rarely have incoming data at anywhere near a rate that would overrun 9600 baud for a sustained time due to the fact that the human performer can't move that fast... you might be able to do it by moving the "pitch bend" control continuously for a long time, though. So my point is, if you are thinking about building such a device, don't be discouraged by "disparaging" comments about the performance. It works fine. [I do apologise to the people who wrote and wanted a copy of the diagrams for it... I tried to find the manufacturer of the single board computer, but so far have been unsuccessful -- it was made by a group of EE grad students who had a small company; they advertised in Byte a couple of times -- I'm still planning to do a general block diagram of it, along with posting the software, however. I've also thought about doing a Byte article on it, which would probably be a better approach given the need for drawings, etc.] -- E. Roskos