Path: utzoo!attcan!uunet!snorkelwacker!apple!bionet!uwm.edu!ogicse!intelhf!agora!billsey From: billsey@agora.uucp (Bill Seymour) Newsgroups: comp.sys.amiga Subject: Re: RS-232 & MIDI Interface Message-ID: <1990Sep17.223404.15640@agora.uucp> Date: 17 Sep 90 22:34:04 GMT References: <49417@olivea.atc.olivetti.com> Organization: Open Communication Forum Lines: 35 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 ? : :I read that MIDI standard allows instruments to output data at a maximum of :31000 bauds. It means, I think, that if the RS-232 works at a maximum speed :of 19200, the MIDI device works as a buffer ! : :Does anyone know HOW I SHOULD SET RS-232 TO GET THE RIGHT DATA ? :Is it possible to write a simple program to catch dump data in basic or I :should use C ? 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 ============================================================================= Bejed, Inc. NES, Inc. Northwest Amiga Group At Home Sometimes (503) 281-8153 (503) 246-9311 (503) 656-7393 BBS (503) 640-0842