|
| StepClip (const juce::ValueTree &, EditItemID, ClipOwner &) |
|
| ~StepClip () override |
|
void | cloneFrom (Clip *) override |
| Clones the given clip to this clip.
|
|
const juce::Array< Channel * > & | getChannels () const noexcept |
|
void | removeChannel (int index) |
|
void | insertNewChannel (int index) |
|
bool | usesProbability () |
|
PatternArray | getPatternSequence () const |
|
void | setPatternSequence (const PatternArray &) |
|
void | insertVariation (int patternIndex, int insertIndex) |
|
void | removeVariation (int variationIndex) |
|
void | removeAllVariations () |
|
void | createDefaultPatternIfEmpty () |
|
void | setPatternForVariation (int variationIndex, int newPatternIndex) |
|
int | insertPattern (const Pattern &, int index) |
|
int | insertNewPattern (int index) |
|
void | removePattern (int patternIndex) |
|
void | removeUnusedPatterns () |
|
bool | getCell (int patternIndex, int channelIndex, int noteIndex) |
|
void | setCell (int patternIndex, int channelIndex, int noteIndex, bool value) |
|
Pattern | getPattern (int index) |
|
int | getNumPatterns () const |
|
juce::Array< Pattern > | getPatterns () |
|
float | getVolumeDb () const |
|
void | setVolumeDb (float v) |
|
void | generateMidiSequence (juce::MidiMessageSequence &result, bool convertToSeconds=true, PatternInstance *instance=nullptr) |
| Generate a MidiMessageSequence from either the entire clip or one of its pattern instances.
|
|
juce::MidiMessageSequence | generateMidiSequence (MidiList::TimeBase, PatternInstance *instance=nullptr) |
| Generate a MidiMessageSequence from either the entire clip or one of its pattern instances.
|
|
juce::Array< BeatPosition > | getBeatTimesOfPatternStarts () const |
|
BeatPosition | getStartBeatOf (PatternInstance *) |
|
BeatPosition | getEndBeatOf (PatternInstance *) |
|
int | getBeatsPerBar () |
|
void | resizeClipForPatternInstances () |
|
bool | canBeAddedTo (ClipOwner &) override |
| Tests whether this clip can go on the given parent.
|
|
juce::String | getSelectableDescription () override |
| Subclasses must return a description of what they are.
|
|
juce::Colour | getDefaultColour () const override |
| Returns the default colour for this clip.
|
|
bool | isMidi () const override |
| Returns true if this is a MidiClip.
|
|
bool | beatBasedLooping () const override |
| Returns true if this clip's looping is based on beats or false if absolute time.
|
|
bool | isMuted () const override |
| Returns true if the clip is muted.
|
|
void | setMuted (bool m) override |
| Mutes or unmutes the clip.
|
|
LiveClipLevel | getLiveClipLevel () |
|
bool | canLoop () const override |
| StepClips can only loop if they're being used as launcher clips.
|
|
ClipPosition | getPosition () const override |
|
bool | isLooping () const override |
|
void | setNumberOfLoops (int) override |
|
void | disableLooping () override |
|
void | setLoopRange (TimeRange) override |
|
void | setLoopRangeBeats (BeatRange) override |
|
BeatPosition | getLoopStartBeats () const override |
|
BeatDuration | getLoopLengthBeats () const override |
|
TimePosition | getLoopStart () const override |
|
TimeDuration | getLoopLength () const override |
|
std::shared_ptr< LaunchHandle > | getLaunchHandle () override |
|
void | setUsesGlobalLaunchQuatisation (bool useGlobal) override |
|
bool | usesGlobalLaunchQuatisation () override |
|
LaunchQuantisation * | getLaunchQuantisation () override |
|
FollowActions * | getFollowActions () override |
|
| Clip (const juce::ValueTree &, ClipOwner &, EditItemID, Type) |
| Creates a clip of a given type from a ValueTree state.
|
|
| ~Clip () override |
| Destructor.
|
|
virtual void | initialise () |
| Initialises the Clip.
|
|
virtual void | flushStateToValueTree () |
| Can be overridden to ensure any state (e.g.
|
|
virtual void | sourceMediaChanged () |
| Called when the source media file reference (attribute "source") has changed - i.e.
|
|
virtual void | pitchTempoTrackChanged () |
| Called when there are pitch or tempo changes made which might require clips to adjust timing information.
|
|
virtual juce::String | getName () const override |
| Returns the name of the clip.
|
|
void | setName (const juce::String &newName) |
| Sets a new name for a clip.
|
|
virtual bool | usesSourceFile () const |
| True if it references a source file - i.e.
|
|
SourceFileReference & | getSourceFileReference () |
| Returns the SourceFileReference of the Clip.
|
|
juce::File | getCurrentSourceFile () const |
| Returns the current source file, this is different to the SourceFileReference as it could be a temporary comp file, clipFX, reverse render etc.
|
|
juce::Array< ReferencedItem > | getReferencedItems () override |
| Returns an array of any ReferencedItem[s] e.g.
|
|
void | reassignReferencedItem (const ReferencedItem &, ProjectItemID, double) override |
| Should be implemented to change the underlying source to a new ProjectItemID.
|
|
BeatPosition | getContentBeatAtTime (TimePosition) const |
| Returns the beat number (with offset) at the given time.
|
|
TimePosition | getTimeOfContentBeat (BeatPosition) const |
| Returns time of a beat number.
|
|
virtual TimeDuration | getMaximumLength () |
| Returns the maximum length this clip can have.
|
|
virtual juce::Array< TimePosition > | getInterestingTimes () |
| Returns times for snapping to, relative to the Edit.
|
|
TimePosition | getSpottingPoint () const |
| Returns the first marked time in the source file which can be used for syncronising newly added clips.
|
|
TimeRange | getLoopRange () const |
| Returns the loop range in seconds.
|
|
BeatRange | getLoopRangeBeats () const |
| Returns the loop range in beats.
|
|
virtual void | setSyncType (SyncType sync) |
| Sets the sync type for the clip.
|
|
SyncType | getSyncType () const |
| Returns the sync type clip is using.
|
|
void | setPosition (ClipPosition newPosition) |
| Sets the position of the clip.
|
|
void | setStart (TimePosition newStart, bool preserveSync, bool keepLength) |
| Sets the start time of the clip.
|
|
void | setLength (TimeDuration newLength, bool preserveSync) |
| Sets the length of the clip.
|
|
void | setEnd (TimePosition newEnd, bool preserveSync) |
| Sets the end of the clip.
|
|
void | setOffset (TimeDuration newOffset) |
| Sets the offset of the clip, i.e.
|
|
void | trimAwayOverlap (TimeRange editRangeToTrim) |
| Trims away any part of the clip that overlaps this region.
|
|
void | removeFromParent () |
| Removes this clip from the parent track or container clip.
|
|
bool | moveTo (ClipOwner &) |
| Moves the clip to a new parent (if possible).
|
|
double | getSpeedRatio () const noexcept |
| Returns the speed ratio i.e.
|
|
virtual void | setSpeedRatio (double) |
| Sets a speed ratio i.e.
|
|
virtual void | rescale (TimePosition pivotTimeInEdit, double factor) |
| stretches and scales this clip relative to a fixed point in the edit.
|
|
bool | isGrouped () const override |
| Returns true if the clip is part of a group.
|
|
TrackItem * | getGroupParent () const override |
| Returns the parent TrackItem if part of a group.
|
|
void | setGroup (EditItemID newGroupID) |
| Sets the clip to be part of a group.
|
|
EditItemID | getGroupID () const noexcept |
| Returns the ID of the group.
|
|
CollectionClip * | getGroupClip () const |
| Returns this as a CollectionClip if it is one.
|
|
bool | isLinked () const |
| Returns true if this clip is linked with any others.
|
|
void | setLinkGroupID (juce::String newLinkID) |
| Sets the link ID to link this clip with others.
|
|
juce::String | getLinkGroupID () const |
| Returns the link ID of this clip.
|
|
ClipOwner * | getParent () const |
| Returns the parent ClipOwner this clip is on.
|
|
ClipTrack * | getClipTrack () const |
| Returns the parent ClipTrack this clip is on (if any).
|
|
Track * | getTrack () const override |
| Returns the parent Track this clip is on (if any).
|
|
ClipSlot * | getClipSlot () const |
| Returns the parent ClipSlot this clip is on (if any).
|
|
virtual juce::Colour | getColour () const |
| Returns the colour property of this clip.
|
|
void | setColour (juce::Colour col) |
| Sets the colour property of this clip.
|
|
virtual void | removePlugin (const Plugin::Ptr &) |
| Removes the given plugin from the clip if the clip supports plugins.
|
|
virtual bool | addClipPlugin (const Plugin::Ptr &, SelectionManager &) |
| Adds a plugin to the clip.
|
|
virtual Plugin::Array | getAllPlugins () |
| Returns all the plugins on the clip.
|
|
virtual void | sendMirrorUpdateToAllPlugins (Plugin &) const |
| Sends an update to all plugins mirroing the one passed in.
|
|
virtual PluginList * | getPluginList () |
| Returns the PluginList for this clip if it has one.
|
|
virtual void | clearTakes () |
| Clears any takes this clip has.
|
|
virtual bool | hasAnyTakes () const |
| Returns true if this clip has any takes.
|
|
virtual juce::StringArray | getTakeDescriptions () const |
| Returns the descriptions of any takes.
|
|
virtual void | setCurrentTake (int) |
| Sets a given take index to be the current take.
|
|
virtual int | getCurrentTake () const |
| Returns the current take index.
|
|
virtual int | getNumTakes (bool) |
| Returns the total number of takes.
|
|
virtual bool | isCurrentTakeComp () |
| Returns true if the current take is a comp.
|
|
virtual void | setShowingTakes (bool shouldShow) |
| Sets whether the clip should be showing takes.
|
|
virtual bool | isShowingTakes () const |
| Returns true if the clip is showing takes.
|
|
virtual Clip::Array | unpackTakes (bool) |
| Attempts to unpack the takes to new clips.
|
|
void | updateLinkedClips () |
| Triggers a call to cloneFrom for all clips with the same linkID.
|
|
virtual PatternGenerator * | getPatternGenerator () |
| Returns the PatternGenerator for this clip if it has one.
|
|
void | addListener (Listener *) |
| Adds a Listener.
|
|
void | removeListener (Listener *) |
| Removes a Listener.
|
|
juce::ListenerList< Listener > & | getListeners () |
| Returns the listener list so Nodes can manually call them.
|
|
void | changed () override |
|
juce::UndoManager * | getUndoManager () const |
| Returns the UndoManager.
|
|
virtual void | setParent (ClipOwner *) |
|
| TrackItem (Edit &, EditItemID, Type) |
| Creates a TrackItem with an ID and type.
|
|
| ~TrackItem () |
| Destructor.
|
|
TimeRange | getEditTimeRange () const |
| Returns the time range of this item.
|
|
BeatRange | getEditBeatRange () const |
| Returns the beat range of this item.
|
|
BeatPosition | getStartBeat () const |
| Returns the start beat in the Edit of this item.
|
|
BeatPosition | getContentStartBeat () const |
| Returns the start beat of the content in the Edit of this item.
|
|
BeatPosition | getEndBeat () const |
| Returns the end beat in the Edit of this item.
|
|
BeatDuration | getLengthInBeats () const |
| Returns the duration in beats the of this item.
|
|
TimePosition | getTimeOfRelativeBeat (BeatDuration) const |
| Returns an Edit time point for a given number of beats from the start of this item.
|
|
BeatPosition | getBeatOfRelativeTime (TimeDuration) const |
| Returns an Edit beat point for a given number of seconds from the start of this item.
|
|
BeatDuration | getOffsetInBeats () const |
| Returns an the offset of this item in beats.
|
|
EditItemID | getTrackID () const |
| Returns the ID of the Track this item lives on.
|
|
| EditItem (EditItemID, Edit &) |
|
| EditItem (Edit &, const juce::ValueTree &) |
|
virtual | ~EditItem ()=default |
|
| Selectable () |
|
virtual | ~Selectable () |
|
virtual void | selectionStatusChanged (bool isNowSelected) |
| Can be overridden to tell this object that it has just been selected or deselected.
|
|
virtual void | selectableAboutToBeDeleted () |
| Called just before the selectable is about to be deleted so any subclasses should still be valid at this point.
|
|
void | addListener (SelectableListener *) |
|
void | removeListener (SelectableListener *) |
|
void | addSelectableListener (SelectableListener *) |
|
void | removeSelectableListener (SelectableListener *) |
|
void | cancelAnyPendingUpdates () |
| If changed() has been called, this will cancel any pending async change notificaions.
|
|
void | deselect () |
|
void | propertiesChanged () |
|
void | notifyListenersOfDeletion () |
|
WeakRef | getWeakRef () |
|
virtual | ~Exportable ()=default |
|