Пример #1
0
    def __del__(self):
        if (self.writeOutput):
            WAVRecorder.saveSignalToWAV(Transmitter.signal,
                                        self.outputFileName,
                                        self.numberOfChannels, self.bitDepth,
                                        self.sampleRate)

        Transmitter.signal = None
Пример #2
0
  def __del__( self ):
    if( self.writeOutput ):
      WAVRecorder.saveSignalToWAV ( 
        Transmitter.signal, self.outputFileName, self.numberOfChannels,
        self.bitDepth, self.sampleRate
                                  )

    Transmitter.signal  = None
Пример #3
0
    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
Пример #4
0
  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