numuse.notation.DoubleRootedIntervalCollection
numuse.notation.DoubleRootedIntervalCollection¶
- class numuse.notation.DoubleRootedIntervalCollection(notes: Set[numuse.notation.Note], duration=0, musical_system=<numuse.musical_system.RBMS_Approximation object>)[source]¶
Bases:
numuse.notation.NoteCollectionA rooted interval collection where the note in the RIC is an interval above another note
- __init__(notes: Set[numuse.notation.Note], duration=0, musical_system=<numuse.musical_system.RBMS_Approximation object>)¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(notes[, duration, musical_system])Initialize self.
compute_diatonic_distance(other_NC)Return how many notes the two note collections differ by dividided by the number of notes it has
Generates the wave function determined by the current musical system
- compute_diatonic_distance(other_NC: numuse.notation.NoteCollection) → float¶
Return how many notes the two note collections differ by dividided by the number of notes it has
- generate_wave_function()¶
Generates the wave function determined by the current musical system
