TracktionEngine
|
Public Member Functions | |
FadeInOutEffect (const juce::ValueTree &, ClipEffects &) | |
void | setFadeIn (TimeDuration) |
void | setFadeOut (TimeDuration) |
juce::ReferenceCountedObjectPtr< ClipEffectRenderJob > | createRenderJob (const AudioFile &sourceFile, double sourceLength) override |
Subclasses should return a job that can render the source. More... | |
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. More... | |
virtual void | propertiesButtonPressed (SelectionManager &) |
virtual void | sourceChanged () |
Callback to indicate the destination file has changed. More... | |
HashCode | getHash () const |
Returns the hash for this effect. More... | |
AudioFile | getSourceFile () const |
AudioFile | getDestinationFile () const |
bool | isUsingFile (const AudioFile &) const |
virtual void | flushStateToValueTree () |
juce::UndoManager & | getUndoManager () |
AudioClipBase & | getClip () |
Public Attributes | |
juce::CachedValue< TimeDuration > | fadeIn |
juce::CachedValue< TimeDuration > | fadeOut |
juce::CachedValue< AudioFadeCurve::Type > | fadeInType |
juce::CachedValue< AudioFadeCurve::Type > | fadeOutType |
Public Attributes inherited from tracktion::engine::ClipEffect | |
Edit & | edit |
juce::ValueTree | state |
ClipEffects & | clipEffects |
Protected Member Functions | |
HashCode | getIndividualHash () const override |
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 |
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 = volume , lastEffect = filter } |
Static Public Member Functions inherited from tracktion::engine::ClipEffect | |
static juce::ValueTree | create (EffectType) |
static ClipEffect * | create (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 &) |
tracktion::engine::FadeInOutEffect::FadeInOutEffect | ( | const juce::ValueTree & | , |
ClipEffects & | |||
) |
void tracktion::engine::FadeInOutEffect::setFadeIn | ( | TimeDuration | ) |
void tracktion::engine::FadeInOutEffect::setFadeOut | ( | TimeDuration | ) |
|
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.
|
overrideprotectedvirtual |
Reimplemented from tracktion::engine::ClipEffect.
juce::CachedValue<TimeDuration> tracktion::engine::FadeInOutEffect::fadeIn |
juce::CachedValue<TimeDuration> tracktion::engine::FadeInOutEffect::fadeOut |
juce::CachedValue<AudioFadeCurve::Type> tracktion::engine::FadeInOutEffect::fadeInType |
juce::CachedValue<AudioFadeCurve::Type> tracktion::engine::FadeInOutEffect::fadeOutType |