(self, id, begin=None, end=None, stop=None)
Sets the properties of the music pattern.

        Specify values of True or False to change a property, or None to leave
        the property unchanged.

        Args:
          id: The music ID. (0-63)
          begin: True to set the flag, False to unset the flag, or None to
            leave it unchanged.
          end: True to set the flag, False to unset the flag, or None to
            leave it unchanged.
          stop: True to set the flag, False to unset the flag, or None to
            leave it unchanged.
Sets the properties of the music pattern.
Sets the properties of the music pattern .
def set_properties(self, id, begin=None, end=None, stop=None):
        """Sets the properties of the music pattern.

        Specify values of True or False to change a property, or None to leave
        the property unchanged.

        Args:
          id: The music ID. (0-63)
          begin: True to set the flag, False to unset the flag, or None to
            leave it unchanged.
          end: True to set the flag, False to unset the flag, or None to
            leave it unchanged.
          stop: True to set the flag, False to unset the flag, or None to
            leave it unchanged.
        """
        if begin is not None:
            self._data[id * 4] = ((self._data[id * 4] & 0x7f) |
                                  (0x80 if begin else 0x00))
        if end is not None:
            self._data[id * 4 + 1] = ((self._data[id * 4 + 1] & 0x7f) |
                                      (0x80 if end else 0x00))
        if stop is not None:
            self._data[id * 4 + 2] = ((self._data[id * 4 + 2] & 0x7f) |
                                      (0x80 if stop else 0x00))
def set_properties ( self , id , begin = None , end = None , stop = None ) : if begin is not None : self . _data [ id * 4 ] = ( ( self . _data [ id * 4 ] & 0x7f ) | ( 0x80 if begin else 0x00 ) ) if end is not None : self . _data [ id * 4 + 1 ] = ( ( self . _data [ id * 4 + 1 ] & 0x7f ) | ( 0x80 if end else 0x00 ) ) if stop is not None : self . _data [ id * 4 + 2 ] = ( ( self . _data [ id * 4 + 2 ] & 0x7f ) | ( 0x80 if stop else 0x00 ) )