From: Kevin M. <sub...@us...> - 2002-01-23 17:36:56
|
subatomic 2002/01/23 09:36:54 PST examples/midiplayer.example - Imported sources Update of /cvsroot/isugamedev/examples/midiplayer.example In directory usw-pr-cvs1:/tmp/cvs-serv4865 Log Message: Import of... // MIDI player example // // - demo by Kevin Meinert <ke...@vr...> // // - Demonstrates how to // - abstract a MIDI output interface // - control MIDI in Win32 through example Win32Midi implementation // - write a MIDI Sequencer using discrete events (synced on a MIDI clock) // - read binary data from a midi file into the Sequencer // - deal with endian issues // - use these components to make a simple MIDI file player. // // - TODO: // - Implement MIDI events for msgs other than progchange, and note // Background: The only events actually queued are program change, and // note messages other midi events cannot be ignored, and thus have dummy // events queued for them to keep the timing sane. Omission of any event // can throw off the timing of an entire piece, simply because every // event is stored as a delta in the MIDI file. // - add interface(s) for all events to the Midi classes // - correctly implement timing in sequencer based on values read from // midi file. (currently plays too fast) // Status: Vendor Tag: subatomic Release Tags: kevin meinert N examples/midiplayer.example/midiplayer.example.cpp N examples/midiplayer.example/midiplayer.example.dsw N examples/midiplayer.example/midiplayer.example.dsp N examples/midiplayer.example/midiplayer.example.mid No conflicts created by this import |