|
| AudioTrack (Edit &, const juce::ValueTree &) |
|
| ~AudioTrack () override |
|
void | initialise () override |
| Initialises the Track.
|
|
bool | isAudioTrack () const override |
| Returns true if this is an AudioTrack.
|
|
juce::String | getSelectableDescription () override |
| Subclasses must return a description of what they are.
|
|
int | getAudioTrackNumber () const noexcept |
|
void | sanityCheckName () override |
| checks whether the name is 'track n' and if so, makes sure the number is right
|
|
juce::String | getName () const override |
|
juce::String | getNameAsTrackNumber () const |
| Returns a name in the form "Track [number]".
|
|
juce::String | getNameAsTrackNumberWithDescription () const |
| Returns a name in the form "Track [number] ([track name])" (This is smart enough to not add the parenthesised name if it's just a "Track X" type name)
|
|
bool | canContainPlugin (Plugin *) const override |
| Returns true if this track can contain a specific Plugin.
|
|
bool | processAudioNodesWhileMuted () const override |
| Subclasses can override this to ensure track contents are still played even when the track is muted.
|
|
juce::String | getTrackPlayabilityWarning () const |
| returns a warning message about this track not being playable, or "" if it's ok
|
|
juce::String | getLauncherPlayabilityWarning () const |
|
VolumeAndPanPlugin * | getVolumePlugin () |
|
LevelMeterPlugin * | getLevelMeterPlugin () |
|
EqualiserPlugin * | getEqualiserPlugin () |
|
AuxSendPlugin * | getAuxSendPlugin (int bus=-1, AuxPosition ap=AuxPosition::byBus) const |
|
juce::String | getNameForMidiNoteNumber (int note, int midiChannel, bool preferSharp=true) const |
| looks for a name for a midi note by trying all the plugins, and returning a default on failure.
|
|
juce::String | getNameForProgramNumber (int programNumber, int bank) const |
| prog number is 0 based.
|
|
juce::String | getNameForBank (int bank) const |
|
int | getIdForBank (int bank) const |
|
bool | areMidiPatchesZeroBased () const |
|
WaveInputDevice & | getWaveInputDevice () const noexcept |
|
MidiInputDevice & | getMidiInputDevice () const noexcept |
|
TrackOutput & | getOutput () const noexcept |
|
int | getMaxNumOfInputs () const noexcept |
|
void | setMaxNumOfInputs (int newMaxNumber) |
|
bool | canPlayAudio () const |
| checks whether audio clips can be played - i.e.
|
|
bool | canPlayMidi () const |
|
ClipSlotList & | getClipSlotList () |
| Returns the ClipSlotList for this track.
|
|
bool | isFrozen (FreezeType) const override |
| Returns true if this track is frozen using the given type.
|
|
void | setFrozen (bool, FreezeType) override |
| Attempts to freeze or unfreeze the track using a given FreezeType.
|
|
void | insertFreezePointAfterPlugin (const Plugin::Ptr &) |
|
void | removeFreezePoint () |
|
void | freezeTrackAsync () const |
|
bool | hasAnyLiveInputs () |
|
bool | hasAnyTracksFeedingIn () |
|
juce::Array< Track * > | getInputTracks () const override |
| Should return any tracks which feed into this track.
|
|
juce::Array< Track * > | findSidechainSourceTracks () const |
|
void | injectLiveMidiMessage (const MidiMessageWithSource &) |
|
void | injectLiveMidiMessage (const juce::MidiMessage &, MPESourceID) |
|
bool | isMuted (bool includeMutingByDestination) const override |
| Returns true if this track is muted.
|
|
bool | isSolo (bool includeIndirectSolo) const override |
| Returns true if this track is soloed.
|
|
bool | isSoloIsolate (bool includeIndirectSolo) const override |
| Returns true if this track is solo isolated.
|
|
void | setMute (bool) override |
| Subclasses should implement this to mute themselves.
|
|
void | setSolo (bool) override |
| Subclasses should implement this to solo themselves.
|
|
void | setSoloIsolate (bool) override |
| Subclasses should implement this to solo isolate themselves.
|
|
double | getMidiVisibleProportion () const |
| vertical scales for displaying the midi note editor
|
|
double | getMidiVerticalOffset () const |
|
void | setMidiVerticalPos (double visibleProp, double offset) |
|
void | scaleVerticallyToFitMidi () |
|
void | setVerticalScaleToDefault () |
|
void | setTrackToGhost (AudioTrack *, bool shouldGhost) |
|
void | clearGhostTracks () |
|
juce::Array< AudioTrack * > | getGhostTracks () const |
|
int | getCompGroup () const noexcept |
|
void | setCompGroup (int groupIndex) |
|
bool | hasMidiNoteNames () |
|
void | clearMidiNoteNames () |
|
void | loadMidiNoteNames (const juce::String namesFile) |
|
bool | mergeInMidiSequence (juce::MidiMessageSequence, TimePosition startTime, MidiClip *, MidiList::NoteAutomationType) |
| try to add this MIDI sequence to any MIDI clips that are already in the track.
|
|
void | playGuideNote (int note, MidiChannel midiChannel, int velocity, bool stopOtherFirst=true, bool forceNote=false, bool autorelease=false) |
|
void | playGuideNotes (const juce::Array< int > ¬es, MidiChannel midiChannel, const juce::Array< int > &velocities, bool stopOthersFirst=true) |
|
void | turnOffGuideNotes () |
|
void | turnOffGuideNotes (MidiChannel) |
|
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.
|
|
| ClipTrack (Edit &, const juce::ValueTree &, bool hasModifierList) |
|
| ~ClipTrack () override |
|
void | initialise () override |
|
void | flushStateToValueTree () override |
|
Clip * | findClipForID (EditItemID) const override |
| Returns a clip one with a matching ID can be found on this Track.
|
|
CollectionClip * | getCollectionClip (int index) const noexcept |
|
CollectionClip * | getCollectionClip (Clip *) const |
|
int | getNumCollectionClips () const noexcept |
|
int | indexOfCollectionClip (CollectionClip *) const |
|
int | getIndexOfNextCollectionClipAt (TimePosition) |
|
CollectionClip * | getNextCollectionClipAt (TimePosition) |
|
bool | contains (CollectionClip *) const |
|
void | addCollectionClip (CollectionClip *) |
|
void | removeCollectionClip (CollectionClip *) |
|
int | getNumTrackItems () const override |
| Should return the number of TrackItem[s] on this Track.
|
|
TrackItem * | getTrackItem (int idx) const override |
| Should return the TrackItem at the given index.
|
|
int | indexOfTrackItem (TrackItem *) const override |
| Should return the index of the given TrackItem.
|
|
int | getIndexOfNextTrackItemAt (TimePosition) override |
| Should return the index of the TrackItem after this time.
|
|
TrackItem * | getNextTrackItemAt (TimePosition) override |
| Should return the TrackItem after this time.
|
|
void | insertSpaceIntoTrack (TimePosition, TimeDuration) override |
| inserts space and moves everything up
|
|
TimeDuration | getLength () const |
|
TimeDuration | getLengthIncludingInputTracks () const |
|
TimeRange | getTotalRange () const |
|
bool | addClip (const Clip::Ptr &) |
|
Clip * | insertClipWithState (juce::ValueTree) |
|
Clip * | insertClipWithState (const juce::ValueTree &stateToUse, const juce::String &name, TrackItem::Type type, ClipPosition position, bool deleteExistingClips, bool allowSpottingAdjustment) |
|
Clip * | insertNewClip (TrackItem::Type, TimeRange position, SelectionManager *selectionManagerToSelectWith) |
|
Clip * | insertNewClip (TrackItem::Type, const juce::String &name, TimeRange position, SelectionManager *selectionManagerToSelectWith) |
|
Clip * | insertNewClip (TrackItem::Type, const juce::String &name, ClipPosition position, SelectionManager *selectionManagerToSelectWith) |
|
juce::ReferenceCountedObjectPtr< WaveAudioClip > | insertWaveClip (const juce::String &name, const juce::File &sourceFile, ClipPosition position, bool deleteExistingClips) |
|
juce::ReferenceCountedObjectPtr< WaveAudioClip > | insertWaveClip (const juce::String &name, ProjectItemID sourceID, ClipPosition position, bool deleteExistingClips) |
|
juce::ReferenceCountedObjectPtr< MidiClip > | insertMIDIClip (TimeRange position, SelectionManager *selectionManagerToSelectWith) |
|
juce::ReferenceCountedObjectPtr< MidiClip > | insertMIDIClip (const juce::String &name, TimeRange position, SelectionManager *selectionManagerToSelectWith) |
|
juce::ReferenceCountedObjectPtr< EditClip > | insertEditClip (TimeRange position, ProjectItemID sourceID) |
|
void | deleteRegion (TimeRange, SelectionManager *) |
|
void | deleteRegionOfClip (Clip::Ptr, TimeRange, SelectionManager *) |
|
Clip * | splitClip (Clip &, TimePosition) |
| breaks a clip into 2 bits
|
|
void | splitAt (TimePosition) |
| split all clips at this time
|
|
TimePosition | getNextTimeOfInterest (TimePosition afterThisTime) |
| finds the next cut point
|
|
TimePosition | getPreviousTimeOfInterest (TimePosition beforeThisTime) |
|
bool | containsPlugin (const Plugin *) const override |
| Tests whether this Track or a clip on it contains the given plugin.
|
|
Plugin::Array | getAllPlugins () const override |
| Returns all pugins on this Track.
|
|
void | sendMirrorUpdateToAllPlugins (Plugin &) const override |
| Sends a message to all plugins that the given plugin has changed.
|
|
bool | areAnyClipsUsingFile (const AudioFile &) |
|
bool | containsAnyMIDIClips () const |
|
juce::ValueTree & | getClipOwnerState () override |
|
EditItemID | getClipOwnerID () override |
|
Selectable * | getClipOwnerSelectable () override |
|
Edit & | getClipOwnerEdit () override |
|
void | clipCreated (Clip &) override |
|
void | clipAddedOrRemoved () override |
|
void | clipOrderChanged () override |
|
void | clipPositionChanged () override |
|
| Track (Edit &, const juce::ValueTree &, bool hasModifierList) |
| Creates a track with a given state.
|
|
| ~Track () override |
| Destructor.
|
|
void | refreshCurrentAutoParam () |
| Updates the current parameter bases on the set IDs.
|
|
juce::String | getName () const override |
| Returns the name of the Track.
|
|
void | setName (const juce::String &) |
| Sets the name of the Track.
|
|
void | resetName () |
| Sets the name of the Track to an empty string.
|
|
virtual bool | isAutomationTrack () const |
| Returns true if this is an AutomationTrack.
|
|
virtual bool | isFolderTrack () const |
| Returns true if this is a FolderTrack.
|
|
virtual bool | isMarkerTrack () const |
| Returns true if this is a MarkerTrack.
|
|
virtual bool | isTempoTrack () const |
| Returns true if this is a TempoTrack.
|
|
virtual bool | isChordTrack () const |
| Returns true if this is a ChordTrack.
|
|
virtual bool | isArrangerTrack () const |
| Returns true if this is an ArrangerTrack.
|
|
virtual bool | isMasterTrack () const |
| Returns true if this is a MasterTrack.
|
|
bool | canContainMarkers () const |
| Returns true if this Track can contain MarkerClip[s].
|
|
bool | canContainMIDI () const |
| Returns true if this Track can contain MidiClip[s].
|
|
bool | canContainAudio () const |
| Returns true if this Track can contain WaveAudioClip[s].
|
|
bool | canContainEditClips () const |
| Returns true if this Track can contain EditClip[s].
|
|
bool | canContainPlugins () const |
| Returns true if this Track can contain Plugin[s].
|
|
bool | isMovable () const |
| Returns true if this Track is movable.
|
|
bool | acceptsInput () const |
| Returns true if this track can have inputs assigned to it.
|
|
bool | createsOutput () const |
| Returns true if this track creates audible output.
|
|
bool | wantsAutomation () const |
| Returns true if this track can show automation.
|
|
bool | isHidden () const |
| Returns true if this track should be hidden from view.
|
|
void | setHidden (bool h) |
| Sets whether this track should be hidden from view.
|
|
bool | isProcessing (bool includeParents) const |
| Returns true if this track should be included in playback.
|
|
void | setProcessing (bool p) |
| Sets whether this track should be included in playback.
|
|
juce::Array< Track * > | getAllSubTracks (bool recursive) const |
| Returns all nested tracks.
|
|
juce::Array< AudioTrack * > | getAllAudioSubTracks (bool recursive) const |
| Returns all nested AudioTrack[s].
|
|
TrackList * | getSubTrackList () const |
| Returns the TrackList if this Track has any sub-tracks.
|
|
bool | hasSubTracks () const |
| Returns true if this track has any subtracks.
|
|
Track * | getSiblingTrack (int delta, bool keepWithinSameParent) const |
| Returns a sibling Track to this one.
|
|
juce::ValueTree | getParentTrackTree () const |
| Returns the state of the parent Track.
|
|
Track * | getParentTrack () const |
| Returns the parent Track if this is a nested track.
|
|
FolderTrack * | getParentFolderTrack () const |
| Returns the parent FolderTrack if this is nested in one.
|
|
bool | isAChildOf (const Track &possibleParent) const |
| Tests whether this is a child of a given Track.
|
|
bool | isPartOfSubmix () const |
| Tests whether this nested within a submix FolderTrack.
|
|
int | getIndexInEditTrackList () const |
| Returns the index of this track in a flat list of tracks contained in an Edit.
|
|
int | getTrackDepth () const |
| Returns the number of parents within which this track is nested.
|
|
MuteAndSoloLightState | getMuteAndSoloLightState () const |
| Returns the mute a solo status.
|
|
bool | shouldBePlayed () const noexcept |
| Tests whether this track should be audible in the playback graph i.e.
|
|
void | updateAudibility (bool areAnyTracksSolo) |
| Updates the audibility state of the Track.
|
|
juce::Array< AutomatableParameter * > | getAllAutomatableParams () const |
| Returns all the parameters for this track's Plugin[s] and Modifier[s].
|
|
void | visitAllAutomatableParams (const std::function< void(AutomatableParameter &)> &) const |
| Visits all the parameters for this track's Plugin[s] and Modifier[s].
|
|
AutomatableParameter * | getCurrentlyShownAutoParam () const noexcept |
| Returns the parameter whos curve should be shown on this Track.
|
|
void | setCurrentlyShownAutoParam (const AutomatableParameter::Ptr &) |
| Sets a parameter to display on this Track.
|
|
void | hideAutomatableParametersForSource (EditItemID pluginOrParameterID) |
| Hides a shown parameter if it matches the given ID.
|
|
bool | hasFreezePointPlugin () const |
| Tests whether this Track contains a FreezePointPlugin.
|
|
juce::Array< AutomatableEditItem * > | getAllAutomatableEditItems () const |
| Returns all AutomatableEditItem[s] on this Track.
|
|
void | flipAllPluginsEnablement () |
| Toggles the Plugin::isEnabled state for all Plugin[s] on this Track.
|
|
ModifierList * | getModifierList () const |
| Returns the ModifierList for this track, if it has one.
|
|
void | setColour (juce::Colour newColour) |
| Sets a colour for this track to use.
|
|
juce::Colour | getColour () const |
| Returns the the of this.
|
|
bool | canShowImage () const |
| Tests whether this Track can show an image.
|
|
void | setTrackImage (const juce::String &idOrData) |
| Sets some image data to use.
|
|
juce::String | getTrackImage () const |
| Returns previously set image data.
|
|
bool | imageHasChanged () |
| Tests and resets a flag internally kept when the image changes.
|
|
void | setTags (const juce::StringArray &) |
| Sets an array of Strings to use as tags.
|
|
juce::String | getTags () const |
| Returns the tags as a pipe-separated single String.
|
|
const juce::StringArray & | getTagsArray () const noexcept |
| Returns the array of tags.
|
|
| 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 | changed () |
| This should be called to send a change notification to any SelectableListeners that are registered with this object.
|
|
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 () |
|
| ClipOwner () |
| Constructs an empty ClipOwner.
|
|
virtual | ~ClipOwner () |
| Destructor.
|
|
const juce::Array< Clip * > & | getClips () const |
| Returns the clips this owner contains.
|
|
| MacroParameterElement (Edit &, const juce::ValueTree &) |
| Constructor.
|
|
virtual | ~MacroParameterElement ()=default |
| Destructor.
|
|
MacroParameterList * | getMacroParameterList () |
| If no parameters have been created, this may return nullptr.
|
|
MacroParameterList & | getMacroParameterListForWriting () |
| This ensures that the list has been created.
|
|
juce::ReferenceCountedArray< MacroParameter > | getMacroParameters () const |
|