Mail Archives: djgpp/1997/03/10/13:29:15
In article <jTh7zbAT59IzEwAm AT talula DOT demon DOT co DOT uk>, Shawn Hargreaves
<Shawn AT talula DOT demon DOT co DOT uk> writes
>David Jenkins writes:
>>Is it possible to detect when a certain sound is played in a midi file??
>>
>>I want to have the music in my demo affect something on the screen.
>>Like make the background flash whever the drum is hit.
>
>This can't be done with the standard API, but it's a simple modification
>to the MIDI player. Edit midi.c, go to line 387 (the start of the
>midi_note_on() function), and do whatever you have to...
Any chance you could add this to Allegro 2.3???
I don't think I could handle it myself ;-)
--
http://www.jenkinsdavid.demo.co.uk for Newbie C programers and a larf. ;-)
David Jenkins
- Raw text -