def __init__(self, google_api_key): self.recognizer = sr.Recognizer() self._api_key = google_api_key self._number_channels = None