TracktionEngine
Public Member Functions | List of all members
tracktion::engine::FadeInOutNode Class Referencefinal

A Node that fades in and out given time regions. More...

Inheritance diagram for tracktion::engine::FadeInOutNode:

Public Member Functions

 FadeInOutNode (std::unique_ptr< tracktion::graph::Node > input, ProcessState &, TimeRange fadeIn, TimeRange fadeOut, AudioFadeCurve::Type fadeInType, AudioFadeCurve::Type fadeOutType, bool clearSamplesOutsideFade)
 
void setDynamicOffsetTime (TimeDuration) override
 Sets an offset to be applied to all times in this node, effectively shifting it forwards or backwards in time. More...
 
tracktion::graph::NodeProperties getNodeProperties () override
 
std::vector< Node * > getDirectInputNodes () override
 
bool isReadyToProcess () override
 
void process (ProcessContext &) override
 
- Public Member Functions inherited from tracktion::engine::TracktionEngineNode
 TracktionEngineNode (ProcessState &)
 Creates a TracktionEngineNode. More...
 
virtual ~TracktionEngineNode ()=default
 Destructor. More...
 
int getNumSamples () const
 Returns the number of samples in the current process block. More...
 
double getSampleRate () const
 Returns the sample rate of the current process block. More...
 
juce::Range< int64_t > getTimelineSampleRange () const
 Returns the timeline sample range of the current process block. More...
 
TimeRange getEditTimeRange () const
 Returns the edit time range of the current process block. More...
 
BeatRange getEditBeatRange () const
 Returns the edit beat range of the current process block. More...
 
juce::Range< int64_t > getReferenceSampleRange () const
 Returns the reference sample range (from the DeviceManager) of the current process block. More...
 
tempo::Key getKey () const
 Returns the key of the current process block. More...
 
double getPlaybackSpeedRatio () const
 Returns the playback speed ratio of the current process block. More...
 
std::optional< TimePosition > getTimeOfNextChange () const
 May return the time of the next tempo or time sig change. More...
 
std::optional< BeatPosition > getBeatOfNextChange () const
 May return the time of the next tempo or time sig change. More...
 
tracktion::graph::PlayHeadStategetPlayHeadState ()
 Returns the PlayHeadState in use. More...
 
tracktion::graph::PlayHeadgetPlayHead ()
 Returns the PlayHead in use. More...
 
ProcessStategetProcessState ()
 Returns the ProcessState in use. More...
 
void setProcessState (ProcessState &)
 
- Public Member Functions inherited from tracktion::engine::DynamicallyOffsettableNodeBase
 DynamicallyOffsettableNodeBase ()=default
 
virtual ~DynamicallyOffsettableNodeBase ()=default
 
virtual void setDynamicOffsetBeats (BeatDuration)
 Sets an offset to be applied to all times in this node, effectively shifting it forwards or backwards in time. More...
 

Detailed Description

A Node that fades in and out given time regions.

Constructor & Destructor Documentation

◆ FadeInOutNode()

tracktion::engine::FadeInOutNode::FadeInOutNode ( std::unique_ptr< tracktion::graph::Node input,
ProcessState ,
TimeRange  fadeIn,
TimeRange  fadeOut,
AudioFadeCurve::Type  fadeInType,
AudioFadeCurve::Type  fadeOutType,
bool  clearSamplesOutsideFade 
)

Member Function Documentation

◆ setDynamicOffsetTime()

void tracktion::engine::FadeInOutNode::setDynamicOffsetTime ( TimeDuration  )
overridevirtual

Sets an offset to be applied to all times in this node, effectively shifting it forwards or backwards in time.

Reimplemented from tracktion::engine::DynamicallyOffsettableNodeBase.

◆ getNodeProperties()

tracktion::graph::NodeProperties tracktion::engine::FadeInOutNode::getNodeProperties ( )
override

◆ getDirectInputNodes()

std::vector<Node*> tracktion::engine::FadeInOutNode::getDirectInputNodes ( )
override

◆ isReadyToProcess()

bool tracktion::engine::FadeInOutNode::isReadyToProcess ( )
override

◆ process()

void tracktion::engine::FadeInOutNode::process ( ProcessContext &  )
override

The documentation for this class was generated from the following file: