def METHOD_NAME(self):
    """
    save wave data
    """
    p = pyaudio.PyAudio()
    wf = wave.open(self.fileName, 'wb')
    wf.setnchannels(self.channels)
    wf.setsampwidth(p.get_sample_size(self.format))
    wf.setframerate(self.rate)
    wf.writeframes(b''.join(self.data_backup))
    wf.close()
    p.terminate()