Skip to content

Commit aaef884

Browse files
author
tlr
committed
'.
1 parent b66e9d7 commit aaef884

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/PluginProcessor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ bool RipplerXAudioProcessor::isBusesLayoutSupported (const BusesLayout& layouts)
377377
}
378378
#endif
379379

380-
int RipplerXAudioProcessor::stealVoice(int note) {
380+
int RipplerXAudioProcessor::pickVoice(int note) {
381381
int pick = 0;
382382

383383
for (int i = 1; i < polyphony; ++i) {
@@ -405,7 +405,7 @@ void RipplerXAudioProcessor::onNote(MIDIMsg msg)
405405
{
406406
auto srate = getSampleRate();
407407

408-
int nvoice = stealVoice(msg.note);
408+
int nvoice = pickVoice(msg.note);
409409
Voice& voice = *voices[nvoice];
410410

411411
auto mallet_type = (MalletType)params.getRawParameterValue("mallet_type")->load();

src/PluginProcessor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class RipplerXAudioProcessor : public juce::AudioProcessor, public juce::AudioP
7979
bool isBusesLayoutSupported (const BusesLayout& layouts) const override;
8080
#endif
8181

82-
int stealVoice (int note);
82+
int pickVoice (int note);
8383
void onNote (MIDIMsg msg);
8484
void offNote (MIDIMsg msg);
8585
void onSlider ();

0 commit comments

Comments
 (0)