|
|
@@ -20,8 +20,8 @@ public: |
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool appliesToNote (const int midiNoteNumber) { return true; }
|
|
|
|
bool appliesToChannel (const int midiChannel) { return true; }
|
|
|
|
bool appliesToNote (const int /*midiNoteNumber*/) { return true; }
|
|
|
|
bool appliesToChannel (const int /*midiChannel*/) { return true; }
|
|
|
|
};
|
|
|
|
|
|
|
|
//==============================================================================
|
|
|
@@ -41,7 +41,7 @@ public: |
|
|
|
}
|
|
|
|
|
|
|
|
void startNote (const int midiNoteNumber, const float velocity,
|
|
|
|
SynthesiserSound* sound, const int currentPitchWheelPosition)
|
|
|
|
SynthesiserSound* /*sound*/, const int /*currentPitchWheelPosition*/)
|
|
|
|
{
|
|
|
|
currentAngle = 0.0;
|
|
|
|
level = velocity * 0.15;
|
|
|
@@ -73,12 +73,12 @@ public: |
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void pitchWheelMoved (const int newValue)
|
|
|
|
void pitchWheelMoved (const int /*newValue*/)
|
|
|
|
{
|
|
|
|
// can't be bothered implementing this for the demo!
|
|
|
|
}
|
|
|
|
|
|
|
|
void controllerMoved (const int controllerNumber, const int newValue)
|
|
|
|
void controllerMoved (const int /*controllerNumber*/, const int /*newValue*/)
|
|
|
|
{
|
|
|
|
// not interested in controllers in this case.
|
|
|
|
}
|
|
|
@@ -206,7 +206,7 @@ const String JuceDemoPluginAudioProcessor::getParameterText (int index) |
|
|
|
}
|
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|
void JuceDemoPluginAudioProcessor::prepareToPlay (double sampleRate, int samplesPerBlock)
|
|
|
|
void JuceDemoPluginAudioProcessor::prepareToPlay (double sampleRate, int /*samplesPerBlock*/)
|
|
|
|
{
|
|
|
|
// Use this method as the place to do any pre-playback
|
|
|
|
// initialisation that you need..
|
|
|
@@ -336,12 +336,12 @@ const String JuceDemoPluginAudioProcessor::getOutputChannelName (const int chann |
|
|
|
return String (channelIndex + 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool JuceDemoPluginAudioProcessor::isInputChannelStereoPair (int index) const
|
|
|
|
bool JuceDemoPluginAudioProcessor::isInputChannelStereoPair (int /*index*/) const
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool JuceDemoPluginAudioProcessor::isOutputChannelStereoPair (int index) const
|
|
|
|
bool JuceDemoPluginAudioProcessor::isOutputChannelStereoPair (int /*index*/) const
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|