TracktionEngine
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
tracktion_LaunchQuantisation.h File Reference

Classes

class  engine::LaunchQuantisation
 Represents a launch quantisation. More...
 
struct  juce::VariantConverter< tracktion::engine::LaunchQType >
 

Namespaces

namespace  engine
 
namespace  juce
 

Enumerations

enum class  engine::LaunchQType {
  engine::none , engine::eightBars , engine::fourBars , engine::twoBars ,
  engine::bar , engine::halfT , engine::half , engine::halfD ,
  engine::quarterT , engine::quarter , engine::quarterD , engine::eighthT ,
  engine::eighth , engine::eighthD , engine::sixteenthT , engine::sixteenth ,
  engine::sixteenthD , engine::thirtySecondT , engine::thirtySecond , engine::thirtySecondD ,
  engine::sixtyFourthT , engine::sixtyFourth , engine::sixtyFourthD
}
 

Functions

juce::StringArray engine::getLaunchQTypeChoices ()
 Returns a list of quantisation type options in the order of LaunchQType.
 
std::optional< LaunchQTypeengine::launchQTypeFromName (const juce::String &)
 Returns a the launch Q from a string returned from getLaunchQTypeChoices().
 
juce::String engine::getName (LaunchQType)
 Retuns the name of a LaunchQType for display purposes.
 
double engine::toBarFraction (LaunchQType) noexcept
 Returns the fraction of a bar to be used for a given rate type.
 
LaunchQType engine::fromBarFraction (double) noexcept
 Returns the fraction of a bar to be used for a given rate type.
 
BeatPosition engine::getNext (LaunchQType, const TempoSequence &, BeatPosition) noexcept
 Returns the next quantised position.
 
BeatPosition engine::getNext (LaunchQType, const tempo::Sequence &, BeatPosition) noexcept
 Returns the next quantised position.