def __init__(self, anchor=None, voice_name=None, time_relation=None, callbacks=None): assert isinstance(voice_name, (str, type(None))) assert isinstance(time_relation, (timerelationtools.TimeRelation, type(None))) assert time_relation is None or time_relation.is_fully_unloaded AnchoredExpression.__init__(self, anchor=anchor) IterablePayloadCallbackMixin.__init__(self, callbacks=callbacks) SelectMethodMixin.__init__(self) SetMethodMixin.__init__(self) assert voice_name is not None self._voice_name = voice_name self._time_relation = time_relation
def __init__(self, attribute=None, offset=None, voice_name=None, callbacks=None): from experimental.tools import musicexpressiontools assert attribute in self.attributes, repr(attribute) assert isinstance(voice_name, str), repr(voice_name) assert isinstance(offset, musicexpressiontools.OffsetExpression) AnchoredExpression.__init__(self, anchor=offset) IterablePayloadCallbackMixin.__init__(self, callbacks=callbacks) self._attribute = attribute self._offset = offset self._voice_name = voice_name
def __init__( self, attribute=None, offset=None, voice_name=None, callbacks=None, ): from experimental.tools import musicexpressiontools assert attribute in self.attributes, repr(attribute) assert isinstance(voice_name, str), repr(voice_name) assert isinstance(offset, musicexpressiontools.OffsetExpression) AnchoredExpression.__init__(self, anchor=offset) IterablePayloadCallbackMixin.__init__(self, callbacks=callbacks) self._attribute = attribute self._offset = offset self._voice_name = voice_name
def __init__( self, anchor=None, voice_name=None, time_relation=None, callbacks=None, ): assert isinstance(voice_name, (str, type(None))) prototype = (timespantools.TimeRelation, type(None)) assert isinstance(time_relation, prototype) assert time_relation is None or time_relation.is_fully_unloaded AnchoredExpression.__init__(self, anchor=anchor) IterablePayloadCallbackMixin.__init__(self, callbacks=callbacks) SelectMethodMixin.__init__(self) SetMethodMixin.__init__(self) assert voice_name is not None self._voice_name = voice_name self._time_relation = time_relation
def __init__(self, handler=None, callbacks=None): assert isinstance(handler, handlertools.Handler), repr(handler) Expression.__init__(self) IterablePayloadCallbackMixin.__init__(self, callbacks=callbacks) self._handler = handler
def __init__(self, statal_server=None, callbacks=None): assert isinstance(statal_server, datastructuretools.StatalServer) Expression.__init__(self) IterablePayloadCallbackMixin.__init__(self, callbacks=callbacks) self._statal_server = statal_server
def __init__(self, handler=None, callbacks=None): assert isinstance(handler, handlertools.Handler), repr(handler) Expression.__init__(self) IterablePayloadCallbackMixin.__init__(self, callbacks=callbacks) self._handler = handler