Skip to content

Commit

Permalink
Change default rotation of 3D rotate effect to be in the Y direction
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshball committed Feb 24, 2024
1 parent 8f674b9 commit 9ab8a44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/PluginProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ OscirenderAudioProcessor::OscirenderAudioProcessor()
new EffectParameter("Rotate Z", "Controls the rotation of the object in the Z axis.", "rotateZ", VERSION_HINT, 0.0, -1.0, 1.0),
}
);
rotateEffect->getParameter("rotateZ")->lfo->setUnnormalisedValueNotifyingHost((int) LfoType::Sawtooth);
rotateEffect->getParameter("rotateY")->lfo->setUnnormalisedValueNotifyingHost((int) LfoType::Sawtooth);
rotateEffect->getParameter("rotateY")->lfoRate->setUnnormalisedValueNotifyingHost(0.2);
toggleableEffects.push_back(rotateEffect);
toggleableEffects.push_back(std::make_shared<Effect>(
[this](int index, Point input, const std::vector<double>& values, double sampleRate) {
Expand Down

0 comments on commit 9ab8a44

Please sign in to comment.