tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tracktion::engine::TracktionEngineNode Class Reference

Base class for Nodes that provides information about the current process call. More...

#include "tracktion_TracktionEngineNode.h"

Inheritance diagram for tracktion::engine::TracktionEngineNode:
tracktion::engine::ArrangerLauncherSwitchingNode tracktion::engine::CombiningNode tracktion::engine::ContainerClipNode tracktion::engine::DynamicOffsetNode tracktion::engine::FadeInOutNode tracktion::engine::HostedMidiInputDeviceNode tracktion::engine::LoopingMidiNode tracktion::engine::MidiNode tracktion::engine::PlayHeadPositionNode tracktion::engine::PluginNode tracktion::engine::SlotControlNode tracktion::engine::SpeedRampWaveNode tracktion::engine::TrackMidiInputDeviceNode tracktion::engine::TrackWaveInputDeviceNode tracktion::engine::WaveNode tracktion::engine::WaveNodeRealTime

Public Member Functions

 TracktionEngineNode (ProcessState &)
 Creates a TracktionEngineNode.
 
virtual ~TracktionEngineNode ()=default
 Destructor.
 
int getNumSamples () const
 Returns the number of samples in the current process block.
 
double getSampleRate () const
 Returns the sample rate of the current process block.
 
juce::Range< int64_tgetTimelineSampleRange () const
 Returns the timeline sample range of the current process block.
 
TimeRange getEditTimeRange () const
 Returns the edit time range of the current process block.
 
BeatRange getEditBeatRange () const
 Returns the edit beat range of the current process block.
 
juce::Range< int64_tgetReferenceSampleRange () const
 Returns the reference sample range (from the DeviceManager) of the current process block.
 
tempo::Key getKey () const
 Returns the key of the current process block.
 
double getPlaybackSpeedRatio () const
 Returns the playback speed ratio of the current process block.
 
std::optional< TimePositiongetTimeOfNextChange () const
 May return the time of the next tempo or time sig change.
 
std::optional< BeatPositiongetBeatOfNextChange () const
 May return the time of the next tempo or time sig change.
 
tracktion::graph::PlayHeadStategetPlayHeadState ()
 Returns the PlayHeadState in use.
 
tracktion::graph::PlayHeadgetPlayHead ()
 Returns the PlayHead in use.
 
ProcessStategetProcessState ()
 Returns the ProcessState in use.
 
void setProcessState (ProcessState &)
 

Detailed Description

Base class for Nodes that provides information about the current process call.

Definition at line 99 of file tracktion_TracktionEngineNode.h.

Constructor & Destructor Documentation

◆ TracktionEngineNode()

tracktion::engine::TracktionEngineNode::TracktionEngineNode ( ProcessState ps)

Creates a TracktionEngineNode.

Definition at line 130 of file tracktion_TracktionEngineNode.cpp.

Member Function Documentation

◆ getBeatOfNextChange()

std::optional< BeatPosition > tracktion::engine::TracktionEngineNode::getBeatOfNextChange ( ) const

May return the time of the next tempo or time sig change.

Definition at line 156 of file tracktion_TracktionEngineNode.cpp.

◆ getEditBeatRange()

BeatRange tracktion::engine::TracktionEngineNode::getEditBeatRange ( ) const

Returns the edit beat range of the current process block.

Definition at line 123 of file tracktion_TracktionEngineNode.h.

◆ getEditTimeRange()

TimeRange tracktion::engine::TracktionEngineNode::getEditTimeRange ( ) const

Returns the edit time range of the current process block.

Definition at line 120 of file tracktion_TracktionEngineNode.h.

◆ getKey()

tempo::Key tracktion::engine::TracktionEngineNode::getKey ( ) const

Returns the key of the current process block.

Definition at line 135 of file tracktion_TracktionEngineNode.cpp.

◆ getNumSamples()

int tracktion::engine::TracktionEngineNode::getNumSamples ( ) const

Returns the number of samples in the current process block.

Definition at line 111 of file tracktion_TracktionEngineNode.h.

◆ getPlaybackSpeedRatio()

double tracktion::engine::TracktionEngineNode::getPlaybackSpeedRatio ( ) const

Returns the playback speed ratio of the current process block.

Definition at line 143 of file tracktion_TracktionEngineNode.cpp.

◆ getPlayHead()

tracktion::graph::PlayHead & tracktion::engine::TracktionEngineNode::getPlayHead ( )

Returns the PlayHead in use.

Definition at line 146 of file tracktion_TracktionEngineNode.h.

◆ getPlayHeadState()

tracktion::graph::PlayHeadState & tracktion::engine::TracktionEngineNode::getPlayHeadState ( )

Returns the PlayHeadState in use.

Definition at line 143 of file tracktion_TracktionEngineNode.h.

◆ getProcessState()

ProcessState & tracktion::engine::TracktionEngineNode::getProcessState ( )

Returns the ProcessState in use.

Definition at line 149 of file tracktion_TracktionEngineNode.h.

◆ getReferenceSampleRange()

juce::Range< int64_t > tracktion::engine::TracktionEngineNode::getReferenceSampleRange ( ) const

Returns the reference sample range (from the DeviceManager) of the current process block.

Definition at line 126 of file tracktion_TracktionEngineNode.h.

◆ getSampleRate()

double tracktion::engine::TracktionEngineNode::getSampleRate ( ) const

Returns the sample rate of the current process block.

Definition at line 114 of file tracktion_TracktionEngineNode.h.

◆ getTimelineSampleRange()

juce::Range< int64_t > tracktion::engine::TracktionEngineNode::getTimelineSampleRange ( ) const

Returns the timeline sample range of the current process block.

Definition at line 117 of file tracktion_TracktionEngineNode.h.

◆ getTimeOfNextChange()

std::optional< TimePosition > tracktion::engine::TracktionEngineNode::getTimeOfNextChange ( ) const

May return the time of the next tempo or time sig change.

Definition at line 148 of file tracktion_TracktionEngineNode.cpp.

◆ setProcessState()

void tracktion::engine::TracktionEngineNode::setProcessState ( ProcessState newProcessState)

Definition at line 164 of file tracktion_TracktionEngineNode.cpp.


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