pub fn from_pitches(hzs: &[Hz]) -> Option<Self> {
        if hzs.len() < 127 { return None }

        let pitches = hzs[0..127].to_owned();
        Some(MidiTuning {
            pitches
        })   
    }
/// Creates `MidiTuning` from a slice of pitches
Creates `MidiTuning` from a slice of pitches
Creates ` MidiTuning ` from a slice of pitches
pub fn from_pitches(hzs: &[Hz]) -> Option<Self> {
        if hzs.len() < 127 { return None }
        let pitches = hzs[0..127].to_owned();
        Some(MidiTuning {
            pitches
        })   
    }
pub fn from_pitches ( hzs : & [ Hz ] ) -> Option < Self > { if hzs . len ( ) < 127 { return None } let pitches = hzs [ 0 .. 127 ] . to_owned ( ) ; Some ( MidiTuning { pitches } ) }
Creates `MidiTuning` from a slice of pitches
Creates ` MidiTuning ` from a slice of pitches
hzs
&[Hz]
hzs
&[Hz]