pub fn simple_interval(&self, other: &Self) -> Interval {
        let (lower, higher) = if let Ordering::Less = self.cmp(other) {
            (self, other)
        } else {
            (other, self)
        };
        Interval::from_notes(&lower.note, &higher.note)
    }
/// The interval between one [`PitchedNote`] and another, without any octave information
The interval between one [`PitchedNote`] and another, without any octave information
The interval between one [ ` PitchedNote ` ] and another without any octave information
pub fn simple_interval(&self, other: &Self) -> Interval {
        let (lower, higher) = if let Ordering::Less = self.cmp(other) {
            (self, other)
        } else {
            (other, self)
        };
        Interval::from_notes(&lower.note, &higher.note)
    }
pub fn simple_interval ( & self , other : & Self ) -> Interval { let ( lower , higher ) = if let Ordering :: Less = self . cmp ( other ) { ( self , other ) } else { ( other , self ) } ; Interval :: from_notes ( & lower . note , & higher . note ) }
The interval between one [`PitchedNote`] and another, without any octave information
The interval between one [ ` PitchedNote ` ] and another without any octave information
&self
other
&Self