Skip to main content

get_fraction

Function get_fraction 

Source
pub fn get_fraction(
    tuning_system: TuningSystem,
    index: usize,
    size: Option<UnsignedIntegerType>,
) -> Fraction
Expand description

Returns the fraction for a tuning-system degree.

The optional size overrides the tuning system’s octave size for equal-temperament-style systems.