Ejemplo n.º 1
0
 def _setup_instrument(self):
     super(Cntrlr, self)._setup_instrument()
     self._instrument._main_modes._mode_map['audioloop'] = _ModeEntry(
         mode=tomode(self._audioloop_pass),
         cycle_mode_button_color=None,
         behaviour=self._instrument._main_modes.default_behaviour,
         groups=set())
     self._instrument.shift_button_layer = AddLayerMode(
         self._instrument, Layer(priority=5, ))
     self._instrument._drumpad._step_sequencer._loop_selector._follow_task.restart(
     )
Ejemplo n.º 2
0
 def __init__(self, mode=None, *a, **k):
     super(MultiEntryMode, self).__init__(*a, **k)
     self._mode = tomode(mode)
     self._entry_count = 0
 def __init__(self, mode = None, *a, **k):
     super(MultiEntryMode, self).__init__(*a, **k)
     self._mode = tomode(mode)
     self._entry_count = 0