Struct pitch_calc::step::Step [] [src]

pub struct Step(pub Step);

Pitch representation in the form of a MIDI-esque Step.

Methods

impl Step
[src]

Return the value in steps.

Return the unit value of the equivalent frequency Hz.

Convert to the equivalent frequency in Hz.

Convert to the closest equivalent (Letter, Octave).

Convert to the closest equivalent Letter.

Convert to the closest equivalent Octave.

Convert to the closest equivalent LetterOctave.

Convert to a Mel unit value.

Convert to a Mel struct.

Convert to the unit value of the equivalent 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.

Trait Implementations

impl Debug for Step
[src]

Formats the value using the given formatter.

impl Copy for Step
[src]

impl Clone for Step
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Add for Step
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub for Step
[src]

The resulting type after applying the - operator

The method for the - operator

impl Mul for Step
[src]

The resulting type after applying the * operator

The method for the * operator

impl Div for Step
[src]

The resulting type after applying the / operator

The method for the / operator

impl Rem for Step
[src]

The resulting type after applying the % operator

The method for the % operator

impl Neg for Step
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl PartialEq for Step
[src]

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

This method tests for !=.

impl Eq for Step
[src]

impl PartialOrd for Step
[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 Ord for Step
[src]

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

impl From<Hz> for Step
[src]

Performs the conversion.

impl From<Mel> for Step
[src]

Performs the conversion.

impl From<LetterOctave> for Step
[src]

Performs the conversion.

impl From<ScaledPerc> for Step
[src]

Performs the conversion.

impl From<Perc> for Step
[src]

Performs the conversion.