def _make_leaf_lists(self, numeric_map, talea_denominator): leaf_lists = [] for map_division in numeric_map: leaf_list = scoretools.make_leaves_from_talea( map_division, talea_denominator, decrease_durations_monotonically= \ self.decrease_durations_monotonically, ) leaf_lists.append(leaf_list) return leaf_lists
def _numeric_map_and_talea_denominator_to_leaf_lists( self, numeric_map, lcd): leaf_lists = [] for numeric_map_part in numeric_map: leaf_list = scoretools.make_leaves_from_talea( numeric_map_part, lcd, forbidden_written_duration=self.forbidden_written_duration, decrease_durations_monotonically=self.decrease_durations_monotonically, ) leaf_lists.append(leaf_list) return leaf_lists
def _numeric_map_and_talea_denominator_to_leaf_selections(self, numeric_map, lcd): from abjad.tools import rhythmmakertools selections = [] specifier = self._get_duration_spelling_specifier() tie_specifier = self._get_tie_specifier() for numeric_map_part in numeric_map: numeric_map_part = [_ for _ in numeric_map_part if _ != durationtools.Duration(0)] selection = scoretools.make_leaves_from_talea( numeric_map_part, lcd, forbidden_written_duration=specifier.forbidden_written_duration, decrease_durations_monotonically=specifier.decrease_durations_monotonically, spell_metrically=specifier.spell_metrically, use_messiaen_style_ties=tie_specifier.use_messiaen_style_ties, ) selections.append(selection) return selections
def _numeric_map_and_talea_denominator_to_leaf_selections( self, numeric_map, lcd): from abjad.tools import rhythmmakertools selections = [] specifier = self.duration_spelling_specifier if specifier is None: specifier = rhythmmakertools.DurationSpellingSpecifier() for numeric_map_part in numeric_map: selection = scoretools.make_leaves_from_talea( numeric_map_part, lcd, forbidden_written_duration=\ specifier.forbidden_written_duration, decrease_durations_monotonically=\ specifier.decrease_durations_monotonically, ) selections.append(selection) return selections
def _numeric_map_and_talea_denominator_to_leaf_selections( self, numeric_map, lcd): from abjad.tools import rhythmmakertools selections = [] specifier = self.duration_spelling_specifier if specifier is None: specifier = rhythmmakertools.DurationSpellingSpecifier() for numeric_map_part in numeric_map: numeric_map_part = [ _ for _ in numeric_map_part if _ != durationtools.Duration(0) ] selection = scoretools.make_leaves_from_talea( numeric_map_part, lcd, forbidden_written_duration=\ specifier.forbidden_written_duration, decrease_durations_monotonically=\ specifier.decrease_durations_monotonically, ) selections.append(selection) return selections
def _numeric_map_and_talea_denominator_to_leaf_selections( self, numeric_map, lcd): from abjad.tools import rhythmmakertools selections = [] specifier = self._get_duration_spelling_specifier() tie_specifier = self._get_tie_specifier() for numeric_map_part in numeric_map: numeric_map_part = [ _ for _ in numeric_map_part if _ != durationtools.Duration(0) ] selection = scoretools.make_leaves_from_talea( numeric_map_part, lcd, forbidden_written_duration=\ specifier.forbidden_written_duration, decrease_durations_monotonically=\ specifier.decrease_durations_monotonically, spell_metrically=specifier.spell_metrically, use_messiaen_style_ties=tie_specifier.use_messiaen_style_ties, ) selections.append(selection) return selections