80 |
|
|
81 |
class AbstractVoice : public Voice { |
class AbstractVoice : public Voice { |
82 |
public: |
public: |
83 |
type_t Type; ///< Voice Type |
type_t Type; ///< Voice Type (bit field, a voice may have several types) |
84 |
int MIDIKey; ///< MIDI key number of the key that triggered the voice |
int MIDIKey; ///< MIDI key number of the key that triggered the voice |
85 |
|
|
86 |
AbstractVoice(); |
AbstractVoice(); |
188 |
*/ |
*/ |
189 |
virtual double CalculateCrossfadeVolume(uint8_t MIDIKeyVelocity) = 0; |
virtual double CalculateCrossfadeVolume(uint8_t MIDIKeyVelocity) = 0; |
190 |
|
|
191 |
|
virtual MidiKeyBase* GetMidiKeyInfo(int MIDIKey) = 0; |
192 |
|
|
193 |
virtual int OrderNewStream() = 0; |
virtual int OrderNewStream() = 0; |
194 |
|
|
195 |
virtual PitchInfo CalculatePitchInfo(int PitchBend); |
virtual PitchInfo CalculatePitchInfo(int PitchBend); |