|
TracktionEngine
|
Base class for Nodes that provides information about the current process call. More...
#include <tracktion_TracktionEngineNode.h>
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_t > | getTimelineSampleRange () 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_t > | getReferenceSampleRange () 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< TimePosition > | getTimeOfNextChange () const |
| May return the time of the next tempo or time sig change. | |
| std::optional< BeatPosition > | getBeatOfNextChange () const |
| May return the time of the next tempo or time sig change. | |
| tracktion::graph::PlayHeadState & | getPlayHeadState () |
| Returns the PlayHeadState in use. | |
| tracktion::graph::PlayHead & | getPlayHead () |
| Returns the PlayHead in use. | |
| ProcessState & | getProcessState () |
| Returns the ProcessState in use. | |
| void | setProcessState (ProcessState &) |
Base class for Nodes that provides information about the current process call.
| engine::TracktionEngineNode::TracktionEngineNode | ( | ProcessState & | ) |
Creates a TracktionEngineNode.
|
virtualdefault |
Destructor.
| int engine::TracktionEngineNode::getNumSamples | ( | ) | const |
Returns the number of samples in the current process block.
| double engine::TracktionEngineNode::getSampleRate | ( | ) | const |
Returns the sample rate of the current process block.
| juce::Range< int64_t > engine::TracktionEngineNode::getTimelineSampleRange | ( | ) | const |
Returns the timeline sample range of the current process block.
| TimeRange engine::TracktionEngineNode::getEditTimeRange | ( | ) | const |
Returns the edit time range of the current process block.
| BeatRange engine::TracktionEngineNode::getEditBeatRange | ( | ) | const |
Returns the edit beat range of the current process block.
| juce::Range< int64_t > engine::TracktionEngineNode::getReferenceSampleRange | ( | ) | const |
Returns the reference sample range (from the DeviceManager) of the current process block.
| tempo::Key engine::TracktionEngineNode::getKey | ( | ) | const |
Returns the key of the current process block.
| double engine::TracktionEngineNode::getPlaybackSpeedRatio | ( | ) | const |
Returns the playback speed ratio of the current process block.
| std::optional< TimePosition > engine::TracktionEngineNode::getTimeOfNextChange | ( | ) | const |
May return the time of the next tempo or time sig change.
| std::optional< BeatPosition > engine::TracktionEngineNode::getBeatOfNextChange | ( | ) | const |
May return the time of the next tempo or time sig change.
| tracktion::graph::PlayHeadState & engine::TracktionEngineNode::getPlayHeadState | ( | ) |
Returns the PlayHeadState in use.
| tracktion::graph::PlayHead & engine::TracktionEngineNode::getPlayHead | ( | ) |
Returns the PlayHead in use.
| ProcessState & engine::TracktionEngineNode::getProcessState | ( | ) |
Returns the ProcessState in use.
| void engine::TracktionEngineNode::setProcessState | ( | ProcessState & | ) |