Change default rotation of 3D rotate effect to be in the Y direction

pull/218/head
James Ball 2024-02-24 09:39:05 +00:00
rodzic 8f674b99d6
commit 9ab8a44358
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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) {