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

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracktion::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

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

Definition at line 71 of file tracktion_LaunchQuantisation.h.

Constructor & Destructor Documentation

◆ LaunchQuantisation()

tracktion::engine::LaunchQuantisation::LaunchQuantisation ( juce::ValueTree v,
Edit e 
)

Creates a LaunchQuantisation property on a given state tree.

The Edit is used to find the TempoSequence and UndoManager.

Definition at line 144 of file tracktion_LaunchQuantisation.cpp.

Member Function Documentation

◆ getNext()

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

Returns the next beat quantised to the current type.

Definition at line 150 of file tracktion_LaunchQuantisation.cpp.

Member Data Documentation

◆ edit

Edit& tracktion::engine::LaunchQuantisation::edit

The Edit this belongs to.


Definition at line 83 of file tracktion_LaunchQuantisation.h.

◆ type

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

The current type property.


Definition at line 84 of file tracktion_LaunchQuantisation.h.


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