|
Receiving Time-Stamped MIDI Messages
Because of the delay between when the device driver receives a MIDI message
and the time the application receives the message, MIDI input device drivers time
stamp the MIDI message with the time that the message was received. MIDI time
stamps, which are defined as the time the first byte of the message was
received, are specified in milliseconds. The midiInStart function resets the time stamps for a device to zero.
As stated previously, to receive time stamps with MIDI input, you must use a
callback function. The dwParam2 parameter of the callback function specifies the time stamp for data
associated with the MIM_DATA and MIM_LONGDATA messages.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|