code: def read_resampled(self):
          
          return self.resample(data=self.buffer_queue.get(),
                               input_rate=self.input_rate)
docs: Return a block of audio data resampled to 16000hz, blocking if necessary.