TracktionEngine
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tracktion::engine::AutomationRecordManager Class Reference

Stores automation data as it's being read in, and writes it back to the edit when recording finishes. More...

Inherits juce::ChangeBroadcaster, and juce::ChangeListener.

Public Member Functions

 AutomationRecordManager (Edit &)
 
 ~AutomationRecordManager ()
 
bool isReadingAutomation () const noexcept
 Toggles automation playback Matches the auto play button on the transport controls. More...
 
void setReadingAutomation (bool)
 
bool isWritingAutomation () const noexcept
 Toggles automation recording Matches the auto rec button on the transport controls. More...
 
void setWritingAutomation (bool)
 
void toggleWriteAutomationMode ()
 flips the write mode, first punching out if it needs to. More...
 
void playStartedOrStopped ()
 
bool isRecordingAutomation () const
 
bool isParameterRecording (AutomatableParameter *) const
 
void punchOut (bool toEnd)
 

Static Public Member Functions

static TimeDuration getGlideSeconds (Engine &)
 Set the 'glide' or crossfade length it'll use to patch the data back into the edit. More...
 
static void setGlideSeconds (Engine &, TimeDuration)
 

Public Attributes

Engineengine
 

Detailed Description

Stores automation data as it's being read in, and writes it back to the edit when recording finishes.

Also looks after some global automation settings.

Constructor & Destructor Documentation

◆ AutomationRecordManager()

tracktion::engine::AutomationRecordManager::AutomationRecordManager ( Edit )

◆ ~AutomationRecordManager()

tracktion::engine::AutomationRecordManager::~AutomationRecordManager ( )

Member Function Documentation

◆ isReadingAutomation()

bool tracktion::engine::AutomationRecordManager::isReadingAutomation ( ) const
noexcept

Toggles automation playback Matches the auto play button on the transport controls.

◆ setReadingAutomation()

void tracktion::engine::AutomationRecordManager::setReadingAutomation ( bool  )

◆ isWritingAutomation()

bool tracktion::engine::AutomationRecordManager::isWritingAutomation ( ) const
noexcept

Toggles automation recording Matches the auto rec button on the transport controls.

◆ setWritingAutomation()

void tracktion::engine::AutomationRecordManager::setWritingAutomation ( bool  )

◆ toggleWriteAutomationMode()

void tracktion::engine::AutomationRecordManager::toggleWriteAutomationMode ( )

flips the write mode, first punching out if it needs to.

◆ playStartedOrStopped()

void tracktion::engine::AutomationRecordManager::playStartedOrStopped ( )

◆ isRecordingAutomation()

bool tracktion::engine::AutomationRecordManager::isRecordingAutomation ( ) const

◆ isParameterRecording()

bool tracktion::engine::AutomationRecordManager::isParameterRecording ( AutomatableParameter ) const

◆ punchOut()

void tracktion::engine::AutomationRecordManager::punchOut ( bool  toEnd)

◆ getGlideSeconds()

static TimeDuration tracktion::engine::AutomationRecordManager::getGlideSeconds ( Engine )
static

Set the 'glide' or crossfade length it'll use to patch the data back into the edit.

◆ setGlideSeconds()

static void tracktion::engine::AutomationRecordManager::setGlideSeconds ( Engine ,
TimeDuration   
)
static

Member Data Documentation

◆ engine

Engine& tracktion::engine::AutomationRecordManager::engine

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