pub fn diatonic_scale_degree(&self) -> usize {
        match self {
            NoteName::C => 0,
            NoteName::D => 1,
            NoteName::E => 2,
            NoteName::F => 3,
            NoteName::G => 4,
            NoteName::A => 5,
            NoteName::B => 6,
        }
    }
/// The placement of the note name in a C Major scale. C is zero and B is seven.
The placement of the note name in a C Major scale. C is zero and B is seven.
The placement of the note name in a C Major scale . C is zero and B is seven .
pub fn diatonic_scale_degree(&self) -> usize {
        match self {
            NoteName::C => 0,
            NoteName::D => 1,
            NoteName::E => 2,
            NoteName::F => 3,
            NoteName::G => 4,
            NoteName::A => 5,
            NoteName::B => 6,
        }
    }
pub fn diatonic_scale_degree ( & self ) -> usize { match self { NoteName :: C => 0 , NoteName :: D => 1 , NoteName :: E => 2 , NoteName :: F => 3 , NoteName :: G => 4 , NoteName :: A => 5 , NoteName :: B => 6 , } }
The placement of the note name in a C Major scale.
The placement of the note name in a C Major scale .
&self