Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
ModControllable Class Reference

#include <mod_controllable.h>

Inheritance diagram for ModControllable:

Public Member Functions

virtual bool modEncoderButtonAction (uint8_t whichModEncoder, bool on, ModelStackWithThreeMainThings *modelStack)
 
virtual void modButtonAction (uint8_t whichModButton, bool on, ParamManagerForTimeline *paramManager)
 
virtual ModelStackWithAutoParamgetParamFromModEncoder (int32_t whichModEncoder, ModelStackWithThreeMainThings *modelStack, bool allowCreation=true)
 
virtual ModelStackWithAutoParamgetParamFromMIDIKnob (MIDIKnob &knob, ModelStackWithThreeMainThings *modelStack)
 Check that autoParam isn't NULL, after calling this.
 
virtual uint8_t * getModKnobMode ()
 
virtual bool isKit ()
 
virtual bool isSong ()
 
virtual bool isEditingComp ()
 
virtual bool valueChangedEnoughToMatter (int32_t old_value, int32_t new_value, deluge::modulation::params::Kind kind, uint32_t paramID)
 
virtual int32_t getKnobPosForNonExistentParam (int32_t whichModEncoder, ModelStackWithAutoParam *modelStack)
 
virtual ActionResult modEncoderActionForNonExistentParam (int32_t offset, int32_t whichModEncoder, ModelStackWithAutoParam *modelStack)
 
virtual bool allowNoteTails (ModelStackWithSoundFlags *modelStack, bool disregardSampleLoop=false)
 
virtual void polyphonicExpressionEventOnChannelOrNote (int32_t newValue, int32_t expressionDimension, int32_t channelOrNoteNumber, MIDICharacteristic whichCharacteristic)
 
virtual void monophonicExpressionEvent (int32_t newValue, int32_t expressionDimension)
 

Protected Attributes

deluge::modulation::params::Kind unpatchedParamKind_
 

Detailed Description

Base class for things that the internal modulation engine knows how to control.

Responsible for reacting to the mod (gold) encoders and MIDI data (CC+MPE) as well as providing a consistent interface to the rest of the system when displaying information about the underlying modulation state.

Member Function Documentation

◆ getParamFromMIDIKnob()

ModelStackWithAutoParam * ModControllable::getParamFromMIDIKnob ( MIDIKnob & knob,
ModelStackWithThreeMainThings * modelStack )
virtual

Check that autoParam isn't NULL, after calling this.

Reimplemented in ModControllableAudio, and Sound.

Member Data Documentation

◆ unpatchedParamKind_

deluge::modulation::params::Kind ModControllable::unpatchedParamKind_
protected

What kind of unpatched parameters this ModControllable uses.

This should be UNPATCHED_GLOBAL for GlobalEffectable and UNPATCHED_SOUND for Sound. If a new ModControllable subclass is


The documentation for this class was generated from the following files: