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

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

Classes

struct  Parameters
 
struct  RenderResult
 
class  RenderTask
 Task that actually performs the render operation in blocks. More...
 
struct  ScopedClipSlotDisabler
 Temporarily disables clip slots. More...
 
struct  Statistics
 

Static Public Member Functions

static bool checkTargetFile (Engine &, const juce::File &)
 Cheks a file for write access etc.
 
static void turnOffAllPlugins (Edit &)
 Deinitialises all the plugins for the Edit.
 
static ProjectItem::Ptr renderToProjectItem (const juce::String &taskDescription, const Parameters &params)
 Renders an Edit to a file and creates a new ProjectItem for it.
 
static juce::File renderToFile (const juce::String &taskDescription, const Parameters &params)
 Renders an Edit to a file given by the Parameters.
 
static bool renderToFile (const juce::String &taskDescription, const juce::File &outputFile, Edit &edit, TimeRange range, const juce::BigInteger &tracksToDo, bool usePlugins=true, bool useACID=true, juce::Array< Clip * > clips={}, bool useThread=true)
 Renders an Edit to a file within the given time range and the track indicies described by the BigInteger.
 
static bool renderToFile (Edit &, const juce::File &, bool useThread=true)
 Renders an entire Edit to a file.
 
static Statistics measureStatistics (const juce::String &taskDescription, Edit &edit, TimeRange range, const juce::BigInteger &tracksToDo, int blockSizeForAudio, double sampleRateForAudio=44100.0)
 Renders a section of an edit to measure various details about its audio content.
 

Detailed Description

Definition at line 27 of file tracktion_Renderer.h.


Class Documentation

◆ tracktion::engine::Renderer::Statistics

struct tracktion::engine::Renderer::Statistics
See also
measureStatistics()

Definition at line 170 of file tracktion_Renderer.h.

Class Members
float audioDuration
float average
float peak

Member Function Documentation

◆ checkTargetFile()

bool tracktion::engine::Renderer::checkTargetFile ( Engine e,
const juce::File file 
)
static

Cheks a file for write access etc.

and presents pop-up options to the user if problems occur.

Definition at line 611 of file tracktion_Renderer.cpp.

◆ measureStatistics()

Renderer::Statistics tracktion::engine::Renderer::measureStatistics ( const juce::String taskDescription,
Edit edit,
TimeRange  range,
const juce::BigInteger tracksToDo,
int  blockSizeForAudio,
double  sampleRateForAudio = 44100.0 
)
static

Renders a section of an edit to measure various details about its audio content.

Definition at line 574 of file tracktion_Renderer.cpp.

◆ renderToFile() [1/3]

bool tracktion::engine::Renderer::renderToFile ( const juce::String taskDescription,
const juce::File outputFile,
Edit edit,
TimeRange  range,
const juce::BigInteger tracksToDo,
bool  usePlugins = true,
bool  useACID = true,
juce::Array< Clip * >  clips = {},
bool  useThread = true 
)
static

Renders an Edit to a file within the given time range and the track indicies described by the BigInteger.

Definition at line 409 of file tracktion_Renderer.cpp.

◆ renderToFile() [2/3]

juce::File tracktion::engine::Renderer::renderToFile ( const juce::String taskDescription,
const Parameters params 
)
static

Renders an Edit to a file given by the Parameters.

Definition at line 476 of file tracktion_Renderer.cpp.

◆ renderToFile() [3/3]

bool tracktion::engine::Renderer::renderToFile ( Edit edit,
const juce::File f,
bool  useThread = true 
)
static

Renders an entire Edit to a file.

Definition at line 471 of file tracktion_Renderer.cpp.

◆ renderToProjectItem()

ProjectItem::Ptr tracktion::engine::Renderer::renderToProjectItem ( const juce::String taskDescription,
const Parameters params 
)
static

Renders an Edit to a file and creates a new ProjectItem for it.

Definition at line 523 of file tracktion_Renderer.cpp.

◆ turnOffAllPlugins()

void tracktion::engine::Renderer::turnOffAllPlugins ( Edit edit)
static

Deinitialises all the plugins for the Edit.

Definition at line 14 of file tracktion_Renderer.cpp.


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