We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bab148c commit 1edead1Copy full SHA for 1edead1
plugins/Cardinal/src/AudioToCVPitch.cpp
@@ -120,7 +120,7 @@ struct AudioToCVPitch : Module {
120
121
if (detectedPitchInHz > 0.f && pitchConfidence >= params[PARAM_CONFIDENCETHRESHOLD].getValue() * 0.01f)
122
{
123
- const float linearPitch = 12.f * (log2f(detectedPitchInHz / 440.f) + octave - 6) + 69.f;
+ const float linearPitch = 12.f * (log2f(detectedPitchInHz / 440.f) + octave - 5) + 69.f;
124
cvPitch = std::max(-10.f, std::min(10.f, linearPitch * (1.f/12.f)));
125
lastKnownPitchInHz = detectedPitchInHz;
126
cvSignal = 10.f;
0 commit comments