ScummVM API documentation
NoteTimer Struct Reference

#include <midiparser.h>

Public Attributes

byte channel
 The MIDI channel on which the note was played.
 
byte note
 The note number for the active note.
 
uint32 timeLeft
 The time, in microseconds, remaining before the note should be turned off.
 

Detailed Description

Provides expiration tracking for hanging notes. Hanging notes are used when a MIDI format does not include explicit Note Off events, or when "Smart Jump" is enabled so that active notes are intelligently expired when a jump occurs. The NoteTimer struct keeps track of how much longer a note should remain active before being turned off.


The documentation for this struct was generated from the following file: