|
Deluge Firmware
|
#include <Clip.h>


Public Member Functions | |
| Clip (int newType) | |
| virtual | ~Clip () |
| bool | cancelAnyArming () |
| int | getMaxZoom () |
| virtual int32_t | getMaxLength () |
| virtual int | clone (ModelStackWithTimelineCounter *modelStack, bool shouldFlattenReversing=false)=0 |
| void | cloneFrom (Clip *other) |
| void | beginInstance (Song *song, int32_t arrangementRecordPos) |
| void | endInstance (int32_t arrangementRecordPos, bool evenIfOtherClip=false) |
| virtual void | setPos (ModelStackWithTimelineCounter *modelStack, int32_t newPos, bool useActualPosForParamManagers=true) |
| virtual void | setPosForParamManagers (ModelStackWithTimelineCounter *modelStack, bool useActualPos=true) |
| virtual void | expectNoFurtherTicks (Song *song, bool actuallySoundChange=true)=0 |
| virtual void | resumePlayback (ModelStackWithTimelineCounter *modelStack, bool mayMakeSound=true)=0 |
| virtual void | reGetParameterAutomation (ModelStackWithTimelineCounter *modelStack) |
| virtual void | processCurrentPos (ModelStackWithTimelineCounter *modelStack, uint32_t ticksSinceLast) |
| void | prepareForDestruction (ModelStackWithTimelineCounter *modelStack, int instrumentRemovalInstruction) |
| uint32_t | getLivePos () |
| uint32_t | getActualCurrentPosAsIfPlayingInForwardDirection () |
| int32_t | getLastProcessedPos () |
| int32_t | getCurrentPosAsIfPlayingInForwardDirection () |
| Clip * | getClipBeingRecordedFrom () |
| Clip * | getClipToRecordTo () |
| bool | isArrangementOnlyClip () |
| bool | isActiveOnOutput () |
| virtual bool | deleteSoundsWhichWontSound (Song *song) |
| virtual int | appendClip (ModelStackWithTimelineCounter *thisModelStack, ModelStackWithTimelineCounter *otherModelStack) |
| int | resumeOriginalClipFromThisClone (ModelStackWithTimelineCounter *modelStackOriginal, ModelStackWithTimelineCounter *modelStackClone) |
| virtual int | transferVoicesToOriginalClipFromThisClone (ModelStackWithTimelineCounter *modelStackOriginal, ModelStackWithTimelineCounter *modelStackClone) |
| virtual void | increaseLengthWithRepeats (ModelStackWithTimelineCounter *modelStack, int32_t newLength, int independentNoteRowInstruction, bool completelyRenderOutIterationDependence=false, Action *action=NULL) |
| virtual void | lengthChanged (ModelStackWithTimelineCounter *modelStack, int32_t oldLength, Action *action=NULL) |
| virtual void | getSuggestedParamManager (Clip *newClip, ParamManagerForTimeline **suggestedParamManager, Sound *sound) |
| virtual void | detachFromOutput (ModelStackWithTimelineCounter *modelStack, bool shouldRememberDrumName, bool shouldDeleteEmptyNoteRowsAtEndOfList=false, bool shouldRetainLinksToSounds=false, bool keepNoteRowsWithMIDIInput=true, bool shouldGrabMidiCommands=false, bool shouldBackUpExpressionParamsToo=true)=0 |
| virtual int | undoDetachmentFromOutput (ModelStackWithTimelineCounter *modelStack) |
| virtual bool | renderAsSingleRow (ModelStackWithTimelineCounter *modelStack, TimelineView *editorScreen, int32_t xScroll, uint32_t xZoom, uint8_t *image, uint8_t occupancyMask[], bool addUndefinedArea=true, int noteRowIndexStart=0, int noteRowIndexEnd=2147483647, int xStart=0, int xEnd=displayWidth, bool allowBlur=true, bool drawRepeats=false) |
| virtual int | claimOutput (ModelStackWithTimelineCounter *modelStack)=0 |
| virtual void | finishLinearRecording (ModelStackWithTimelineCounter *modelStack, Clip *nextPendingLoop=NULL, int buttonLatencyForTempolessRecord=0)=0 |
| virtual int | beginLinearRecording (ModelStackWithTimelineCounter *modelStack, int buttonPressLatency)=0 |
| void | drawUndefinedArea (int32_t localScroll, uint32_t, int32_t lengthToDisplay, uint8_t *image, uint8_t[], int imageWidth, TimelineView *editorScreen, bool tripletsOnHere) |
| bool | opportunityToBeginSessionLinearRecording (ModelStackWithTimelineCounter *modelStack, bool *newOutputCreated, int buttonPressLatency) |
| virtual Clip * | cloneAsNewOverdub (ModelStackWithTimelineCounter *modelStack, int newOverdubNature)=0 |
| virtual bool | getCurrentlyRecordingLinearly ()=0 |
| virtual bool | currentlyScrollableAndZoomable ()=0 |
| virtual void | clear (Action *action, ModelStackWithTimelineCounter *modelStack) |
| void | writeToFile (Song *song) |
| virtual void | writeDataToFile (Song *song) |
| virtual char const * | getXMLTag ()=0 |
| virtual int | readFromFile (Song *song)=0 |
| void | readTagFromFile (char const *tagName, Song *song, int32_t *readAutomationUpToPos) |
| virtual void | copyBasicsFrom (Clip *otherClip) |
| void | setupForRecordingAsAutoOverdub (Clip *existingClip, Song *song, int newOverdubNature) |
| void | outputChanged (ModelStackWithTimelineCounter *modelStack, Output *newOutput) |
| virtual bool | isAbandonedOverdub ()=0 |
| virtual bool | wantsToBeginLinearRecording (Song *song) |
| virtual void | quantizeLengthForArrangementRecording (ModelStackWithTimelineCounter *modelStack, int32_t lengthSoFar, uint32_t timeRemainder, int32_t suggestedLength, int32_t alternativeLongerLength)=0 |
| virtual void | abortRecording ()=0 |
| virtual void | stopAllNotesPlaying (Song *song, bool actuallySoundChange=true) |
| virtual bool | willCloneOutputForOverdub () |
| void | setSequenceDirectionMode (ModelStackWithTimelineCounter *modelStack, int newSequenceDirection) |
| bool | possiblyCloneForArrangementRecording (ModelStackWithTimelineCounter *modelStack) |
| virtual void | incrementPos (ModelStackWithTimelineCounter *modelStack, int32_t numTicks) |
| int32_t | getLoopLength () |
| bool | isPlayingAutomationNow () |
| bool | backtrackingCouldLoopBackToEnd () |
| int32_t | getPosAtWhichPlaybackWillCut (ModelStackWithTimelineCounter const *modelStack) |
| TimelineCounter * | getTimelineCounterToRecordTo () |
| void | getActiveModControllable (ModelStackWithTimelineCounter *modelStack) |
| void | expectEvent () |
Public Member Functions inherited from TimelineCounter | |
| TimelineCounter () | |
| virtual | ~TimelineCounter () |
| virtual int32_t | getLastProcessedPos ()=0 |
| virtual uint32_t | getLivePos ()=0 |
| virtual int32_t | getLoopLength ()=0 |
| virtual bool | isPlayingAutomationNow ()=0 |
| virtual bool | backtrackingCouldLoopBackToEnd ()=0 |
| virtual int32_t | getPosAtWhichPlaybackWillCut (ModelStackWithTimelineCounter const *modelStack)=0 |
| virtual bool | possiblyCloneForArrangementRecording (ModelStackWithTimelineCounter *modelStack) |
| virtual void | getActiveModControllable (ModelStackWithTimelineCounter *modelStack)=0 |
| virtual void | expectEvent ()=0 |
| virtual TimelineCounter * | getTimelineCounterToRecordTo ()=0 |
| virtual void | instrumentBeenEdited () |
Public Attributes | |
| Output * | output |
| int16_t | colourOffset |
| const uint8_t | type |
| uint8_t | section |
| bool | soloingInSessionMode |
| uint8_t | armState |
| bool | activeIfNoSolo |
| bool | wasActiveBefore |
| bool | gotInstanceYet |
| bool | isPendingOverdub |
| bool | isUnfinishedAutoOverdub |
| bool | armedForRecording |
| bool | wasWantingToDoLinearRecordingBeforeCountIn |
| uint8_t | overdubNature |
| LearnedMIDI | muteMIDICommand |
| bool | currentlyPlayingReversed |
| uint8_t | sequenceDirectionMode |
| int32_t | loopLength |
| int32_t | originalLength |
| int32_t | lastProcessedPos |
| Clip * | beingRecordedFromClip |
| int32_t | repeatCount |
| uint32_t | indexForSaving |
Public Attributes inherited from TimelineCounter | |
| ParamManagerForTimeline | paramManager |
Protected Member Functions | |
| virtual void | posReachedEnd (ModelStackWithTimelineCounter *modelStack) |
| virtual bool | cloneOutput (ModelStackWithTimelineCounter *modelStack)=0 |
| int | solicitParamManager (Song *song, ParamManager *newParamManager=NULL, Clip *favourClipForCloningParamManager=NULL) |
| virtual void | pingpongOccurred (ModelStackWithTimelineCounter *modelStack) |
| Clip::Clip | ( | int | newType | ) |
|
virtual |
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
|
virtual |
Reimplemented in InstrumentClip.
|
virtual |
Implements TimelineCounter.
| void Clip::beginInstance | ( | Song * | song, |
| int32_t | arrangementRecordPos | ||
| ) |
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
| bool Clip::cancelAnyArming | ( | ) |
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
|
virtual |
Reimplemented in AudioClip, and InstrumentClip.
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
| void Clip::cloneFrom | ( | Clip * | other | ) |
|
protectedpure virtual |
Implemented in AudioClip, and InstrumentClip.
|
virtual |
Reimplemented in AudioClip, and InstrumentClip.
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
|
virtual |
Reimplemented in InstrumentClip.
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
| void Clip::drawUndefinedArea | ( | int32_t | localScroll, |
| uint32_t | xZoom, | ||
| int32_t | lengthToDisplay, | ||
| uint8_t * | image, | ||
| uint8_t | occupancyMask[], | ||
| int | imageWidth, | ||
| TimelineView * | editorScreen, | ||
| bool | tripletsOnHere | ||
| ) |
| void Clip::endInstance | ( | int32_t | arrangementRecordPos, |
| bool | evenIfOtherClip = false |
||
| ) |
|
virtual |
Implements TimelineCounter.
Reimplemented in InstrumentClip.
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
|
virtual |
Implements TimelineCounter.
Reimplemented in InstrumentClip.
| uint32_t Clip::getActualCurrentPosAsIfPlayingInForwardDirection | ( | ) |
| Clip * Clip::getClipBeingRecordedFrom | ( | ) |
| Clip * Clip::getClipToRecordTo | ( | ) |
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
| int32_t Clip::getCurrentPosAsIfPlayingInForwardDirection | ( | ) |
|
virtual |
Implements TimelineCounter.
|
virtual |
Implements TimelineCounter.
|
virtual |
Implements TimelineCounter.
|
virtual |
Reimplemented in InstrumentClip.
| int Clip::getMaxZoom | ( | ) |
|
virtual |
Implements TimelineCounter.
|
virtual |
Reimplemented in InstrumentClip.
|
virtual |
Implements TimelineCounter.
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
|
inlinevirtual |
Reimplemented in InstrumentClip.
|
virtual |
Reimplemented in InstrumentClip.
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
| bool Clip::isActiveOnOutput | ( | ) |
| bool Clip::isArrangementOnlyClip | ( | ) |
|
virtual |
Implements TimelineCounter.
|
virtual |
Reimplemented in InstrumentClip.
| bool Clip::opportunityToBeginSessionLinearRecording | ( | ModelStackWithTimelineCounter * | modelStack, |
| bool * | newOutputCreated, | ||
| int | buttonPressLatency | ||
| ) |
| void Clip::outputChanged | ( | ModelStackWithTimelineCounter * | modelStack, |
| Output * | newOutput | ||
| ) |
|
inlineprotectedvirtual |
Reimplemented in InstrumentClip.
|
protectedvirtual |
Reimplemented in AudioClip, and InstrumentClip.
|
virtual |
Reimplemented from TimelineCounter.
| void Clip::prepareForDestruction | ( | ModelStackWithTimelineCounter * | modelStack, |
| int | instrumentRemovalInstruction | ||
| ) |
|
virtual |
Reimplemented in InstrumentClip, and AudioClip.
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
| void Clip::readTagFromFile | ( | char const * | tagName, |
| Song * | song, | ||
| int32_t * | readAutomationUpToPos | ||
| ) |
|
virtual |
Reimplemented in InstrumentClip.
|
virtual |
Reimplemented in AudioClip, and InstrumentClip.
| int Clip::resumeOriginalClipFromThisClone | ( | ModelStackWithTimelineCounter * | modelStackOriginal, |
| ModelStackWithTimelineCounter * | modelStackClone | ||
| ) |
|
pure virtual |
Implemented in AudioClip, and InstrumentClip.
|
virtual |
Reimplemented in AudioClip, and InstrumentClip.
|
virtual |
Reimplemented in InstrumentClip.
| void Clip::setSequenceDirectionMode | ( | ModelStackWithTimelineCounter * | modelStack, |
| int | newSequenceDirection | ||
| ) |
| void Clip::setupForRecordingAsAutoOverdub | ( | Clip * | existingClip, |
| Song * | song, | ||
| int | newOverdubNature | ||
| ) |
|
protected |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in InstrumentClip.
|
virtual |
Reimplemented in InstrumentClip.
|
virtual |
Reimplemented in AudioClip, and InstrumentClip.
|
inlinevirtual |
Reimplemented in AudioClip.
|
virtual |
Reimplemented in AudioClip, and InstrumentClip.
| void Clip::writeToFile | ( | Song * | song | ) |
| bool Clip::activeIfNoSolo |
| bool Clip::armedForRecording |
| uint8_t Clip::armState |
| Clip* Clip::beingRecordedFromClip |
| int16_t Clip::colourOffset |
| bool Clip::currentlyPlayingReversed |
| bool Clip::gotInstanceYet |
| uint32_t Clip::indexForSaving |
| bool Clip::isPendingOverdub |
| bool Clip::isUnfinishedAutoOverdub |
| int32_t Clip::lastProcessedPos |
| int32_t Clip::loopLength |
| LearnedMIDI Clip::muteMIDICommand |
| int32_t Clip::originalLength |
| Output* Clip::output |
| uint8_t Clip::overdubNature |
| int32_t Clip::repeatCount |
| uint8_t Clip::section |
| uint8_t Clip::sequenceDirectionMode |
| bool Clip::soloingInSessionMode |
| const uint8_t Clip::type |
| bool Clip::wasActiveBefore |
| bool Clip::wasWantingToDoLinearRecordingBeforeCountIn |