33#define STONEYVCV_VCA_HPP_INCLUDED 1
35#if defined (STONEYVCV_BUILD_VCA)
48#include <StoneyDSP/Core.hpp>
49#include <StoneyDSP/DSP.hpp>
50#include <StoneyDSP/SIMD.hpp>
261 ::rack::engine::
Param* gainParamPtr;
265 ::rack::engine::
Light* blinkLightPtr;
284 using DrawArgs = ::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPanelWidget::DrawArgs;
314 virtual void draw(const ::StoneyDSP::StoneyVCV::VCA::VCAWidget::DrawArgs &
args)
override;
332 const ::std::array<::rack::componentlibrary::ThemedScrew *, 4>
screws;
353 using DrawArgs = ::rack::app::ModuleWidget::DrawArgs;
379 virtual void draw(const ::StoneyDSP::StoneyVCV::VCA::VCAModuleWidget::DrawArgs &
args)
override;
417 ::rack::componentlibrary::RoundLargeBlackKnob *
gainKnob;
425 ::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPortWidget *
portCvInput;
431 ::StoneyDSP::StoneyVCV::ComponentLibrary::ThemedPortWidget *
portVcaInput;
442 ::rack::componentlibrary::MediumLight<::rack::componentlibrary::RedLight> *
lightVca;
StoneyDSP Modules for VCV Rack 2.
StoneyDSP Modules for VCV Rack 2.
::rack::plugin::Model * createModelVCA(::std::string name="", ::std::string description="", ::std::string manualUrl="", bool hidden=true) noexcept(false)
The StoneyDSP namespace.
Definition StoneyVCV.hpp:58
StoneyDSP Modules for VCV Rack 2.
Definition StoneyVCV.hpp:105
Engine()
Definition StoneyVCV.hpp:113
The VCAEngine struct.
Definition VCA.hpp:95
T lastGain
Definition VCA.hpp:136
void setGain(const T &newGain)
void processSampleSimd(::StoneyDSP::SIMD::float_4 *v)
void processSample(T *sample) override
T gain
Definition VCA.hpp:130
The VCAModule struct.
Definition VCA.hpp:149
virtual ~VCAModule() noexcept
Destroy the VCAModule object.
::rack::engine::Module::ProcessArgs ProcessArgs
Definition VCA.hpp:207
IdxLights
Definition VCA.hpp:173
@ BLINK_LIGHT
Definition VCA.hpp:174
IdxParams
Definition VCA.hpp:157
@ GAIN_PARAM
Definition VCA.hpp:158
IdxInputs
Definition VCA.hpp:162
@ VCA_INPUT
Definition VCA.hpp:163
@ CV_INPUT
Definition VCA.hpp:164
VCAModule()
Construct a new VCAModule object.
IdxOutputs
Definition VCA.hpp:168
@ VCA_OUTPUT
Definition VCA.hpp:169