Mail Archives: djgpp/1997/05/10/21:46:44
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.
- Raw text -