Deluge Firmware
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MIDIParamCollection Class Referencefinal

#include <MIDIParamCollection.h>

Inheritance diagram for MIDIParamCollection:
Inheritance graph
Collaboration diagram for MIDIParamCollection:
Collaboration graph

Public Member Functions

 MIDIParamCollection (ParamCollectionSummary *summary)
 
virtual ~MIDIParamCollection ()
 
void tickSamples (int numSamples, ModelStackWithParamCollection *modelStack)
 
void setPlayPos (uint32_t pos, ModelStackWithParamCollection *modelStack, bool reversed)
 
void playbackHasEnded (ModelStackWithParamCollection *modelStack)
 
void generateRepeats (ModelStackWithParamCollection *modelStack, uint32_t oldLength, uint32_t newLength, bool shouldPingpong)
 
void appendParamCollection (ModelStackWithParamCollection *modelStack, ModelStackWithParamCollection *otherModelStack, int32_t oldLength, int32_t reverseThisRepeatWithLength, bool pingpongingGenerally)
 
void trimToLength (uint32_t newLength, ModelStackWithParamCollection *modelStack, Action *action, bool maySetupPatching)
 
void shiftHorizontally (ModelStackWithParamCollection *modelStack, int32_t amount, int32_t effectiveLength)
 
void processCurrentPos (ModelStackWithParamCollection *modelStack, int ticksSkipped, bool reversed, bool didPingpong, bool mayInterpolate)
 
void remotelySwapParamState (AutoParamState *state, ModelStackWithParamId *modelStack)
 
void deleteAllAutomation (Action *action, ModelStackWithParamCollection *modelStack)
 
int makeInterpolatedCCsGoodAgain (int32_t clipLength)
 
void grabValuesFromPos (uint32_t pos, ModelStackWithParamCollection *modelStack)
 
void nudgeNonInterpolatingNodesAtPos (int32_t pos, int offset, int32_t lengthBeforeLoop, Action *action, ModelStackWithParamCollection *modelStack)
 
ModelStackWithAutoParamgetAutoParamFromId (ModelStackWithParamId *modelStack, bool allowCreation=true)
 
void cloneFrom (ParamCollection *otherParamSet, bool copyAutomation)
 
void beenCloned (bool copyAutomation, int32_t reverseDirectionWithLength)
 
void sendMIDI (int channel, int cc, int32_t newValue, int midiOutputFilter)
 
void notifyParamModifiedInSomeWay (ModelStackWithAutoParam const *modelStack, int32_t oldValue, bool automationChanged, bool automatedBefore, bool automatedNow)
 
bool mayParamInterpolate (int paramId)
 
int32_t knobPosToParamValue (int knobPos, ModelStackWithAutoParam *modelStack)
 
void notifyPingpongOccurred (ModelStackWithParamCollection *modelStack)
 
void writeToFile ()
 
int moveAutomationToDifferentCC (int oldCC, int newCC, ModelStackWithParamCollection *modelStack)
 
- Public Member Functions inherited from ParamCollection
 ParamCollection (int newObjectSize, ParamCollectionSummary *summary)
 
virtual ~ParamCollection ()
 
virtual void beenCloned (bool copyAutomation, int32_t reverseDirectionWithLength=0)=0
 
virtual void tickSamples (int numSamples, ModelStackWithParamCollection *modelStack)=0
 
virtual void setPlayPos (uint32_t pos, ModelStackWithParamCollection *modelStack, bool reversed)
 
virtual void playbackHasEnded (ModelStackWithParamCollection *modelStack)=0
 
virtual void grabValuesFromPos (uint32_t pos, ModelStackWithParamCollection *modelStack)=0
 
virtual void generateRepeats (ModelStackWithParamCollection *modelStack, uint32_t oldLength, uint32_t newLength, bool shouldPingpong)=0
 
virtual void appendParamCollection (ModelStackWithParamCollection *modelStack, ModelStackWithParamCollection *otherModelStack, int32_t oldLength, int32_t reverseThisRepeatWithLength, bool pingpongingGenerally)=0
 
virtual void trimToLength (uint32_t newLength, ModelStackWithParamCollection *modelStack, Action *action, bool maySetupPatching)=0
 
virtual void shiftHorizontally (ModelStackWithParamCollection *modelStack, int32_t amount, int32_t effectiveLength)=0
 
virtual void processCurrentPos (ModelStackWithParamCollection *modelStack, int ticksSinceLast, bool reversed, bool didPingpong, bool mayInterpolate)=0
 
virtual void remotelySwapParamState (AutoParamState *state, ModelStackWithParamId *modelStack)=0
 
virtual void deleteAllAutomation (Action *action, ModelStackWithParamCollection *modelStack)=0
 
virtual void nudgeNonInterpolatingNodesAtPos (int32_t pos, int offset, int32_t lengthBeforeLoop, Action *action, ModelStackWithParamCollection *modelStack)=0
 
virtual void notifyParamModifiedInSomeWay (ModelStackWithAutoParam const *modelStack, int32_t oldValue, bool automationChanged, bool automatedBefore, bool automatedNow)
 
virtual ModelStackWithAutoParamgetAutoParamFromId (ModelStackWithParamId *modelStack, bool allowCreation=false)=0
 
virtual bool mayParamInterpolate (int paramId)
 
virtual bool shouldParamIndicateMiddleValue (ModelStackWithParamId const *modelStack)
 
virtual bool doesParamIdAllowAutomation (ModelStackWithParamId const *modelStack)
 
