TracktionEngine
Loading...
Searching...
No Matches
engine::LaunchQuantisation Class Reference

Represents a launch quantisation. More...

#include <tracktion_LaunchQuantisation.h>

Public Member Functions

 LaunchQuantisation (juce::ValueTree &, Edit &)
 Creates a LaunchQuantisation property on a given state tree.
BeatPosition getNext (BeatPosition) const noexcept
 Returns the next beat quantised to the current type.

Public Attributes

Edit & edit
 The Edit this belongs to.
juce::CachedValue< LaunchQType > type
 The current type property.

Detailed Description

Represents a launch quantisation.

Usually this is set globally in the Edit but may be overriden by clips.

Constructor & Destructor Documentation

◆ LaunchQuantisation()

engine::LaunchQuantisation::LaunchQuantisation ( juce::ValueTree & ,
Edit &  )

Creates a LaunchQuantisation property on a given state tree.

The Edit is used to find the TempoSequence and UndoManager.

Member Function Documentation

◆ getNext()

BeatPosition engine::LaunchQuantisation::getNext ( BeatPosition ) const
noexcept

Returns the next beat quantised to the current type.

Member Data Documentation

◆ edit

Edit& engine::LaunchQuantisation::edit

The Edit this belongs to.

◆ type

juce::CachedValue<LaunchQType> engine::LaunchQuantisation::type

The current type property.


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