From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro / MPU401 MIDI input Date: Sat, 10 May 1997 22:12:25 +0100 Organization: None Distribution: world Message-ID: References: <97May10.150548gmt+0100 DOT 16646 AT internet01 DOT amc DOT de> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 28 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Chris Croughton writes: >Hi! At the moment it seems that there's no provision >in Allegro for MIDI input. This is rather a pity... I'm not sure that such code really belongs in Allegro: I can't imagine it being useful for anything other than a MIDI sequencer or other music editing program, which are a very specialist area... >have the MIDI and MIDI-file specifications, I can't >find anything on the MPU401 interface itself. Since I also have a lack of any decent documentation on the MPU. The code in Allegro was pieced together from looking at several other libs (notably Varmint's Audio Tools), and from a brief document that describes how to output data in UART mode: unfortunately this is useless when it comes to reading input. I do have some code that attempts to read MIDI input from an SB DSP chip or MPU401, which I wrote as part of a project at university, but the MPU part of it is completely untested and locks up my current machine. The SB portion worked fine on my old machine, but drops bytes every now and then on my new one. I'll mail you a copy if you are interested, but be warned, it's very likely not to work... -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ Beauty is a French phonetic corruption of a short cloth neck ornament.