Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!hp4nl!ahds!geert From: geert@ahds.ahold.nl (Geert W.T. Jonkheer CCS/TS) Newsgroups: comp.sys.atari.st.tech Subject: Re: RECORDING MIDI DATA ON THE ATARI ST (while allowing mouse movement) Message-ID: <2000@ahds.ahold.nl> Date: 7 Jun 91 08:03:42 GMT References: <5133@ryn.mro4.dec.com> Organization: Ahold NV, Zaandam, Netherlands, EEC Lines: 39 In article <5133@ryn.mro4.dec.com>, miskinis@aidev.enet.dec.com (John Miskinis) writes: > Has anyone come up with a mechanism to record MIDI data at high speeds, > and allow mouse movement/operation? I'm getting all the data, and > timestamping it OK, but I will always get corrupted data when I start > moving the mouse. I bring this up again and again, in the hope that > someone new to the conference will see it and post a routine that solves > this problem. I know it can be done, as the best sequencers for the ST > appear to do it perfectly... > I use a drum machine, at maximum tempo, playing a loop of a complex > pattern for testing, and move the mouse in slow circles. It seems to > generate a MIDI overrun about every ten seconds or so, on an > intermittent basis. > A shot in the dark from someone who want's to provide the world's > musicians with a software system that make the Atari ST shine, > > _John_ It seems to me that I am not the only one who is waiting for this answer. I have seen such a posting a few times. I think the only remedy to solve the problem is to rewrite the mouse handling routine, so that it works a lot faster. Unfortunately, I have no information of what the mouse handling routine must do, so that I can't rewrite this routine. John, I hope that you are using an interrupt routine for your music program, and that it's written in assembly. When it's not written in assembly, you must try it, it gives less more MIDI overruns. Also, the shorter the interrupt routine to handle the midi input, the less errors. As written in several atari docs, your interrupt routine must take less than 1 mS. I hope that someone out there has written a midi routine that works with the mouse. Hope to hear from it. Geert. ===================================================================== ============= G E E R T W . T . J O N K H E E R . ================ ======= A H O L D N . V . T H E N E T H E R L A N D S ======= ==================== geert@ccsds.ahold.nl ===========================