ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

NoteTimer Struct Reference

Provides expiration tracking for hanging notes. More...

#include <midiparser.h>

List of all members.

Public Member Functions

 NoteTimer ()

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.

Definition at line 119 of file midiparser.h.


Constructor & Destructor Documentation

NoteTimer::NoteTimer (  )  [inline]

Definition at line 123 of file midiparser.h.


Member Data Documentation

The MIDI channel on which the note was played.

Definition at line 120 of file midiparser.h.

The note number for the active note.

Definition at line 121 of file midiparser.h.

The time, in microseconds, remaining before the note should be turned off.

Definition at line 122 of file midiparser.h.


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


Generated on Sat Mar 23 2019 05:05:53 for ResidualVM by doxygen 1.7.1
curved edge   curved edge