83 virtual void setCurrentPlaybackSampleRate (
double sampleRate);
99 template <
typename floatType>
140 void setMinimumRenderingSubdivisionSize (
int numSamples,
bool shouldBeStrict =
false) noexcept;
153 void enableLegacyMode (
int pitchbendRange = 2,
157 bool isLegacyModeEnabled()
const noexcept;
160 Range<int> getLegacyModeChannelRange()
const noexcept;
163 void setLegacyModeChannelRange (
Range<int> channelRange);
166 int getLegacyModePitchbendRange()
const noexcept;
169 void setLegacyModePitchbendRange (
int pitchbendRange);
207 double sampleRate = 0.0;
208 int minimumSubBlockSize = 32;
209 bool subBlockSubdivisionIsStrict =
false;
#define JUCE_API
This macro is added to all JUCE public class declarations.
This class represents the current MPE zone layout of a device capable of handling MPE...
Encapsulates a MIDI message.
virtual void renderNextSubBlock(AudioBuffer< double > &, int, int)
Implement this method if you want to render 64-bit audio as well; otherwise leave blank...
std::unique_ptr< MPEInstrument > instrument
Derive from this class to be informed about any changes in the expressive MIDI notes played by this i...
A multi-channel buffer containing floating point audio samples.
TrackingMode
The MPE note tracking mode.
Holds a sequence of time-stamped midi events.
Derive from this class to create a basic audio generator capable of MPE.
double getSampleRate() const noexcept
Returns the current target sample rate at which rendering is being done.
This class represents an instrument handling MPE.