def __del__(self): if (self.writeOutput): WAVRecorder.saveSignalToWAV(Transmitter.signal, self.outputFileName, self.numberOfChannels, self.bitDepth, self.sampleRate) Transmitter.signal = None
def __del__( self ): if( self.writeOutput ): WAVRecorder.saveSignalToWAV ( Transmitter.signal, self.outputFileName, self.numberOfChannels, self.bitDepth, self.sampleRate ) Transmitter.signal = None
def __del__(self): if (self.writeOutput): WAVRecorder.saveSignalToWAV(self.signal, self.outputFileName, self.numberOfChannels, self.bitDepth, self.sampleRate) if (self.signal): self.signal = None if (self.widebandFilter): csignal_destroy_passband_filter(self.widebandFilter) BaseRecorder.bitPacker = None BaseRecorder.lock = None BaseRecorder.semaphore = None BaseRecorder.numObservationBits = None
def __del__( self ): if( self.writeOutput ): WAVRecorder.saveSignalToWAV ( self.signal, self.outputFileName, self.numberOfChannels, self.bitDepth, self.sampleRate ) if( self.signal ): self.signal = None if( self.widebandFilter ): csignal_destroy_passband_filter( self.widebandFilter ) BaseRecorder.bitPacker = None BaseRecorder.lock = None BaseRecorder.semaphore = None BaseRecorder.numObservationBits = None