Struct novation_remote_25sl::LetterOctave [] [src]

pub struct LetterOctave(pub Letter, pub i32);

Pitch representation in the form of a frequency (hz).

Methods

impl LetterOctave
[src]

Return the value as (Letter, Octave).

Return just the Letter.

Return just the octave.

Convert to the unit value of Hz with the equivalent pitch.

Convert to a Hz with the equivalent pitch.

Convert to the unit value of a Mel with equivalent pitch.

Convert to a Mel struct.

Convert to the unit value of a Perc.

Convert to a percentage of the human hearing range.

Convert to a scaled percentage of the human hearing range with a given weight.

Convert to a scaled percentage of the human hearing range.

Convert to a scaled percentage of the human hearing range with a given weight.

Convert to a scaled percentage of the human hearing range.

Convert to the unit value of a Step.

Convert to a floating point MIDI-esque Step.

Trait Implementations

impl Neg for LetterOctave
[src]

impl Clone for LetterOctave
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialOrd<LetterOctave> for LetterOctave
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Sub<LetterOctave> for LetterOctave
[src]

impl Copy for LetterOctave
[src]

impl Add<LetterOctave> for LetterOctave
[src]

impl From<Step> for LetterOctave
[src]

Performs the conversion.

impl From<Perc> for LetterOctave
[src]

Performs the conversion.

impl From<ScaledPerc> for LetterOctave
[src]

Performs the conversion.

impl From<Hz> for LetterOctave
[src]

Performs the conversion.

impl From<Mel> for LetterOctave
[src]

Performs the conversion.

impl Div<LetterOctave> for LetterOctave
[src]

impl Ord for LetterOctave
[src]

This method returns an Ordering between self and other. Read more

impl Rem<LetterOctave> for LetterOctave
[src]

impl Mul<LetterOctave> for LetterOctave
[src]

impl Eq for LetterOctave
[src]

impl Hash for LetterOctave
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq<LetterOctave> for LetterOctave
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for LetterOctave
[src]

Formats the value using the given formatter.