code: def generate(self, chars):
          
          if not self._cache:
              self.load()
          body = self.create_wave_body(chars)
          return patch_wave_header(body)
docs: Generate audio CAPTCHA data. The return data is a bytearray.
  
          :param chars: text to be generated.