83 virtual void setCurrentPlaybackSampleRate (
double sampleRate);
99 template <
typename floatType>
153 void enableLegacyMode (
int pitchbendRange = 2,
154 Range<
int> channelRange =
Range<
int> (1, 17));
163 void setLegacyModeChannelRange (
Range<
int> channelRange);
169 void setLegacyModePitchbendRange (
int pitchbendRange);
175 void setPressureTrackingMode (TrackingMode
modeToUse);
178 void setPitchbendTrackingMode (TrackingMode
modeToUse);
181 void setTimbreTrackingMode (TrackingMode
modeToUse);
207 double sampleRate = 0.0;
208 int minimumSubBlockSize = 32;
209 bool subBlockSubdivisionIsStrict =
false;
Holds a resizable array of primitive or copy-by-value objects.
A multi-channel buffer containing floating point audio samples.
Derive from this class to be informed about any changes in the expressive MIDI notes played by this i...
This class represents an instrument handling MPE.
This class represents the current MPE zone layout of a device capable of handling MPE.
Holds a sequence of time-stamped midi events.
Encapsulates a MIDI message.
A general-purpose range object, that simply represents any linear range with a start and end point.
#define JUCE_API
This macro is added to all JUCE public class declarations.
Derive from this class to create a basic audio generator capable of MPE.
std::unique_ptr< MPEInstrument > instrument
double getSampleRate() const noexcept
Returns the current target sample rate at which rendering is being done.