mtytel / vital

Spectral warping wavetable synth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where is setPitchWheelControl/setModWheelControl defined?

giogadi opened this issue · comments

I'm trying to put together a CMake-ified build of Vital, but I'm running into a snag in synthesis/effects_engine/sound_engine.cpp, specifically these lines:

Value* pitch_wheel = createBaseControl("pitch_wheel");
modulation_handler_->setPitchWheelControl(pitch_wheel);
Value* mod_wheel = createBaseControl("mod_wheel");
modulation_handler_->setModWheelControl(mod_wheel);

I get a compiler error here saying that setPitchWheelControl and setModWheelControl are not defined on EffectsModulationHandler. I also can't seem to find these functions defined there or in any of the parent classes. I only see setPitchWheel/setModWheel defined in VoiceHandler, but those take mono_floats, not Values.