Permalink
Browse files

Better tracking of the analog oscillator (might depend on component t…

…olerance)
  • Loading branch information...
mre-ableton committed Aug 14, 2014
1 parent 45b68ef commit 15f3abc12e3f9c7a5947f98695c5f69338b86657
Showing with 2 additions and 2 deletions.
  1. +2 −2 nostromotron/SynthController.cpp
@@ -523,7 +523,7 @@ void SynthController::updatePitch()
if (noteValue >= LOWEST_HW_NOTE)
{
hwParameters_.pitch_ = uint16_t((noteValue-LOWEST_HW_NOTE)*835.666666666f+analogPitchFineTune_);
hwParameters_.pitch_ = uint16_t((noteValue-LOWEST_HW_NOTE)*844.023333333266f + analogPitchFineTune_);
hwParameters_.gate_ = enableAnalog_;
}
}
@@ -558,4 +558,4 @@ fixed SynthController::ProcessSample()
return fp_mul(value, envValue);
}

0 comments on commit 15f3abc

Please sign in to comment.