def SysExFilter(manufacturer): sysex = _util.sysex_to_bytearray([0xf0]) + manufacturer return _Filter(_mididings.SysExFilter(sysex, True))
def _sysex_setter(self, sysex): self._check_type_attribute(_constants.SYSEX, 'sysex') self._sysex_tmp = _util.sysex_to_bytearray(sysex)
def _get_sysex(self): if hasattr(self, '_sysex_tmp'): return self._sysex_tmp else: return _util.sysex_to_bytearray(self.sysex_)