Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!isc-br!hawk!wddami!wayned From: wayned@wddami.spoami.com (Wayne Diener) Newsgroups: comp.sys.amiga Subject: Re: RS-232 & MIDI Interface Message-ID: Date: 17 Sep 90 22:41:12 GMT References: <49417@olivea.atc.olivetti.com> <1990Sep17.223404.15640@agora.uucp> Sender: uueagle@hawk.isc-br.com (Eagle Proj UUCP login) Lines: 38 >In article <1990Sep17.223404.15640@agora.uucp> billsey@agora.uucp (Bill Seymour) writes: >In article <49417@olivea.atc.olivetti.com> borzieri@king.ICO.Olivetti.Com (Ivan Borzieri) writes: >:Hi, >: >:I tried to write a little basic prog which reads from the RS-232 data coming >:from my keyboard through a MIDI interface. >: >:I tried to set the RS-232 at 9600,N,7,1 and something was read. >:I then tried to set it at 19200,N,7,1 and something else was read ! (then >:I got a crash) >: >:How is that possible ? > > MIDI only works at one baud rate, 31250 baud. You will need to read >the data at that rate in order to get correct data. A MIDI interface doesn't >buffer the data, it just isolates the data between the computer and all the >MIDI instruments. > Try setting your software to use the serial port at the 31250 rate, >that should work for you. > >: Ivan Borzieri > >-- > -Bill Seymour ...tektronix!reed!percival!agora!billsey Not only that, but the MIDI signalling is done via a 20 MA current loop. You have to convert RS-232 <---> MIDI ... both ways. For software support get ahold of midi.library (available on lots of BBS's). Yes, it's even useable with BASIC (although if you insist on BASIC, at least use a compiled version. AmigaBasic is just too slow to take in all the MIDI data.) -- |---------------------------------------------------------------| | // Wayne D. Diener | | // Spokane, WA | | \\ // E-mail reply to: | | \X/ To: isc-br!hawk!wddami!wayned@uunet.uu.net |