def reverse(self): """Reverse the sound.""" assert not self.__locked self.__frames = audioop.reverse(self.__frames, self.__samplewidth) return self