TracktionEngine
Enumerations | Functions
tracktion::engine::ModifierCommon Namespace Reference

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 getRateTypeChoices ()
 
double getBarFraction (RateType) noexcept
 Returns the fraction of a bar to be used for a given rate type. More...
 
juce::StringArray getSyncTypeChoices ()
 

Enumeration Type Documentation

◆ RateType

Enumerator
hertz 
fourBars 
twoBars 
bar 
halfT 
half 
halfD 
quarterT 
quarter 
quarterD 
eighthT 
eighth 
eighthD 
sixteenthT 
sixteenth 
sixteenthD 
thirtySecondT 
thirtySecond 
thirtySecondD 
sixtyFourthT 
sixtyFourth 
sixtyFourthD 

◆ SyncType

Enumerator
free 
transport 
note 

Function Documentation

◆ getRateTypeChoices()

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

◆ getBarFraction()

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

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

◆ getSyncTypeChoices()

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