Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LostRobotMusic committed Jul 29, 2019
1 parent 2af226c commit 43e026b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/Microwave/Microwave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5699,9 +5699,9 @@ void mSynth::nextStringSample(sampleFrame &outputSample, std::vector<float> (&m_


// Takes input of original Hz and the number of cents to m_detune it by, and returns the detuned result in Hz.
inline float mSynth::detuneWithCents(float pitchValue, float m_detuneValue)
inline float mSynth::detuneWithCents(float pitchValue, float detuneValue)
{
return pitchValue * std::exp2(m_detuneValue / 1200.f);
return pitchValue * std::exp2(detuneValue / 1200.f);
}


Expand Down

0 comments on commit 43e026b

Please sign in to comment.