@@ -82,7 +82,7 @@ protected: | |||||
useVelocityFilter : 1, | useVelocityFilter : 1, | ||||
usePitchWeelFilter : 1; | usePitchWeelFilter : 1; | ||||
BitArray channels; | |||||
BigInteger channels; | |||||
int noteMin, noteMax; | int noteMin, noteMax; | ||||
int velocityMin, velocityMax; | int velocityMin, velocityMax; | ||||
int pitchMin, pitchMax; | int pitchMin, pitchMax; | ||||
@@ -50,7 +50,7 @@ DrumSynthPlugin::DrumSynthPlugin() | |||||
setNumParameters (TOTAL_PARAMETERS); | setNumParameters (TOTAL_PARAMETERS); | ||||
// add a wave sound, which will get applied to some of the notes.. | // add a wave sound, which will get applied to some of the notes.. | ||||
BitArray drumNotes; | |||||
BigInteger drumNotes; | |||||
for (int noteNumber = 0; noteNumber < TOTAL_DRUM_NOTES; noteNumber++) | for (int noteNumber = 0; noteNumber < TOTAL_DRUM_NOTES; noteNumber++) | ||||
{ | { | ||||
drumNotes.setBit (START_DRUM_NOTES_OFFSET + noteNumber); | drumNotes.setBit (START_DRUM_NOTES_OFFSET + noteNumber); | ||||
@@ -54,7 +54,7 @@ class DrumSynthSound : public SynthesiserSound | |||||
{ | { | ||||
public: | public: | ||||
DrumSynthSound (const BitArray& midiNotes_) | |||||
DrumSynthSound (const BigInteger& midiNotes_) | |||||
: midiNotes (midiNotes_) | : midiNotes (midiNotes_) | ||||
{ | { | ||||
} | } | ||||
@@ -72,7 +72,7 @@ public: | |||||
private: | private: | ||||
// this will contain the notes that this sound is attached to. | // this will contain the notes that this sound is attached to. | ||||
BitArray midiNotes; | |||||
BigInteger midiNotes; | |||||
}; | }; | ||||