#include <tracktion_ClipEffects.h>
|
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 &) |
|
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 |
|
◆ PitchShiftEffect()
tracktion::engine::PitchShiftEffect::PitchShiftEffect |
( |
const juce::ValueTree & |
, |
|
|
ClipEffects & |
|
|
) |
| |
◆ initialise()
void tracktion::engine::PitchShiftEffect::initialise |
( |
| ) |
|
|
overridevirtual |
◆ createRenderJob()
juce::ReferenceCountedObjectPtr< ClipEffectRenderJob > tracktion::engine::PitchShiftEffect::createRenderJob |
( |
const AudioFile & |
sourceFile, |
|
|
TimeDuration |
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.
◆ hasProperties()
bool tracktion::engine::PitchShiftEffect::hasProperties |
( |
| ) |
|
|
overridevirtual |
Return true here to show a properties button in the editor and enable the propertiesButtonPressed callback.
Reimplemented from tracktion::engine::ClipEffect.
◆ propertiesButtonPressed()
void tracktion::engine::PitchShiftEffect::propertiesButtonPressed |
( |
SelectionManager & |
| ) |
|
|
overridevirtual |
◆ getIndividualHash()
HashCode tracktion::engine::PitchShiftEffect::getIndividualHash |
( |
| ) |
const |
|
overridevirtual |
◆ valueTreePropertyChanged()
void tracktion::engine::PitchShiftEffect::valueTreePropertyChanged |
( |
juce::ValueTree & |
, |
|
|
const juce::Identifier & |
|
|
) |
| |
|
override |
◆ valueTreeChanged()
void tracktion::engine::PitchShiftEffect::valueTreeChanged |
( |
| ) |
|
|
overridevirtual |
◆ timerCallback()
void tracktion::engine::PitchShiftEffect::timerCallback |
( |
| ) |
|
|
override |
◆ plugin
juce::ReferenceCountedObjectPtr<PitchShiftPlugin> tracktion::engine::PitchShiftEffect::plugin |
◆ inhibitor
The documentation for this struct was generated from the following file: