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

Classes

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

Namespaces

namespace  tracktion
 
namespace  tracktion::engine
 
namespace  juce
 

Enumerations

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

Functions

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