#include <tracktion_ClipEffects.h>
|
enum class | EffectType {
none
, volume
, fadeInOut
, tapeStartStop
,
stepVolume
, pitchShift
, warpTime
, normalise
,
makeMono
, reverse
, invert
, filter
,
firstEffect = volume
, lastEffect = filter
} |
|
using | WeakRef = juce::WeakReference< Selectable > |
|
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 &) |
|
static void | initialise () |
|
static bool | isSelectableValid (const Selectable *) noexcept |
| checks whether this object has been deleted.
|
|
◆ StepVolumeEffect()
tracktion::engine::StepVolumeEffect::StepVolumeEffect |
( |
const juce::ValueTree & |
, |
|
|
ClipEffects & |
|
|
) |
| |
◆ ~StepVolumeEffect()
tracktion::engine::StepVolumeEffect::~StepVolumeEffect |
( |
| ) |
|
|
override |
◆ getMaxNumNotes()
int tracktion::engine::StepVolumeEffect::getMaxNumNotes |
( |
| ) |
|
◆ createRenderJob()
juce::ReferenceCountedObjectPtr< ClipEffectRenderJob > tracktion::engine::StepVolumeEffect::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::StepVolumeEffect::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::StepVolumeEffect::propertiesButtonPressed |
( |
SelectionManager & |
| ) |
|
|
overridevirtual |
◆ getSelectableDescription()
juce::String tracktion::engine::StepVolumeEffect::getSelectableDescription |
( |
| ) |
|
|
overridevirtual |
◆ getIndividualHash()
HashCode tracktion::engine::StepVolumeEffect::getIndividualHash |
( |
| ) |
const |
|
overrideprotectedvirtual |
◆ noteLength
juce::CachedValue<BeatDuration> tracktion::engine::StepVolumeEffect::noteLength |
◆ crossfade
juce::CachedValue<double> tracktion::engine::StepVolumeEffect::crossfade |
◆ pattern
juce::CachedValue<juce::String> tracktion::engine::StepVolumeEffect::pattern |
The documentation for this struct was generated from the following file: