pub fn interval_size(&self, note_above: &Self) -> IntervalSize {
        let size = note_above.diatonic_scale_degree() as isize - self.diatonic_scale_degree() as isize;
        let size = size.rem_euclid(DIATONIC_SCALE as isize);
        IntervalSize::from_diatonic_size(size as usize)
    }
/// Calculate the [`IntervalSize`] between two note names
Calculate the [`IntervalSize`] between two note names
Calculate the [ ` IntervalSize ` ] between two note names
pub fn interval_size(&self, note_above: &Self) -> IntervalSize {
        let size = note_above.diatonic_scale_degree() as isize - self.diatonic_scale_degree() as isize;
        let size = size.rem_euclid(DIATONIC_SCALE as isize);
        IntervalSize::from_diatonic_size(size as usize)
    }
pub fn interval_size ( & self , note_above : & Self ) -> IntervalSize { let size = note_above . diatonic_scale_degree ( ) as isize - self . diatonic_scale_degree ( ) as isize ; let size = size . rem_euclid ( DIATONIC_SCALE as isize ) ; IntervalSize :: from_diatonic_size ( size as usize ) }
Calculate the [`IntervalSize`] between two note names
Calculate the [ ` IntervalSize ` ] between two note names
&self
note_above
&Self