def _make_music(self, divisions, seeds): result = [] for division in divisions: assert isinstance(division, durationtools.Division), repr(division) written_duration = durationtools.Duration(1) multiplied_duration = division skip = scoretools.make_skips(written_duration, [multiplied_duration]) result.append(skip) return result
def _make_music(self, divisions, seeds): result = [] for division in divisions: assert isinstance(division, durationtools.Division), repr(division) written_duration = durationtools.Duration(1) multiplied_duration = division skip = scoretools.make_skips( written_duration, [multiplied_duration]) result.append(skip) return result
def _make_music(self, divisions, rotation): result = [] for division in divisions: prototype = mathtools.NonreducedFraction assert isinstance(division, prototype), repr(division) written_duration = durationtools.Duration(1) multiplied_duration = division skip = scoretools.make_skips(written_duration, [multiplied_duration]) result.append(skip) return result
def _make_music(self, divisions, rotation): result = [] for division in divisions: prototype = mathtools.NonreducedFraction assert isinstance(division, prototype), repr(division) written_duration = durationtools.Duration(1) multiplied_duration = division skip = scoretools.make_skips( written_duration, [multiplied_duration]) result.append(skip) return result