code: def write(self, chars, output):
          
          data = self.generate(chars)
          with open(output, 'wb') as f:
              return f.write(data)
docs: Generate and write audio CAPTCHA data to the output.
  
          :param chars: text to be generated.
          :param output: output destionation.