wavelength 1.0.0
Loading...
Searching...
No Matches
Muse::NoteCB Class Referenceabstract

Receiver of each note a muse starts. More...

#include <muse.h>

Inheritance diagram for Muse::NoteCB:

Public Member Functions

virtual ~NoteCB ()
 Release the receiver.
virtual void OnNote (unsigned char nNote, int nDuration)=0
 Receive a note as it starts.

Detailed Description

Receiver of each note a muse starts.

The RTTI includes the nested name. The class has no data member, and its destructor is inline.

Constructor & Destructor Documentation

◆ ~NoteCB()

virtual Muse::NoteCB::~NoteCB ( )
inlinevirtual

Release the receiver.

Ghidra address:
NTSC-U/C: 0x0034ad30
Ghidra address:
PAL: 0x003b8160

Member Function Documentation

◆ OnNote()

virtual void Muse::NoteCB::OnNote ( unsigned char nNote,
int nDuration )
pure virtual

Receive a note as it starts.

Parameters
nNoteThe MIDI note number.
nDurationThe length of the note in ticks.

Implemented in AxeContour::AxeNoteCB, CatchTrackMusic, and Scratcher::ScratchNoteCB.


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