def __init__(self, path):
        Synthesizer.__init__(self, path)

        #self.timeout = 10

        #self.user = environ.get('GOOGLE_USER_STT') #Do smth with it
        #self.passwd = environ.get('GOOGLE_PASS_STT') #Do smth with it

        self.client = speech.SpeechClient()
    def __init__(self, path):
        Synthesizer.__init__(self, path)

        #self.timeout = 10

        self.user = environ.get('WATSON_USER_STT')
        self.passwd = environ.get('WATSON_PASS_STT')

        if self.user is None or self.passwd is None:
            raise ValueError(
                "One of the Watson's credidentials is not set. Try 'export WATSON_USER_STT=\"xxx\"' and 'export WATSON_PASS_STT=\"xxx\"'"
            )

        self.url = 'https://stream.watsonplatform.net/speech-to-text/api/v1/recognize'

        self.headers = {'content-type': 'audio/wav', 'Accept-Charset': 'UTF-8'}