Public Member Functions |
|
| Part (Synth *useSynth, unsigned int usePartNum) |
|
void | reset () |
|
void | setDataEntryMSB (unsigned char midiDataEntryMSB) |
|
void | setNRPN () |
|
void | setRPNLSB (unsigned char midiRPNLSB) |
|
void | setRPNMSB (unsigned char midiRPNMSB) |
|
void | resetAllControllers () |
|
virtual void | noteOn (unsigned int midiKey, unsigned int velocity) |
|
virtual void | noteOff (unsigned int midiKey) |
|
void | allNotesOff () |
|
void | allSoundOff () |
|
Bit8u | getVolume () const |
|
void | setVolume (unsigned int midiVolume) |
|
Bit8u | getModulation () const |
|
void | setModulation (unsigned int midiModulation) |
|
Bit8u | getExpression () const |
|
void | setExpression (unsigned int midiExpression) |
|
virtual void | setPan (unsigned int midiPan) |
|
Bit32s | getPitchBend () const |
|
void | setBend (unsigned int midiBend) |
|
virtual void | setProgram (unsigned int patchNum) |
|
void | setHoldPedal (bool pressed) |
|
void | stopPedalHold () |
|
void | updatePitchBenderRange () |
|
virtual void | refresh () |
|
virtual void | refreshTimbre (unsigned int absTimbreNum) |
|
virtual void | setTimbre (TimbreParam *timbre) |
|
virtual unsigned int | getAbsTimbreNum () const |
|
const char * | getCurrentInstr () const |
|
unsigned int | getActivePartialCount () const |
|
unsigned int | getActiveNonReleasingPartialCount () const |
|
const MemParams::PatchTemp * | getPatchTemp () const |
|
void | partialDeactivated (Poly *poly) |
|
bool | abortFirstPoly (PolyState polyState) |
|
bool | abortFirstPolyPreferHeld () |
|
bool | abortFirstPoly () |
|
const Poly * | getActivePoly (int num) |
|
int | getActivePolyCount () |
|
const PatchCache * | getPatchCache (int num) |
Protected Member Functions |
|
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 |
|
Synth * | synth |
|
MemParams::PatchTemp * | patchTemp |
|
char | name [8] |
|
char | currentInstr [11] |
|
Bit8u | modulation |
|
Bit8u | expression |
|
Bit32s | pitchBend |
|
bool | nrpn |
|
Bit16u | rpn |
|
Bit16u | pitchBenderRange |
Definition at line 42 of file Part.h.