def __init__(self, music=None, is_simultaneous=None, name=None): music = music or [] Component.__init__(self, name=name) self._named_children = {} self._is_simultaneous = False self._initialize_music(music) self.is_simultaneous = is_simultaneous
def __init__(self, written_duration, lilypond_duration_multiplier=None): Component.__init__(self) self._lilypond_duration_multiplier = lilypond_duration_multiplier self._leaf_index = None self.written_duration = durationtools.Duration(written_duration) self.written_pitch_indication_is_nonsemantic = False self.written_pitch_indication_is_at_sounding_pitch = True
def __init__(self, written_duration, name=None): Component.__init__(self, name=name) self._leaf_index = None self.written_duration = durationtools.Duration(written_duration)
def __init__(self, music=None, **kwargs): Component.__init__(self) self._named_children = {} self._simultaneous = False self._initialize_music(music) self._initialize_keyword_values(**kwargs)