(cls, version)
return result
Creates an empty instance.

        Args:
          version: The PICO-8 file version.

        Returns:
          A Sfx instance.
Creates an empty instance.
Creates an empty instance .
def empty(cls, version):
        """Creates an empty instance.

        Args:
          version: The PICO-8 file version.

        Returns:
          A Sfx instance.
        """
        result = cls(data=bytearray(b'\x00' * 4352), version=version)

        # Emulate PICO-8 defaults:
        result.set_properties(0, note_duration=1)
        for i in range(1, 64):
            result.set_properties(i, note_duration=16)

        return result
def empty ( cls , version ) : result = cls ( data = bytearray ( b'\x00' * 4352 ) , version = version ) # Emulate PICO-8 defaults: result . set_properties ( 0 , note_duration = 1 ) for i in range ( 1 , 64 ) : result . set_properties ( i , note_duration = 16 ) return result