Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
ExpressionParamSet Class Referencefinal
Inheritance diagram for ExpressionParamSet:
Collaboration diagram for ExpressionParamSet:

Public Member Functions

 ExpressionParamSet (ParamCollectionSummary *summary, bool forDrum=false)
 
void beenCloned (bool copyAutomation, int32_t reverseDirectionWithLength) override
 
void notifyParamModifiedInSomeWay (ModelStackWithAutoParam const *modelStack, int32_t oldValue, bool automationChanged, bool automatedBefore, bool automatedNow) override
 
bool mayParamInterpolate (int32_t paramId) override
 
int32_t knobPosToParamValue (int32_t knobPos, ModelStackWithAutoParam *modelStack) override
 
int32_t paramValueToKnobPos (int32_t paramValue, ModelStackWithAutoParam *modelStack) override
 
bool writeToFile (Serializer &writer, bool mustWriteOpeningTagEndFirst=false)
 
void readFromFile (Deserializer &reader, ParamCollectionSummary *summary, int32_t readAutomationUpToPos)
 
void moveRegionHorizontally (ModelStackWithParamCollection *modelStack, int32_t pos, int32_t length, int32_t offset, int32_t lengthBeforeLoop, Action *action)
 
void clearValues (ModelStackWithParamCollection const *modelStack)
 
void cancelAllOverriding ()
 
void deleteAllAutomation (Action *action, ModelStackWithParamCollection *modelStack) override
 
deluge::modulation::params::Kind getParamKind () override
 
- Public Member Functions inherited from ParamSet
 ParamSet (int32_t newObjectSize, ParamCollectionSummary *summary)
 
int32_t getValue (int32_t p)
 
int32_t getValueAtPos (int32_t p, uint32_t pos, TimelineCounter *playPositionCounter)
 
void processCurrentPos (ModelStackWithParamCollection *modelStack, int32_t ticksSkipped, bool reversed, bool didPingpong, bool mayInterpolate) final
 
void writeParamAsAttribute (Serializer &writer, char const *name, int32_t p, bool writeAutomation, bool onlyIfContainsSomething=false, int32_t *valuesForOverride=nullptr)
 
void readParam (Deserializer &reader, ParamCollectionSummary *summary, int32_t p, int32_t readAutomationUpToPos)
 
void tickSamples (int32_t numSamples, ModelStackWithParamCollection *modelStack) final
 tick interpolation by a number of ticks
 
void tickTicks (int32_t numTicks, ModelStackWithParamCollection *modelStack) final
 tick interpolation by a number of ticks
 
void setPlayPos (uint32_t pos, ModelStackWithParamCollection *modelStack, bool reversed) final
 
void playbackHasEnded (ModelStackWithParamCollection *modelStack) final
 
void grabValuesFromPos (uint32_t pos, ModelStackWithParamCollection *modelStack) final
 
void generateRepeats (ModelStackWithParamCollection *modelStack, uint32_t oldLength, uint32_t newLength, bool shouldPingpong) final
 
void appendParamCollection (ModelStackWithParamCollection *modelStack, ModelStackWithParamCollection *otherModelStack, int32_t oldLength, int32_t reverseThisRepeatWithLength, bool pingpongingGenerally) final
 
void beenCloned (bool copyAutomation, int32_t reverseDirectionWithLength) override
 
void cloneFrom (ParamCollection *otherParamSet, bool copyAutomation)
 
void copyOverridingFrom (ParamSet *otherParamSet)
 
void trimToLength (uint32_t newLength, ModelStackWithParamCollection *modelStack, Action *action, bool maySetupPatching) final
 
void nudgeNonInterpolatingNodesAtPos (int32_t pos, int32_t offset, int32_t lengthBeforeLoop, Action *action, ModelStackWithParamCollection *modelStack) final
 
void paramHasAutomationNow (ParamCollectionSummary *summary, int32_t p)
 
void paramHasNoAutomationNow (ModelStackWithParamCollection const *modelStack, int32_t p)
 
void shiftParamValues (int32_t p, int32_t offset)
 
