ScummVM API documentation
MT32Emu::RhythmPart Class Reference
Inheritance diagram for MT32Emu::RhythmPart:
MT32Emu::Part

Public Member Functions

 RhythmPart (Synth *synth, unsigned int usePartNum)
 
void refresh ()
 
void refreshTimbre (unsigned int timbreNum)
 
void setTimbre (TimbreParam *timbre)
 
void noteOn (unsigned int key, unsigned int velocity)
 
void noteOff (unsigned int midiKey)
 
unsigned int getAbsTimbreNum () const
 
void setPan (unsigned int midiPan)
 
void setProgram (unsigned int patchNum)
 
void polyStateChanged (PolyState oldState, PolyState newState)
 
- Public Member Functions inherited from MT32Emu::Part
 Part (Synth *synth, unsigned int usePartNum)
 
void reset ()
 
void setDataEntryMSB (unsigned char midiDataEntryMSB)
 
void setNRPN ()
 
void setRPNLSB (unsigned char midiRPNLSB)
 
void setRPNMSB (unsigned char midiRPNMSB)
 
void resetAllControllers ()
 
void allNotesOff ()
 
void allSoundOff ()
 
Bit8u getVolume () const
 
void setVolume (unsigned int midiVolume)
 
Bit8u getVolumeOverride () const
 
void setVolumeOverride (Bit8u volumeOverride)
 
Bit8u getModulation () const
 
void setModulation (unsigned int midiModulation)
 
Bit8u getExpression () const
 
void setExpression (unsigned int midiExpression)
 
Bit32s getPitchBend () const
 
void setBend (unsigned int midiBend)
 
void setHoldPedal (bool pedalval)
 
void stopPedalHold ()
 
void updatePitchBenderRange ()
 
const char * getCurrentInstr () const
 
const PolygetFirstActivePoly () const
 
unsigned int getActivePartialCount () const
 
unsigned int getActiveNonReleasingPartialCount () const
 
SynthgetSynth () const
 
const MemParams::PatchTempgetPatchTemp () const
 
void partialDeactivated (Poly *poly)
 
bool abortFirstPoly (PolyState polyState)
 
bool abortFirstPolyPreferHeld ()
 
bool abortFirstPoly ()
 

Additional Inherited Members

- Protected Member Functions inherited from MT32Emu::Part
void backupCacheToPartials (PatchCache cache[4])
 
void cacheTimbre (PatchCache cache[4], const TimbreParam *timbre)
 
void playPoly (const PatchCache cache[4], const MemParams::RhythmTemp *rhythmTemp, unsigned int midiKey, unsigned int key, unsigned int velocity)
 
void stopNote (unsigned int key)
 
const char * getName () const
 
- Protected Attributes inherited from MT32Emu::Part
Synthsynth
 
MemParams::PatchTemppatchTemp
 
char name [8]
 
char currentInstr [11]
 
Bit8u volumeOverride
 
Bit8u modulation
 
Bit8u expression
 
Bit32s pitchBend
 
bool nrpn
 
Bit16u rpn
 
Bit16u pitchBenderRange
 

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