[][src]Enum tune::temperament::TemperamentType

pub enum TemperamentType {
    Meantone,
    Porcupine,
}

Variants

Meantone

Octave-reduced temperament treating 4 fifths to be equal to one major third.

The major third can be divided into two equal parts which form the natural or primary steps of the scale.

The note names are derived from the genchain of fifths [ … Bb F C G D A E B F# … ]. This results in standard music notation with G at one fifth above C and D at two fifths == 1/2 major third == 1 primary step above C.

Porcupine

Octave-reduced temperament treating 3 major thirds to be equal to 5 fifths.

This temperament is best described in terms of primary steps three of which form a fourth. A primary step can formally be considered a minor second but in terms of just ratios may be closer to a major second.

The note names are derived from the genchain of primary steps [ … G# A B C D E F G Ab … ]. In contrast to meantone, the intervals E-F and F-G have the same size of one primary step while G-A is different, usually larger.

Trait Implementations

impl Clone for TemperamentType[src]

impl Copy for TemperamentType[src]

impl Debug for TemperamentType[src]

impl Display for TemperamentType[src]

impl Eq for TemperamentType[src]

impl Hash for TemperamentType[src]

impl PartialEq<TemperamentType> for TemperamentType[src]

impl StructuralEq for TemperamentType[src]

impl StructuralPartialEq for TemperamentType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.