def METHOD_NAME(self, length, exception_on_overflow=False):
    if self.start_count > 0:
        wav = bytes(length * 2)
        self.start_count -= 1
    else:
        wav = self.fr.readframes(length)
    if len(wav) <= 0:
        wav = bytes(length * 2)
        self.end_count -= 1
        if self.end_count < 0:
            Hyperparameters.VC_END_FLAG = True
    return wav