tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracktion::engine::WarpTimeEffect Struct Reference
Inheritance diagram for tracktion::engine::WarpTimeEffect:
tracktion::engine::ClipEffect tracktion::engine::ValueTreeAllEventListener juce::ValueTree::Listener

Public Member Functions

 WarpTimeEffect (const juce::ValueTree &, ClipEffects &)
 
juce::ReferenceCountedObjectPtr< ClipEffectRenderJobcreateRenderJob (const AudioFile &, double sourceLength) override
 Subclasses should return a job that can render the source.
 
HashCode getIndividualHash () const override
 
void sourceChanged () override
 Callback to indicate the destination file has changed.
 
void editFinishedLoading ()
 
- Public Member Functions inherited from tracktion::engine::ClipEffect
virtual void initialise ()
 
 ClipEffect (const juce::ValueTree &, ClipEffects &)
 
EffectType getType () const
 
virtual bool hasProperties ()
 Return true here to show a properties button in the editor and enable the propertiesButtonPressed callback.
 
virtual void propertiesButtonPressed (SelectionManager &)
 
HashCode getHash () const
 Returns the hash for this effect.
 
AudioFile getSourceFile () const
 
AudioFile getDestinationFile () const
 
bool isUsingFile (const AudioFile &) const
 
virtual void flushStateToValueTree ()
 
juce::UndoManagergetUndoManager ()
 
AudioClipBasegetClip ()
 

Public Attributes

WarpTimeManager::Ptr warpTimeManager
 
std::unique_ptr< Edit::LoadFinishedCallback< WarpTimeEffect > > editLoadedCallback
 
- Public Attributes inherited from tracktion::engine::ClipEffect
Editedit
 
juce::ValueTree state
 
ClipEffectsclipEffects
 

Additional Inherited Members

- Public Types inherited from tracktion::engine::ClipEffect
enum class  EffectType {
  none , volume , fadeInOut , tapeStartStop ,
  stepVolume , pitchShift , warpTime , normalise ,
  makeMono , reverse , invert , filter ,
  firstEffect , lastEffect
}
 
- Static Public Member Functions inherited from tracktion::engine::ClipEffect
static juce::ValueTree create (EffectType)
 
static ClipEffectcreate (const juce::ValueTree &, ClipEffects &)
 
static void createEffectAndAddToValueTree (Edit &, juce::ValueTree parent, ClipEffect::EffectType, int index)
 
static juce::String getTypeDisplayName (EffectType)
 
static void addEffectsToMenu (juce::PopupMenu &)
 
- Protected Member Functions inherited from tracktion::engine::ClipEffect
void valueTreeChanged () override
 
- Protected Member Functions inherited from tracktion::engine::ValueTreeAllEventListener
void valueTreePropertyChanged (juce::ValueTree &, const juce::Identifier &) override
 
void valueTreeChildAdded (juce::ValueTree &, juce::ValueTree &) override
 
void valueTreeChildRemoved (juce::ValueTree &, juce::ValueTree &, int) override
 
void valueTreeChildOrderChanged (juce::ValueTree &, int, int) override
 
void valueTreeParentChanged (juce::ValueTree &) override
 
void valueTreeRedirected (juce::ValueTree &) override
 

Detailed Description

Definition at line 475 of file tracktion_ClipEffects.h.

Constructor & Destructor Documentation

◆ WarpTimeEffect()

tracktion::engine::WarpTimeEffect::WarpTimeEffect ( const juce::ValueTree v,
ClipEffects o 
)

Definition at line 1172 of file tracktion_ClipEffects.cpp.

Member Function Documentation

◆ createRenderJob()

juce::ReferenceCountedObjectPtr< ClipEffect::ClipEffectRenderJob > tracktion::engine::WarpTimeEffect::createRenderJob ( const AudioFile sourceFile,
double  sourceLength 
)
overridevirtual

Subclasses should return a job that can render the source.

N.B. because the sourceFile may not be valid at the time of job creation you should use the sourceLength parameter to determine how to build the render node.

Implements tracktion::engine::ClipEffect.

Definition at line 1180 of file tracktion_ClipEffects.cpp.

◆ editFinishedLoading()

void tracktion::engine::WarpTimeEffect::editFinishedLoading ( )

Definition at line 1198 of file tracktion_ClipEffects.cpp.

◆ getIndividualHash()

HashCode tracktion::engine::WarpTimeEffect::getIndividualHash ( ) const
overridevirtual

Reimplemented from tracktion::engine::ClipEffect.

Definition at line 1188 of file tracktion_ClipEffects.cpp.

◆ sourceChanged()

void tracktion::engine::WarpTimeEffect::sourceChanged ( )
overridevirtual

Callback to indicate the destination file has changed.

Reimplemented from tracktion::engine::ClipEffect.

Definition at line 1193 of file tracktion_ClipEffects.cpp.

Member Data Documentation

◆ editLoadedCallback

std::unique_ptr<Edit::LoadFinishedCallback<WarpTimeEffect> > tracktion::engine::WarpTimeEffect::editLoadedCallback

Definition at line 485 of file tracktion_ClipEffects.h.

◆ warpTimeManager

WarpTimeManager::Ptr tracktion::engine::WarpTimeEffect::warpTimeManager

Definition at line 484 of file tracktion_ClipEffects.h.


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