void shiftParamVolumeByDB (int32_t p, float offset)
 
void shiftHorizontally (ModelStackWithParamCollection *modelStack, int32_t amount, int32_t effectiveLength) final
 
void deleteAllAutomation (Action *action, ModelStackWithParamCollection *modelStack) override
 
void deleteAutomationForParamBasicForSetup (ModelStackWithParamCollection *modelStack, int32_t p)
 
void insertTime (ModelStackWithParamCollection *modelStack, int32_t pos, int32_t lengthToInsert)
 
void deleteTime (ModelStackWithParamCollection *modelStack, int32_t startPos, int32_t lengthToDelete)
 
void backUpAllAutomatedParamsToAction (Action *action, ModelStackWithParamCollection *modelStack)
 
void notifyPingpongOccurred (ModelStackWithParamCollection *modelStack) final
 
void remotelySwapParamState (AutoParamState *state, ModelStackWithParamId *modelStack) final
 
int32_t getNumParams ()
 
ModelStackWithAutoParamgetAutoParamFromId (ModelStackWithParamId *modelStack, bool allowCreation=true) final
 
void notifyParamModifiedInSomeWay (ModelStackWithAutoParam const *modelStack, int32_t oldValue, bool automationChanged, bool automatedBefore, bool automatedNow) override
 
- Public Member Functions inherited from ParamCollection
 ParamCollection (int32_t newObjectSize, ParamCollectionSummary *summary)
 
virtual bool shouldParamIndicateMiddleValue (ModelStackWithParamId const *modelStack)
 
virtual bool doesParamIdAllowAutomation (ModelStackWithParamId const *modelStack)
 

Public Attributes

uint8_t bendRanges [2]
 
- Public Attributes inherited from ParamSet
AutoParamparams
 
uint8_t topUintToRepParams
 
- Public Attributes inherited from ParamCollection
const int32_t objectSize
 
int32_t ticksTilNextEvent
 

Private Attributes

std::array< AutoParam, kNumExpressionDimensions > params_
 

Additional Inherited Members

- Protected Attributes inherited from ParamSet
int32_t numParams_
 Number of parameters in the params array.
 

Member Function Documentation

◆ beenCloned()

void ExpressionParamSet::beenCloned ( bool copyAutomation,
int32_t reverseDirectionWithLength )
overridevirtual

Implements ParamCollection.

◆ deleteAllAutomation()

void ExpressionParamSet::deleteAllAutomation ( Action * action,
ModelStackWithParamCollection * modelStack )
overridevirtual

Implements ParamCollection.

◆ getParamKind()

deluge::modulation::params::Kind ExpressionParamSet::getParamKind ( )
inlineoverridevirtual

Implements ParamCollection.

◆ knobPosToParamValue()

int32_t ExpressionParamSet::knobPosToParamValue ( int32_t knobPos,
ModelStackWithAutoParam * modelStack )
overridevirtual

mono expression only - used just for knobs in midi clips currently. If mpe expression ever gets modified to call this, the expression set needs to be made MPE aware to treat Y_SLIDE_TIMBRE as bipolar

Reimplemented from ParamCollection.

◆ mayParamInterpolate()

bool ExpressionParamSet::mayParamInterpolate ( int32_t paramId)
inlineoverridevirtual

Reimplemented from ParamCollection.

◆ notifyParamModifiedInSomeWay()

void ExpressionParamSet::notifyParamModifiedInSomeWay ( ModelStackWithAutoParam const * modelStack,
int32_t oldValue,
bool automationChanged,
bool automatedBefore,
bool automatedNow )
overridevirtual

Reimplemented from ParamCollection.

◆ paramValueToKnobPos()

int32_t ExpressionParamSet::paramValueToKnobPos ( int32_t paramValue,
ModelStackWithAutoParam * modelStack )
overridevirtual

mono expression only - used just for knobs in midi clips currently. If mpe expression ever gets modified to call this, the expression set needs to be made MPE aware to treat Y_SLIDE_TIMBRE as bipolar

Reimplemented from ParamCollection.


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