Struct pitch_calc::mel::Mel [] [src]

pub struct Mel(pub Mel);

Mel value representation - based on the Mel scale coined by Stevens, Volkmann and Newman in 1937.

Methods

impl Mel
[src]

Return the unit value of the Mel struct.

Convert to hz.

Convert to a Hz struct.

Convert to (Letter, Octave) tuple.

Convert to Letter.

Convert to Octave.

Convert to LetterOctave struct with the closest pitch.

Convert to a percentage of the human hearing range.

Convert to a Perc struct.

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 Step struct.

Trait Implementations

impl Debug for Mel
[src]

Formats the value using the given formatter.

impl Copy for Mel
[src]

impl Clone for Mel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Add for Mel
[src]

The resulting type after applying the + operator

The method for the + operator

impl Sub for Mel
[src]

The resulting type after applying the - operator

The method for the - operator

impl Mul for Mel
[src]

The resulting type after applying the * operator

The method for the * operator

impl Div for Mel
[src]

The resulting type after applying the / operator

The method for the / operator

impl Rem for Mel
[src]

The resulting type after applying the % operator

The method for the % operator

impl Neg for Mel
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl PartialEq for Mel
[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 Mel
[src]

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

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

impl From<Hz> for Mel
[src]

Performs the conversion.

impl From<LetterOctave> for Mel
[src]

Performs the conversion.

impl From<ScaledPerc> for Mel
[src]

Performs the conversion.

impl From<Perc> for Mel
[src]

Performs the conversion.

impl From<Step> for Mel
[src]

Performs the conversion.