TracktionEngine
|
#include <tracktion_ClipEffects.h>
Public Member Functions | |
InvertEffect (const juce::ValueTree &, ClipEffects &) | |
juce::ReferenceCountedObjectPtr< ClipEffect::ClipEffectRenderJob > | createRenderJob (const AudioFile &, TimeDuration sourceLength) override |
Subclasses should return a job that can render the source. | |
![]() | |
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 &) |
virtual void | sourceChanged () |
Callback to indicate the destination file has changed. | |
HashCode | getHash () const |
Returns the hash for this effect. | |
AudioFile | getSourceFile () const |
AudioFile | getDestinationFile () const |
bool | isUsingFile (const AudioFile &) const |
virtual void | flushStateToValueTree () |
juce::UndoManager & | getUndoManager () |
AudioClipBase & | getClip () |
Additional Inherited Members | |
![]() | |
enum class | EffectType { none , volume , fadeInOut , tapeStartStop , stepVolume , pitchShift , warpTime , normalise , makeMono , reverse , invert , filter , firstEffect = volume , lastEffect = filter } |
![]() | |
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 &) |
![]() | |
Edit & | edit |
juce::ValueTree | state |
ClipEffects & | clipEffects |
![]() | |
virtual HashCode | getIndividualHash () const |
void | valueTreeChanged () override |
![]() | |
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 |
tracktion::engine::InvertEffect::InvertEffect | ( | const juce::ValueTree & | , |
ClipEffects & | |||
) |
|
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.