TracktionEngine
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  Statistics
 

Static Public Member Functions

static bool checkTargetFile (Engine &, const juce::File &)
 Cheks a file for write access etc. More...
 
static void turnOffAllPlugins (Edit &)
 Deinitialises all the plugins for the Edit. More...
 
static ProjectItem::Ptr renderToProjectItem (const juce::String &taskDescription, const Parameters &params)
 Renders an Edit to a file and creates a new ProjectItem for it. More...
 
static juce::File renderToFile (const juce::String &taskDescription, const Parameters &params)
 Renders an Edit to a file given by the Parameters. More...
 
static bool renderToFile (const juce::String &taskDescription, const juce::File &outputFile, Edit &edit, TimeRange range, const juce::BigInteger &tracksToDo, bool usePlugins=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. More...
 
static bool renderToFile (Edit &, const juce::File &, bool useThread=true)
 Renders an entire Edit to a file. More...
 
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. More...
 

Member Function Documentation

◆ checkTargetFile()

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

Cheks a file for write access etc.

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

◆ turnOffAllPlugins()

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

Deinitialises all the plugins for the Edit.

◆ renderToProjectItem()

static 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.

◆ renderToFile() [1/3]

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

Renders an Edit to a file given by the Parameters.

◆ renderToFile() [2/3]

static bool tracktion::engine::Renderer::renderToFile ( const juce::String &  taskDescription,
const juce::File &  outputFile,
Edit edit,
TimeRange  range,
const juce::BigInteger &  tracksToDo,
bool  usePlugins = 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.

◆ renderToFile() [3/3]

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

Renders an entire Edit to a file.

◆ measureStatistics()

static 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.


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