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

« « « Anklang Documentation
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
tracktion_ModifierCommon.h File Reference

Go to the source code of this file.

Namespaces

namespace  tracktion
 
namespace  tracktion::engine
 Declarations from this namespaces are inlined into tracktion.
 

Enumerations

enum  RateType {
  hertz , fourBars , twoBars , bar ,
  halfT , half , halfD , quarterT ,
  quarter , quarterD , eighthT , eighth ,
  eighthD , sixteenthT , sixteenth , sixteenthD ,
  thirtySecondT , thirtySecond , thirtySecondD , sixtyFourthT ,
  sixtyFourth , sixtyFourthD
}
 
enum  SyncType { free , transport , note }
 

Functions

juce::StringArray tracktion::engine::ModifierCommon::getRateTypeChoices ()
 
double tracktion::engine::ModifierCommon::getBarFraction (RateType) noexcept
 Returns the fraction of a bar to be used for a given rate type.
 
juce::StringArray tracktion::engine::ModifierCommon::getSyncTypeChoices ()
 

Enumeration Type Documentation

◆ RateType

enum tracktion::engine::ModifierCommon::RateType

Definition at line 16 of file tracktion_ModifierCommon.h.

◆ SyncType

enum tracktion::engine::ModifierCommon::SyncType

Definition at line 71 of file tracktion_ModifierCommon.h.

Function Documentation

◆ getBarFraction()

double tracktion::engine::ModifierCommon::getBarFraction ( RateType  rt)
noexcept

Returns the fraction of a bar to be used for a given rate type.

Definition at line 16 of file tracktion_ModifierCommon.cpp.

◆ getRateTypeChoices()

juce::StringArray tracktion::engine::ModifierCommon::getRateTypeChoices ( )

Definition at line 42 of file tracktion_ModifierCommon.h.

◆ getSyncTypeChoices()

juce::StringArray tracktion::engine::ModifierCommon::getSyncTypeChoices ( )

Definition at line 78 of file tracktion_ModifierCommon.h.