virtual int paramValueToKnobPos (int32_t paramValue, ModelStackWithAutoParam *modelStack)
 
virtual int32_t knobPosToParamValue (int knobPos, ModelStackWithAutoParam *modelStack)
 
virtual void notifyPingpongOccurred (ModelStackWithParamCollection *modelStack)
 

Public Attributes

MIDIParamVector params
 
- Public Attributes inherited from ParamCollection
const int objectSize
 
int32_t ticksTilNextEvent
 

Constructor & Destructor Documentation

◆ MIDIParamCollection()

MIDIParamCollection::MIDIParamCollection ( ParamCollectionSummary summary)

◆ ~MIDIParamCollection()

MIDIParamCollection::~MIDIParamCollection ( )
virtual

Member Function Documentation

◆ appendParamCollection()

void MIDIParamCollection::appendParamCollection ( ModelStackWithParamCollection modelStack,
ModelStackWithParamCollection otherModelStack,
int32_t  oldLength,
int32_t  reverseThisRepeatWithLength,
bool  pingpongingGenerally 
)
virtual

Implements ParamCollection.

◆ beenCloned()

void MIDIParamCollection::beenCloned ( bool  copyAutomation,
int32_t  reverseDirectionWithLength 
)
virtual

Implements ParamCollection.

◆ cloneFrom()

void MIDIParamCollection::cloneFrom ( ParamCollection otherParamSet,
bool  copyAutomation 
)

◆ deleteAllAutomation()

void MIDIParamCollection::deleteAllAutomation ( Action action,
ModelStackWithParamCollection modelStack 
)
virtual

Implements ParamCollection.

◆ generateRepeats()

void MIDIParamCollection::generateRepeats ( ModelStackWithParamCollection modelStack,
uint32_t  oldLength,
uint32_t  newLength,
bool  shouldPingpong 
)
virtual

Implements ParamCollection.

◆ getAutoParamFromId()

ModelStackWithAutoParam * MIDIParamCollection::getAutoParamFromId ( ModelStackWithParamId modelStack,
bool  allowCreation = true 
)
virtual

Implements ParamCollection.

◆ grabValuesFromPos()

void MIDIParamCollection::grabValuesFromPos ( uint32_t  pos,
ModelStackWithParamCollection modelStack 
)
virtual

Implements ParamCollection.

◆ knobPosToParamValue()

int32_t MIDIParamCollection::knobPosToParamValue ( int  knobPos,
ModelStackWithAutoParam modelStack 
)
virtual

Reimplemented from ParamCollection.

◆ makeInterpolatedCCsGoodAgain()

int MIDIParamCollection::makeInterpolatedCCsGoodAgain ( int32_t  clipLength)

◆ mayParamInterpolate()

bool MIDIParamCollection::mayParamInterpolate ( int  paramId)
virtual

Reimplemented from ParamCollection.

◆ moveAutomationToDifferentCC()

int MIDIParamCollection::moveAutomationToDifferentCC ( int  oldCC,
int  newCC,
ModelStackWithParamCollection modelStack 
)

◆ notifyParamModifiedInSomeWay()

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

Reimplemented from ParamCollection.

◆ notifyPingpongOccurred()

void MIDIParamCollection::notifyPingpongOccurred ( ModelStackWithParamCollection modelStack)
virtual

Reimplemented from ParamCollection.

◆ nudgeNonInterpolatingNodesAtPos()

void MIDIParamCollection::nudgeNonInterpolatingNodesAtPos ( int32_t  pos,
int  offset,
int32_t  lengthBeforeLoop,
Action action,
ModelStackWithParamCollection modelStack 
)
virtual

Implements ParamCollection.

◆ playbackHasEnded()

void MIDIParamCollection::playbackHasEnded ( ModelStackWithParamCollection modelStack)
inlinevirtual

Implements ParamCollection.

◆ processCurrentPos()

void MIDIParamCollection::processCurrentPos ( ModelStackWithParamCollection modelStack,
int  ticksSkipped,
bool  reversed,
bool  didPingpong,
bool  mayInterpolate 
)
virtual

Implements ParamCollection.

◆ remotelySwapParamState()

void MIDIParamCollection::remotelySwapParamState ( AutoParamState state,
ModelStackWithParamId modelStack 
)
virtual

Implements ParamCollection.

◆ sendMIDI()

void MIDIParamCollection::sendMIDI ( int  channel,
int  cc,
int32_t  newValue,
int  midiOutputFilter 
)

◆ setPlayPos()

void MIDIParamCollection::setPlayPos ( uint32_t  pos,
ModelStackWithParamCollection modelStack,
bool  reversed 
)
virtual

Reimplemented from ParamCollection.

◆ shiftHorizontally()

void MIDIParamCollection::shiftHorizontally ( ModelStackWithParamCollection modelStack,
int32_t  amount,
int32_t  effectiveLength 
)
virtual

Implements ParamCollection.

◆ tickSamples()

void MIDIParamCollection::tickSamples ( int  numSamples,
ModelStackWithParamCollection modelStack 
)
inlinevirtual

Implements ParamCollection.

◆ trimToLength()

void MIDIParamCollection::trimToLength ( uint32_t  newLength,
ModelStackWithParamCollection modelStack,
Action action,
bool  maySetupPatching 
)
virtual

Implements ParamCollection.

◆ writeToFile()

void MIDIParamCollection::writeToFile ( )

Member Data Documentation

◆ params

MIDIParamVector MIDIParamCollection::params

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