Exemple #1
0
 def __init__(self, music=None, context_name='Context', name=None):
     Container.__init__(self, music=music)
     self.context_name = context_name
     self._consists_commands = []
     self._remove_commands = []
     self._name = None
     self.name = name
     self.is_nonsemantic = False
Exemple #2
0
 def __init__(self, music=None, context_name='Context', name=None):
     Container.__init__(self, music=music)
     self.context_name = context_name
     self._consists_commands = []
     self._remove_commands = []
     self._name = None
     self.name = name
     self.is_nonsemantic = False
Exemple #3
0
 def __init__(
     self,
     music=None,
     context_name='Context',
     is_simultaneous=None,
     name=None,
     ):
     Container.__init__(
         self,
         is_simultaneous=is_simultaneous,
         music=music,
         name=name,
         )
     self.context_name = context_name
     self._consists_commands = []
     self._remove_commands = []
     self.is_nonsemantic = False
Exemple #4
0
 def __init__(
     self,
     music=None,
     context_name='Context',
     is_simultaneous=None,
     name=None,
 ):
     Container.__init__(
         self,
         is_simultaneous=is_simultaneous,
         music=music,
         name=name,
     )
     self.context_name = context_name
     self._consists_commands = []
     self._remove_commands = []
     self.is_nonsemantic = False
 def __init__(self, music=None, kind='grace'):
     # self._carrier is a reference to the leaf carrying grace music
     self._carrier = None
     Container.__init__(self, music)
     self.kind = kind
Exemple #6
0
 def __init__(self, music=None):
     Container.__init__(self, music)
     self.is_simultaneous = False
Exemple #7
0
 def __init__(self, music=None):
     Container.__init__(self, music)
     self.is_simultaneous = False
Exemple #8
0
 def __init__(self, target_duration=None, music=None, **kwargs):
     Container.__init__(self, music=music, **kwargs)
     target_duration = target_duration or durationtools.Duration(1, 4)
     target_duration = durationtools.Duration(target_duration)
     assert 0 < target_duration
     self._target_duration = target_duration
Exemple #9
0
 def __init__(self, music=None, kind='grace'):
     # self._carrier is a reference to the leaf carrying grace music
     self._carrier = None
     Container.__init__(self, music)
     self.kind = kind