|
Project::Ptr | tracktion::engine::getProjectForEdit (const Edit &) |
| Tries to find the project that contains this edit (but may return nullptr!)
|
|
ProjectItem::Ptr | tracktion::engine::getProjectItemForEdit (const Edit &) |
| Tries to find the project item that refers to this edit (but may return nullptr!)
|
|
juce::File | tracktion::engine::getEditFileFromProjectManager (Edit &) |
| Uses the ProjectManager to look up the file for an Edit.
|
|
bool | tracktion::engine::referencesProjectItem (Edit &, ProjectItemID) |
| Returns true if the ProjectItemID is being used for any of the Edit's elements.
|
|
void | tracktion::engine::insertSpaceIntoEdit (Edit &, TimeRange timeRangeToInsert) |
| Inserts blank space in to an Edit, splitting clips if necessary.
|
|
void | tracktion::engine::insertSpaceIntoEditFromBeatRange (Edit &, BeatRange) |
| Inserts a number of blank beats in to the Edit.
|
|
EditItem * | tracktion::engine::findEditItemForID (Edit &, EditItemID) |
| Looks for an item in an edit with a given ID.
|
|
juce::Array< Track * > | tracktion::engine::getAllTracks (const Edit &) |
| Returns all the tracks in an Edit.
|
|
juce::Array< Track * > | tracktion::engine::getTopLevelTracks (const Edit &) |
| Returns all of the non-foldered tracks in an Edit.
|
|
template<typename TrackType > |
juce::Array< TrackType * > | tracktion::engine::getTracksOfType (const Edit &, bool recursive) |
| Returns the tracks of a given type in an Edit.
|
|
juce::Array< AudioTrack * > | tracktion::engine::getAudioTracks (const Edit &) |
| Returns all the AudioTracks in an Edit.
|
|
juce::Array< ClipTrack * > | tracktion::engine::getClipTracks (const Edit &) |
| Returns all the ClipTracks in an Edit.
|
|
int | tracktion::engine::getTotalNumTracks (const Edit &) |
| Returns the total number of Tracks in an Edit.
|
|
Track * | tracktion::engine::findTrackForID (const Edit &, EditItemID) |
| Returns the Track with a given ID if contained in the Edit.
|
|
AudioTrack * | tracktion::engine::findAudioTrackForID (const Edit &, EditItemID) |
| Returns the AudioTrack with a given ID if contained in the Edit.
|
|
juce::Array< Track * > | tracktion::engine::findTracksForIDs (const Edit &, const juce::Array< EditItemID > &) |
| Returns the Tracks for the given IDs in the Edit.
|
|
Track * | tracktion::engine::findTrackForState (const Edit &, const juce::ValueTree &) |
| Returns the Track with a given state if contained in the Edit.
|
|
AudioTrack * | tracktion::engine::getFirstAudioTrack (const Edit &) |
| Returns the first audio track in an Edit.
|
|
juce::Array< Track * > | tracktion::engine::findAllTracksContainingSelectedItems (const SelectableList &) |
| Returns all the tracks containing the selected tracks or TrackItems.
|
|
ClipTrack * | tracktion::engine::findFirstClipTrackFromSelection (const SelectableList &) |
| Returns the first ClipTrack from the selected tracks or clips.
|
|
bool | tracktion::engine::containsTrack (const Edit &, const Track &) |
| Returns true if the Edit contains this Track.
|
|
TrackOutput * | tracktion::engine::getTrackOutput (Track &) |
| Returns the TrackOutput if the given track has one.
|
|
juce::BigInteger | tracktion::engine::toBitSet (const juce::Array< Track * > &) |
| Returns the set of tracks as a BigInteger with each bit corresponding to the array of all tracks in an Edit.
|
|
juce::Array< Track * > | tracktion::engine::toTrackArray (Edit &, const juce::BigInteger &) |
| Returns an Array of Track[s] corresponding to the set bits of all tracks in an Edit.
|
|
template<typename TrackItemType > |
juce::Array< TrackItemType * > | tracktion::engine::getTrackItemsOfType (const Track &) |
|
ClipOwner * | tracktion::engine::findClipOwnerForID (const Edit &, EditItemID) |
| Returns the ClipOwner with a given ID if it can be found in the Edit.
|
|
ClipSlot * | tracktion::engine::findClipSlotForID (const Edit &, EditItemID) |
| Returns the ClipSlot for the given ID.
|
|
int | tracktion::engine::findClipSlotIndex (ClipSlot &) |
| Returns the index of the ClipSlot in the list it is owned by.
|
|
Clip * | tracktion::engine::findClipForID (const Edit &, EditItemID) |
| Returns the Clip with a given ID if contained in the Edit.
|
|
Clip * | tracktion::engine::findClipForState (const Edit &, const juce::ValueTree &) |
| Returns the Clip for a given state if contained in the Edit.
|
|
bool | tracktion::engine::containsClip (const Edit &, Clip *) |
| Returns true if an Edit contains a given clip.
|
|
Clip::Ptr | tracktion::engine::duplicateClip (const Clip &) |
| Creates a unique copy of this clip with a new EditItemID.
|
|
void | tracktion::engine::visitAllTrackItems (const Edit &, std::function< bool(TrackItem &)>) |
| Calls a function for all TrackItems in an Edit.
|
|
TimeRange | tracktion::engine::getTimeRangeForSelectedItems (const SelectableList &) |
| Returns the time range covered by the given items.
|
|
void | tracktion::engine::deleteRegionOfTracks (Edit &, TimeRange rangeToDelete, bool onlySelectedTracks, CloseGap, SelectionManager *) |
| Deletes a time range of an Edit, optionally closing the gap.
|
|
void | tracktion::engine::deleteRegionOfClip (Clip &, TimeRange rangeToDelete) |
| Deletes a time range of a Clip.
|
|
void | tracktion::engine::deleteRegionOfSelectedClips (SelectionManager &, TimeRange rangeToDelete, CloseGap, bool moveAllSubsequentClipsOnTrack) |
| Deletes a time range of a Clip selection, optionally closing the gap.
|
|
SelectableList | tracktion::engine::splitClips (const SelectableList &clips, TimePosition time) |
| Splits the clips at a given time.
|
|
void | tracktion::engine::moveSelectedClips (const SelectableList &, Edit &, MoveClipAction mode, bool alsoMoveAutomation) |
| Moves the selected clips within their track.
|
|
SelectableList | tracktion::engine::getClipSelectionWithCollectionClipContents (const SelectableList &) |
| Returns a list of clips.
|
|
juce::Array< ClipEffect * > | tracktion::engine::getAllClipEffects (Edit &edit) |
| Returns all clip effects.
|
|
MidiNote * | tracktion::engine::findNoteForState (const Edit &, const juce::ValueTree &) |
| Returns the MidiNote with a given state.
|
|
juce::Result | tracktion::engine::mergeMidiClips (juce::Array< MidiClip * >, SelectionManager *sm=nullptr) |
| Merges a set of MIDI clips in to one new one.
|
|
juce::OwnedArray< MidiList > | tracktion::engine::readFileToMidiList (juce::File midiFile, bool importAsNoteExpression) |
| Helper function to read a file to a number of MidiLists.
|
|
MidiClip::Ptr | tracktion::engine::createClipFromFile (juce::File midiFile, ClipOwner &, bool importAsNoteExpression) |
| Helper function to read a MIDI file and create a MidiClip from it.
|
|
Plugin::Array | tracktion::engine::getAllPlugins (const Edit &, bool includeMasterVolume) |
| Returns all the plugins in a given Edit.
|
|
Plugin::Ptr | tracktion::engine::findPluginForState (const Edit &, const juce::ValueTree &) |
| Returns the plugin with given state.
|
|
Plugin::Ptr | tracktion::engine::findPluginForID (const Edit &, EditItemID) |
| Returns the plugin with given EditItemID.
|
|
Track * | tracktion::engine::getTrackContainingPlugin (const Edit &, const Plugin *) |
| Returns the track for the track which the plugin is located on.
|
|
bool | tracktion::engine::areAnyPluginsMissing (const Edit &) |
| Returns true if any plugins couldn't be loaded beacuse their files are missing.
|
|
juce::Array< RackInstance * > | tracktion::engine::getRackInstancesInEditForType (const RackType &) |
| Returns all of the instances of a specific RackType in an Edit.
|
|
void | tracktion::engine::muteOrUnmuteAllPlugins (const Edit &) |
| Toggles the enabled state of all plugins in an Edit.
|
|
void | tracktion::engine::midiPanic (Edit &, bool resetPlugins) |
| Performs a "MIDI panic" on the edit, by sending all-note-off messages directly to all plugins in the edit, and optionally resetting them to kill any reverb tails, etc.
|
|
template<typename PluginType > |
juce::ReferenceCountedObjectPtr< PluginType > | tracktion::engine::insertNewPlugin (Track &, int index=0) |
| Adds a new instance of the given plugin to the track's plugin list at the specified index.
|
|
juce::Array< AutomatableEditItem * > | tracktion::engine::getAllAutomatableEditItems (const Edit &) |
| Returns all AutomatableEditItems in an Edit.
|
|
void | tracktion::engine::deleteAutomation (const SelectableList &selectedClips) |
| Deletes the automation covered by the selected clips.
|
|
juce::Array< AutomatableParameter::ModifierSource * > | tracktion::engine::getAllModifierSources (const Edit &) |
| Returns all the ModifierSources in an Edit.
|
|
juce::ReferenceCountedArray< Modifier > | tracktion::engine::getAllModifiers (const Edit &) |
| Returns all the Modifiers in an Edit.
|
|
template<typename ModifierType > |
ModifierType::Ptr | tracktion::engine::findModifierTypeForID (const Edit &, EditItemID) |
| Returns the Modifier with a given type and ID.
|
|
Modifier::Ptr | tracktion::engine::findModifierForID (const Edit &, EditItemID) |
| Returns the Modifier with a given ID.
|
|
Modifier::Ptr | tracktion::engine::findModifierForID (const RackType &, EditItemID) |
| Returns the Modifier with a given ID if the RackType contains it.
|
|
Track * | tracktion::engine::getTrackContainingModifier (const Edit &, const Modifier::Ptr &) |
| Returns the Track containing a Modifier.
|
|
juce::Array< MacroParameterList * > | tracktion::engine::getAllMacroParameterLists (const Edit &) |
| Returns all the MacroParameterLists in an Edit.
|
|
juce::Array< MacroParameterElement * > | tracktion::engine::getAllMacroParameterElements (const Edit &) |
| Returns all the MacroParameterElement in an Edit.
|
|
InputDeviceInstance::RecordingParameters | tracktion::engine::getDefaultRecordingParameters (const EditPlaybackContext &, TimePosition playStart, TimePosition punchIn) |
| Returns the default set of recording parameters.
|
|
juce::Result | tracktion::engine::prepareAndPunchRecord (InputDeviceInstance &, EditItemID) |
| Starts an InputDeviceInstance recording to the given target without any count-in etc.
|
|
tl::expected< Clip::Array, juce::String > | tracktion::engine::punchOutRecording (InputDeviceInstance &) |
| If the instance is currently recording, this will stop it and return any created clips or an error message.
|
|
bool | tracktion::engine::isRecording (EditPlaybackContext &) |
| Returns true if any inputs are currently recording.
|
|
InputDeviceInstance::Destination * | tracktion::engine::assignTrackAsInput (AudioTrack &destinationTrack, const AudioTrack &sourceTrack, InputDevice::DeviceType) |
| Creates an InputDeviceInstance::Destination on the destinationTrack from the sourceTrack if possible.
|
|