musicaiz.features.get_highest_lowest_pitches¶
- musicaiz.features.get_highest_lowest_pitches(notes: List[musicaiz.structure.notes.Note]) Tuple[int, int] [source]¶
Extracts the highest and lowest pitches from a list of notes.
- Parameters
- notes: List[Note]
A list of musicaiz
Note()
objects.
- Returns
- highest_pitch, lowest_pitch: Tuple[int, int]
The highest and lowest pitches.