mtytel / vital

Spectral warping wavetable synth
GNU General Public License v3.0
1.55k stars 152 forks source link

Where is setPitchWheelControl/setModWheelControl defined? #40

Open giogadi opened 1 year ago

giogadi commented 1 year ago

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.