TracktionEngine
Loading...
Searching...
No Matches
engine::KeyResult Struct Reference

#include <tracktion_Musicality.h>

Public Member Functions

 KeyResult ()=default
 KeyResult (double r_, int k_, Scale::ScaleType s_)
bool operator< (const KeyResult &other) const

Public Attributes

double r = 0
int key = 0
Scale::ScaleType scale = Scale::major

Constructor & Destructor Documentation

◆ KeyResult() [1/2]

engine::KeyResult::KeyResult ( )
default

Referenced by operator<().

◆ KeyResult() [2/2]

engine::KeyResult::KeyResult ( double r_,
int k_,
Scale::ScaleType s_ )

References key, r, and scale.

Member Function Documentation

◆ operator<()

bool engine::KeyResult::operator< ( const KeyResult & other) const

References KeyResult(), and r.

Member Data Documentation

◆ r

double engine::KeyResult::r = 0

Referenced by KeyResult(), and operator<().

◆ key

int engine::KeyResult::key = 0

Referenced by KeyResult().

◆ scale

Scale::ScaleType engine::KeyResult::scale = Scale::major

Referenced by KeyResult().


The documentation for this struct was generated from the following file: