AwesomeTTS (Google Cloud Text-to-Speech & Microsoft Azure TTS) [unofficial]
0.20MB. Updated 2021-06-17.
The author has shared 37 other
item(s).
Description
Download
As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.
Supported Anki versions:
- 2.1.0-2.1.26 (Updated 2020-09-17)
- 2.1.28-2.1.40 (Updated 2020-10-20)
- 2.1.41-2.1.44+ (Updated 2021-06-17)
To download this add-on, please copy and paste the following code into Anki 2.1:
814349176
If you were linked to this page from the internet, please open Anki on your computer, go to the Tools->Add-ons menu item, then click on Get Add-ons and paste in the code.
All Anki 2.1.x Add-Ons Contact Author
Reviews

Awesome, Working on latest version Q5

Not sure what to do with this but it said to copy paste it
Debug info:
Anki 2.1.60 (76d88073) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-03-16 09:19:55
Caught exception:
Traceback (most recent call last):
File "aqt.webview", line 46, in cmd
File "aqt.webview", line 153, in _onCmd
File "aqt.webview", line 662, in _onBridgeCmd
File "aqt.editor", line 469, in onBridgeCmd
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 121, in _show
self._instance = self._target.constructor(
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py", line 670, in __init__
super(EditorGenerator, self).__init__(
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 243, in __init__
super(ServiceDialog, self).__init__(*args, **kwargs)
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 80, in __init__
self.setLayout(self._ui())
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 255, in _ui
hor.addLayout(self._ui_services())
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 313, in _ui_services
layout.addLayout(self._ui_services_presets())
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 340, in _ui_services_presets
save.setFixedWidth(save.fontMetrics().width(save.text()) + 20)
AttributeError: 'QFontMetrics' object has no attribute 'width'
Can you help me, pls?
Debug info:
Anki 2.1.60 (76d88073) Python 3.9.15 Qt 6.4.2 PyQt 6.4.0
Platform: Windows-10-10.0.19045
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2023-03-16 09:19:55
Caught exception:
Traceback (most recent call last):
File "aqt.webview", line 46, in cmd
File "aqt.webview", line 153, in _onCmd
File "aqt.webview", line 662, in _onBridgeCmd
File "aqt.editor", line 469, in onBridgeCmd
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 121, in _show
self._instance = self._target.constructor(
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py", line 670, in __init__
super(EditorGenerator, self).__init__(
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 243, in __init__
super(ServiceDialog, self).__init__(*args, **kwargs)
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 80, in __init__
self.setLayout(self._ui())
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 255, in _ui
hor.addLayout(self._ui_services())
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 313, in _ui_services
layout.addLayout(self._ui_services_presets())
File "C:\Users\thall\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 340, in _ui_services_presets
save.setFixedWidth(save.fontMetrics().width(save.text()) + 20)
AttributeError: 'QFontMetrics' object has no attribute 'width'
Can you help me, pls?
Comment from author
It could be fixed either by installing Qt5 version of Anki - https://docs.ankiweb.net/platform/windows/installing.html#qt5-vs-qt6 - or AwesomeTTS - Add speech to your flashcards - https://ankiweb.net/shared/info/1436550454
It's unknown if/when this add-on will be updated again to support the latest version of Anki.
It's unknown if/when this add-on will be updated again to support the latest version of Anki.

Very useful

Great add-on!

It's giving this problem in my most updated version of anki!
Please help me!
error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-09-21 06:22:56
Caught exception:
Traceback (most recent call last):
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 121, in _show
self._instance = self._target.constructor(
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 76, in __init__
super(Configurator, self).__init__(title="Configuration",
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 80, in __init__
self.setLayout(self._ui())
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 85, in _ui
layout.addWidget(self._ui_tabs())
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 103, in _ui_tabs
tabs.addTab(content(), QtGui.QIcon(f'{ICONS}/{icon}.png'),
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 189, in _ui_tabs_text
layout.addWidget(self._ui_tabs_text_mode(
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 223, in _ui_tabs_text_mode
("Advanced", self._ui_tabs_text_mode_adv(infix)),
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 338, in _ui_tabs_text_mode_adv
return Slate("Rule", SubListView, [self._sul_compiler],
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 359, in __init__
list_view = ListViewClass(*list_view_args)
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\listviews.py", line 115, in __init__
super(SubListView, self).__init__(*args, **kwargs)
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\listviews.py", line 50, in __init__
self.setSelectionMode(self.ExtendedSelection)
AttributeError: 'SubListView' object has no attribute 'ExtendedSelection'
Please help me!
error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue to the add-on author.
Debug info:
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-09-21 06:22:56
Caught exception:
Traceback (most recent call last):
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 121, in _show
self._instance = self._target.constructor(
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 76, in __init__
super(Configurator, self).__init__(title="Configuration",
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 80, in __init__
self.setLayout(self._ui())
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 85, in _ui
layout.addWidget(self._ui_tabs())
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 103, in _ui_tabs
tabs.addTab(content(), QtGui.QIcon(f'{ICONS}/{icon}.png'),
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 189, in _ui_tabs_text
layout.addWidget(self._ui_tabs_text_mode(
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 223, in _ui_tabs_text_mode
("Advanced", self._ui_tabs_text_mode_adv(infix)),
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\configurator.py", line 338, in _ui_tabs_text_mode_adv
return Slate("Rule", SubListView, [self._sul_compiler],
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 359, in __init__
list_view = ListViewClass(*list_view_args)
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\listviews.py", line 115, in __init__
super(SubListView, self).__init__(*args, **kwargs)
File "C:\Users\USER\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\listviews.py", line 50, in __init__
self.setSelectionMode(self.ExtendedSelection)
AttributeError: 'SubListView' object has no attribute 'ExtendedSelection'

awesome feather and used to be my favorite one, but I am afraid it does not work on Anki 2.1.54
please fix it for Anki 2.1.54 !!
thanks a lot
please fix it for Anki 2.1.54 !!
thanks a lot

I'm sorry but I don't know what's wrong with this QAQ
错误
发生了一个错误。请在启动Anki时按住「Shift」键临时禁用插件加载。 如仅在插件启用时出错,请使用「工具」>「插件」功能禁用部分插件后重启Anki, 请重复上述步骤直至找到引起错误的插件。 找到引起错误的插件后,请反馈给插件作者。 调试信息:
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-07-28 11:04:17
'QFontMetrics' object has no attribute 'width'
Traceback (most recent call last):
File "aqt.webview", line 42, in cmd
File "aqt.webview", line 149, in _onCmd
File "aqt.webview", line 624, in _onBridgeCmd
File "aqt.editor", line 467, in onBridgeCmd
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 121, in _show
self._instance = self._target.constructor(
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py", line 670, in __init__
super(EditorGenerator, self).__init__(
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 243, in __init__
super(ServiceDialog, self).__init__(*args, **kwargs)
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 80, in __init__
self.setLayout(self._ui())
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 255, in _ui
hor.addLayout(self._ui_services())
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 313, in _ui_services
layout.addLayout(self._ui_services_presets())
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 340, in _ui_services_presets
save.setFixedWidth(save.fontMetrics().width(save.text()) + 20)
AttributeError: 'QFontMetrics' object has no attribute 'width'
错误
发生了一个错误。请在启动Anki时按住「Shift」键临时禁用插件加载。 如仅在插件启用时出错,请使用「工具」>「插件」功能禁用部分插件后重启Anki, 请重复上述步骤直至找到引起错误的插件。 找到引起错误的插件后,请反馈给插件作者。 调试信息:
Anki 2.1.54 (b6a7760c) Python 3.9.7 Qt 6.3.1 PyQt 6.3.1
Platform: Windows 10
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2022-07-28 11:04:17
'QFontMetrics' object has no attribute 'width'
Traceback (most recent call last):
File "aqt.webview", line 42, in cmd
File "aqt.webview", line 149, in _onCmd
File "aqt.webview", line 624, in _onBridgeCmd
File "aqt.editor", line 467, in onBridgeCmd
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 121, in _show
self._instance = self._target.constructor(
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py", line 670, in __init__
super(EditorGenerator, self).__init__(
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 243, in __init__
super(ServiceDialog, self).__init__(*args, **kwargs)
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 80, in __init__
self.setLayout(self._ui())
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 255, in _ui
hor.addLayout(self._ui_services())
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 313, in _ui_services
layout.addLayout(self._ui_services_presets())
File "C:\Users\ZQL\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 340, in _ui_services_presets
save.setFixedWidth(save.fontMetrics().width(save.text()) + 20)
AttributeError: 'QFontMetrics' object has no attribute 'width'

Thanks for your work.
...But, macOS (Apple Silicon, 2.1.54 Qt6) couldn't get your feature ;)
...But, macOS (Apple Silicon, 2.1.54 Qt6) couldn't get your feature ;)

Installed smoothly. :)

Anki 2.1.51, please

it's very helpful

Seems good

*I would like the Thai Voice in Papago Naver, but there isn't... In fact, Naver isn't working at all...it shows me this:
Cannot preview the input phrase with these settings.
Request got text/html; charset=utf-8 Content-Type for web request; wanted audio/mpeg
*I tried to use Neospeech and it doesn't work neither...It shows me this:
Cannot record the input phrase with these settings.
'set-cookie'
*Please I would very grateful to you, if you fix these problems.
Cannot preview the input phrase with these settings.
Request got text/html; charset=utf-8 Content-Type for web request; wanted audio/mpeg
*I tried to use Neospeech and it doesn't work neither...It shows me this:
Cannot record the input phrase with these settings.
'set-cookie'
*Please I would very grateful to you, if you fix these problems.

This Add on should come with the anki by default. It is highly necessary!

This is just revolutionary!

This is phenomenal.

I've been using it for a year, it's actually awesome !

Good

Amazing add-on.

Extremelly helpful! A must-have addon :)
Although I hope the Oddcast TTS will be brought back. It was my favourite one :(
Although I hope the Oddcast TTS will be brought back. It was my favourite one :(
Comment from author
Thank you but it's unlikely the Oddcast TTS will be back anytime soon. I received an email from the Oddcast to implement the official REST API. I wasn't interested to spend time doing it and all I could do is to disable the unofficial implementation with a single commit.
https://github.com/kelciour/awesometts-anki-addon/commit/472a32b9afdfb3ee456986073b462a251b1789ec
If they didn't change anything on their end, the code might still work.
I don't know but maybe the Oddcast TTS is still present and working in AwesomeTTS - Add speech to your flashcards - https://ankiweb.net/shared/info/1436550454
https://github.com/kelciour/awesometts-anki-addon/commit/472a32b9afdfb3ee456986073b462a251b1789ec
If they didn't change anything on their end, the code might still work.
I don't know but maybe the Oddcast TTS is still present and working in AwesomeTTS - Add speech to your flashcards - https://ankiweb.net/shared/info/1436550454

great

Very helpful!

very helpful add-on! Thanks you so much.
but VOICETEXT is not working.
If there's a solution to fix this, please tell me!
The following problem was encountered:
[Errno 2] Unable to find mplayer to dump audio stream. It might not have
been installed. (1 time)
but VOICETEXT is not working.
If there's a solution to fix this, please tell me!
The following problem was encountered:
[Errno 2] Unable to find mplayer to dump audio stream. It might not have
been installed. (1 time)

I'm trying to use this for my Japanese studying cards. Works great on the Expression field, but my Sentence field uses Furigana, meaning they look like eg:
賞味期限[しょうみきげん]が 昨日[きのう]までだから 心配[しんぱい]してる
what I actually want to get audio for is:
賞味期限が 昨日までだから 心配してる
usually that's accomplished by using "{{kanji:Sentence}}" in card templates (strips out the [...] parts), but I can't find a way to do that in the plugin, since it only allows one to select fields directly. Is there a way to do this (without editing the plugin code)?
(figured it out, there is a setting to strip stuff inside brackets in the plugin settings "text" section)
賞味期限[しょうみきげん]が 昨日[きのう]までだから 心配[しんぱい]してる
what I actually want to get audio for is:
賞味期限が 昨日までだから 心配してる
usually that's accomplished by using "{{kanji:Sentence}}" in card templates (strips out the [...] parts), but I can't find a way to do that in the plugin, since it only allows one to select fields directly. Is there a way to do this (without editing the plugin code)?
(figured it out, there is a setting to strip stuff inside brackets in the plugin settings "text" section)

Thank you a lot for this add you're badass.
Actually I tried use my api key with azure and It doesn't work. I have to change something to work?
Actually I tried use my api key with azure and It doesn't work. I have to change something to work?
Comment from author
Is there any error? If you're receiving "401 Client Error: Access Denied", maybe double check "Region" and "API Key".
Voices in preview are only available in these 3 regions: East US, West Europe and Southeast Asia.
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support#neural-voices-in-preview
Voices in preview are only available in these 3 regions: East US, West Europe and Southeast Asia.
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support#neural-voices-in-preview

super excited to see Azure support! Super cool to see! Thank you so much to the amazing team for building this out.

Awesome add-on, thank you for maintaining!
I have used Google Cloud Text-to-Speech, and now I would like to try Microsoft Azure but I cannot find it in the "Generate using" pull-down menu. How can I enable it? Thank you.
2021/05/09 Resolved after I updated my Anki...! Sorry for bothring!
I have used Google Cloud Text-to-Speech, and now I would like to try Microsoft Azure but I cannot find it in the "Generate using" pull-down menu. How can I enable it? Thank you.
2021/05/09 Resolved after I updated my Anki...! Sorry for bothring!

It works

Please help for GOOGLE Text-to-Speech - at the link:
https://cloud.google.com/text-to-speech
You can choose 4 voices in Spanish, 3 voices in Spanish from the United States and 1 voice in Spanish from Spain, if they update the plugin so that the Spanish voices can be chosen.
For GOOGLE Text ‑ to ‑ Speech - Currently you can only choose a Spanish voice from the plugin and it is outdated.
Have if they update the plugin please.
https://cloud.google.com/text-to-speech
You can choose 4 voices in Spanish, 3 voices in Spanish from the United States and 1 voice in Spanish from Spain, if they update the plugin so that the Spanish voices can be chosen.
For GOOGLE Text ‑ to ‑ Speech - Currently you can only choose a Spanish voice from the plugin and it is outdated.
Have if they update the plugin please.
Comment from author
Thank you. The add-on was updated for Anki 2.1.41+ and the Spanish voices should be available now.
If you still have it installed, but didn't receive an update notification from Anki, use Tools > Add-ons > Check for Updates.
If you still have it installed, but didn't receive an update notification from Anki, use Tools > Add-ons > Check for Updates.

403 Client Error: Forbidden for url: https://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyB9YUw6ihti2yIDXlebqAlIFL6FWoE6yo0
How to fix this? worked well for me in the past, but now I only get this?
How to fix this? worked well for me in the past, but now I only get this?
Comment from author
The API key can be tested with the web browser by using the following url to get a list of supported voices.
https://texttospeech.googleapis.com/v1/voices?key=API_KEY
If there's an error, Google will give more information about it. For the above API key, the error message says,
"Cloud Text-to-Speech API has not been used in project ### before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/texttospeech.googleapis.com/overview?project=### then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
https://texttospeech.googleapis.com/v1/voices?key=API_KEY
If there's an error, Google will give more information about it. For the above API key, the error message says,
"Cloud Text-to-Speech API has not been used in project ### before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/texttospeech.googleapis.com/overview?project=### then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."

I failed to generate mp3 files by using the official one for some reason, but it went well with this addon. Thank you.

"Must have" for me. Thank you.

after the update it is taking too long to record the audio, how can I fix this?
Comment from author
Without more information, it must be some external factors. The only recent change was the addition of Anki 2.1.41 support, it only affects the editor screen and shouldn't cause any slowdown.

Downgrade my Anki and it does work very well.

Thanks for the effort. .42 is now working

not working with latest Anki
Comment from author
The add-on was updated to support Anki 2.1.41+.

To the Author: does it make sense to disable a (for many people) fully functioning, highly popular Add-On … ;)
This very moment, I'm 'repping away', the Add-On functioning perfectly.
(would be nice if the official '814349176' could be installed alongside a renamed version, albeit suspended, so one immediately gets the updates)
For those on 2.1.41 who want to continue using the Add-On:
* copying config.db over to 1436550454 seems NOT to work
* deleting meta.json and renaming the folder '814349176' to something else DOES work; the Add-On seems to work as always
(you'll have to get 814349176 from a backup, or downgrade Anki momentarily)
On 10/03/2021, I wrote the following:
I'm on 2.1.41:
This morning, the Add-On worked fine, didn't notice anything …
Suddenly, it somehow disabled itself (saying it requires <=2.1.40).
Why would it have worked before?
I don't even need Google; just my onboard local voices are good enough.
Switching to 1436550454 means reprogramming all my Presets/Groups; or is there a way to import them?
This very moment, I'm 'repping away', the Add-On functioning perfectly.
(would be nice if the official '814349176' could be installed alongside a renamed version, albeit suspended, so one immediately gets the updates)
For those on 2.1.41 who want to continue using the Add-On:
* copying config.db over to 1436550454 seems NOT to work
* deleting meta.json and renaming the folder '814349176' to something else DOES work; the Add-On seems to work as always
(you'll have to get 814349176 from a backup, or downgrade Anki momentarily)
On 10/03/2021, I wrote the following:
I'm on 2.1.41:
This morning, the Add-On worked fine, didn't notice anything …
Suddenly, it somehow disabled itself (saying it requires <=2.1.40).
Why would it have worked before?
I don't even need Google; just my onboard local voices are good enough.
Switching to 1436550454 means reprogramming all my Presets/Groups; or is there a way to import them?
Comment from author
The add-on was updated to support Anki 2.1.41+.
---------------------------
Yes, considering that updating the add-on wasn't an option at the time and that I experienced the same issue twice myself and it wasn't very clear that this add-on could be at fault, limiting it to 2.1.40 for some time supposed to be a better choice than to let some users to experience the same issue first hand - hight CPU usage and visible unresponsiveness after "closing" and opening Anki the second time. I could add some warning in the description, but not everyone will read it and Anki users who just updated to Anki 2.1.42 won't be aware of the issue and might accidentally trigger it.
---------------------------
The previous reply:
I'm sorry, I should have added an explanation why the latest supported version was suddenly limited to 2.1.40.
I'm not sure how soon the add-on will be updated, but at the moment it isn't compatible with the latest Anki version. After using the add-on from the Add or Edit window, Anki will use a lot of CPU and it'll be impossible to close Anki without using the Task Manager.
About the presets, a possible alternative is to delete 814349176\meta.json and rename 814349176 to something else to make the add-on work again but it'll break future updates. Otherwise, simply copying 814349176\user_files\config.db after closing Anki to 1436550454\user_files\config.db after making a backup just in case might work. But until the add-on is updated it might be better not to use it from the Add or Edit window.
https://docs.ankiweb.net/#/files?id=file-locations
---------------------------
Yes, considering that updating the add-on wasn't an option at the time and that I experienced the same issue twice myself and it wasn't very clear that this add-on could be at fault, limiting it to 2.1.40 for some time supposed to be a better choice than to let some users to experience the same issue first hand - hight CPU usage and visible unresponsiveness after "closing" and opening Anki the second time. I could add some warning in the description, but not everyone will read it and Anki users who just updated to Anki 2.1.42 won't be aware of the issue and might accidentally trigger it.
---------------------------
The previous reply:
I'm sorry, I should have added an explanation why the latest supported version was suddenly limited to 2.1.40.
I'm not sure how soon the add-on will be updated, but at the moment it isn't compatible with the latest Anki version. After using the add-on from the Add or Edit window, Anki will use a lot of CPU and it'll be impossible to close Anki without using the Task Manager.
About the presets, a possible alternative is to delete 814349176\meta.json and rename 814349176 to something else to make the add-on work again but it'll break future updates. Otherwise, simply copying 814349176\user_files\config.db after closing Anki to 1436550454\user_files\config.db after making a backup just in case might work. But until the add-on is updated it might be better not to use it from the Add or Edit window.
https://docs.ankiweb.net/#/files?id=file-locations

The code above it's not working anymore, what can I do?
Comment from author
The add-on was updated to support Anki 2.1.41+.

The code 814349176 was invalid for the version 2.1.42 (8eebfe18)
Comment from author
The add-on was updated to support Anki 2.1.41+.

code for Versão 2.1.42 (8eebfe18)
Comment from author
The add-on was updated to support Anki 2.1.41+.

The code 814339176 is giving invalid code or extension not available for the Anki version. What to do?
Comment from author
The add-on was updated to support Anki 2.1.41+.

code 814339176 is giving invalid code or extension not available for the anki version. what to do?
Comment from author
The add-on was updated to support Anki 2.1.41+.

Experiencing the same issue about 403 Client error though I had my own API key.
Comment from author
Maybe it's the same error message, "This API method requires billing to be enabled."
To double-check, use this link with your API key - https://texttospeech.googleapis.com/v1/voices?key=API_KEY
To double-check, use this link with your API key - https://texttospeech.googleapis.com/v1/voices?key=API_KEY

RIP API key..
Please make more API keys !! Is there a way to make them without using credit card details ?
Please make more API keys !! Is there a way to make them without using credit card details ?
Comment from author
No, a non-virtual credit card is required. For Google, you'll also need to take a photo of it.
Thank you very much for the upvote a while ago but there's just too many reasons not to share the API key publicly anymore.
If the API key is still needed, the add-on was recently updated to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key probably will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57
Thank you very much for the upvote a while ago but there's just too many reasons not to share the API key publicly anymore.
If the API key is still needed, the add-on was recently updated to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key probably will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57

I also kindly ask for help in organizing the Azure API demo key, even for a few requests a day.
Comment from author
Thank you very much for the upvote a while ago but there's just too many reasons not to share the API key publicly anymore.
If the API key is still needed, the add-on was recently updated to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key likely will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57
If the API key is still needed, the add-on was recently updated to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key likely will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57

oddcast is not working
Comment from author
It's working fine for me.

good

This is key which working now.
AIzaSyAa8yy0GdcGPHdtD083HiGGx_S0vMPScDM
AIzaSyAa8yy0GdcGPHdtD083HiGGx_S0vMPScDM

It's working fine, thank you

Is not working. As commented below, the problem must be an API key. Does anyone have a Microsoft Azure API Key demo, please?

Could you add support for opus instead of mp3? it gives a lot better quality audio from Google TTS. I've changed the line in googletts.py from "audioEncoding": "MP3" to "audioEncoding": "OGG_OPUS" it gives opus but AwesomeTTS gives wrong extension mp3 to it even thought is opus. Anki on desktop can still play it even with wrong extension but not on mobile. So please fix it and allow to change it to opus.ogg for maximum compatibility (android 7 requires opus.ogg to play opus files)

As with some previous comments, there does seem to be an issue with the Google demo API. Still a great add-on though.
I just tried a demo of Microsoft Azure service and the quality is amazing! Hopefully this will be added to TTS soon. No problem getting my own API.
I just tried a demo of Microsoft Azure service and the quality is amazing! Hopefully this will be added to TTS soon. No problem getting my own API.

Not working Api key: AIzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxj0

Parou de funcionar a API demo pra mim, uso desde 14/09/ 2020.

I think this has stopped working.
Cannot preview the phrase with these setting.
403 client error:forbidden for url:http://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxj0
Cannot preview the phrase with these setting.
403 client error:forbidden for url:http://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxj0

Seems the demo API not working now...
Comment from author
Thank you very much for the upvote a while ago.
If the API key is still needed, the add-on was recently updated for Anki 2.1.41+ to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key probably will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57
If the API key is still needed, the add-on was recently updated for Anki 2.1.41+ to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key probably will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57

Same problem as in the last three comments.
Can you help me?
Cannot preview the phrase with these setting.
403 client error:forbidden for url:http://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxj0
Can you help me?
Cannot preview the phrase with these setting.
403 client error:forbidden for url:http://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxj0
Comment from author
Thank you very much for the upvote a while ago.
If the API key is still needed, the add-on was recently updated for Anki 2.1.41+ to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key likely will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57
If the API key is still needed, the add-on was recently updated for Anki 2.1.41+ to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key likely will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57

Same problem as in the last two comments.
Can you help me?
Cannot preview the phrase with these setting.
403 client error:forbidden for url:http://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxj0
Can you help me?
Cannot preview the phrase with these setting.
403 client error:forbidden for url:http://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxj0
Comment from author
Thank you very much for the upvote a while ago.
If the API key is still needed, the add-on was recently updated for Anki 2.1.41+ to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key likely will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57
If the API key is still needed, the add-on was recently updated for Anki 2.1.41+ to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key likely will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57

I love it and can't live without it.
But I haven't been able to use it today. I got the following error.
Cannot preview the phrase with these setting.
403 client error:forbidden for url:http://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxj0
But I haven't been able to use it today. I got the following error.
Cannot preview the phrase with these setting.
403 client error:forbidden for url:http://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxj0
Comment from author
Thank you very much for the upvote a while ago.
If the API key is still needed, the add-on was recently updated for Anki 2.1.41+ to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key likely will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57
If the API key is still needed, the add-on was recently updated for Anki 2.1.41+ to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key likely will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57

Thank you for making such a good plugin,
Helped me a lot in English learning. But recently there seems to be something wrong with ‘Google cloud’, and I don’t know anything about programming, can you help me?
Cannot preview the phrase with these setting.
403 client error:forbidden for url:http://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxj0
Helped me a lot in English learning. But recently there seems to be something wrong with ‘Google cloud’, and I don’t know anything about programming, can you help me?
Cannot preview the phrase with these setting.
403 client error:forbidden for url:http://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxj0
Comment from author
Thank you very much for the upvote a while ago.
If the API key is still needed, the add-on was recently updated for Anki 2.1.41+ to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key likely will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57
If the API key is still needed, the add-on was recently updated for Anki 2.1.41+ to support Microsoft Azure and the following API key might still work for some time, it's limited to a free tier and can only make 20 requests per minute and I think I won't be charged for its usage. But I don't think it'll last for more than a few weeks, maybe a month. The API key likely will be moved to Patreon and the current API key won't be working anymore.
Location: East US
Key: 04150fba6fe14e51b5d2352786734a57

Excellent addon! Works for Cantonese.

Estou enfrentando o seguinte problema:
I'm facing this following problem:
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-02-16 22:40:58
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 37, in cmd
File "aqt\webview.py", line 123, in _onCmd
File "aqt\webview.py", line 547, in _onBridgeCmd
File "aqt\editor.py", line 418, in onBridgeCmd
File "C:\Users\ruans\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 121, in _show
self._instance = self._target.constructor(
File "C:\Users\ruans\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py", line 670, in __init__
super(EditorGenerator, self).__init__(
File "C:\Users\ruans\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 243, in __init__
super(ServiceDialog, self).__init__(*args, **kwargs)
File "C:\Users\ruans\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 77, in __init__
super(Dialog, self).__init__(parent)
RuntimeError: wrapped C/C++ object of type Browser has been deleted
I'm facing this following problem:
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2021-02-16 22:40:58
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 37, in cmd
File "aqt\webview.py", line 123, in _onCmd
File "aqt\webview.py", line 547, in _onBridgeCmd
File "aqt\editor.py", line 418, in onBridgeCmd
File "C:\Users\ruans\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 121, in _show
self._instance = self._target.constructor(
File "C:\Users\ruans\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py", line 670, in __init__
super(EditorGenerator, self).__init__(
File "C:\Users\ruans\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 243, in __init__
super(ServiceDialog, self).__init__(*args, **kwargs)
File "C:\Users\ruans\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 77, in __init__
super(Dialog, self).__init__(parent)
RuntimeError: wrapped C/C++ object of type Browser has been deleted

Thanks

nice!!

Great!!!

Cool!

How can I remove the big icon?
Comment from author
I don't remember any big icon in the add-on. Could you share a picture?
Maybe you installed a different add-on. Please go to Tools > Add-ons > AwesomeTTS and click View Add-on Page.
Maybe you installed a different add-on. Please go to Tools > Add-ons > AwesomeTTS and click View Add-on Page.

Very useful

Edit: Having disabled and reenabled the image resizer add-on it seems to work a treat now.
Thanks so much for this really awesome add on!
Thanks so much for this really awesome add on!
Comment from author before post was edited
I'm a bit surprised that there's a conflict with image resizer add-on, but either consider creating a new issue at https://github.com/kelciour/awesometts-anki-addon/issues with a little bit more information on what happens or the exact error message if it was shown, or reply here.

Very good!!

Was dreaming about this and here I found. Supper. Good work!!

best

Best add-on

awesome thank you

Uninstalled and reinstalled. Got the Patreon access key and still no sound plays. It worked on the old Anki update but not the new one. Not sure what happened but definitely doesn't work for me.
- wrong add-on
- wrong add-on
Comment from author before post was edited
Thank you for the downvote, but I think you're talking about https://ankiweb.net/shared/info/1436550454
Though I do have my Patreon page - https://www.patreon.com/kelciour - created about a year and a half ago, but I didn't post a link to it until now and didn't share the API key through it. The only API key that I shared is listed on this very page and it's only for Google Cloud Text-to-Speech.
I don't use the above API key but its monthly free usage limit is limited and it might stop working at any moment, especially since it'd been posted quite a long time ago and might be used outside of the AwesomeTTS add-on. In the long run, it's very much recommended to create your own API key if you have a regular (non-virtual) credit card. And by you I mean anyone.
Microsoft Azure service will be added later but I don't know if I'll share the API key for it too. Maybe not or maybe will do it temporarily through Patreon if I can limit it to monthly free usage :). But I'm not very interested to actively support or improve AwesomeTTS at the moment. I only did it because there was no other option. Though I'll try to fix a few issues, once I could spare some free time, but it's a very low priority.
About "no sound plays", I'm afraid I might not have enough information to identify where could be the problem. Maybe try to add some local audio file and play it with Anki. If you're on Windows and there's no sound, try to install the alternate Anki version. Maybe share a sample deck. Maybe try to use AwesomeTTS and preview some phrase in AwesomeTTS window. If you do hear some sound, maybe there's a problem with the card template. If you use on-the-fly tts tags, maybe they're not in the card template. If you use [sound:...] tags, for example, by batch generating from the card browser, maybe the field is not present in the card template.
Though I do have my Patreon page - https://www.patreon.com/kelciour - created about a year and a half ago, but I didn't post a link to it until now and didn't share the API key through it. The only API key that I shared is listed on this very page and it's only for Google Cloud Text-to-Speech.
I don't use the above API key but its monthly free usage limit is limited and it might stop working at any moment, especially since it'd been posted quite a long time ago and might be used outside of the AwesomeTTS add-on. In the long run, it's very much recommended to create your own API key if you have a regular (non-virtual) credit card. And by you I mean anyone.
Microsoft Azure service will be added later but I don't know if I'll share the API key for it too. Maybe not or maybe will do it temporarily through Patreon if I can limit it to monthly free usage :). But I'm not very interested to actively support or improve AwesomeTTS at the moment. I only did it because there was no other option. Though I'll try to fix a few issues, once I could spare some free time, but it's a very low priority.
About "no sound plays", I'm afraid I might not have enough information to identify where could be the problem. Maybe try to add some local audio file and play it with Anki. If you're on Windows and there's no sound, try to install the alternate Anki version. Maybe share a sample deck. Maybe try to use AwesomeTTS and preview some phrase in AwesomeTTS window. If you do hear some sound, maybe there's a problem with the card template. If you use on-the-fly tts tags, maybe they're not in the card template. If you use [sound:...] tags, for example, by batch generating from the card browser, maybe the field is not present in the card template.

"To manually play on-the-fly <tts> tags, strike" option not working has been resolved. I used to assign the 5 and 6 on the numeric keypad to the front and back TTS playback respectively. However, 5,6 doesn't seem to work, I assigned them to 8,9 and they played back correctly :)))

I had a problem with short sounds. But now, I've realized it's because of the wireless headset. I fixed it by playing a background sound when reviewing

good

muito melhor que o tradicional, nao tem mais palavras quebradas e robotizadas

It really does well in adding audio.

Great!

nói chung xài được.tự động thêm audio

thanks for this great add-on
but how can I get the playback on the back card instead of the front card?
but how can I get the playback on the back card instead of the front card?
Comment from author
Could you please elaborate a bit or contact my by email kelciour@gmail.com or by creating a new issue on https://github.com/kelciour/awesometts-anki-addon/issues
I don't know if you're aware of it, but https://ankiatts.appspot.com/usage might be helpful.
If you review on mobile, maybe mass generate audio from the card browser.
If you review on desktop, maybe enable on-the-fly playback.
I don't know if you're aware of it, but https://ankiatts.appspot.com/usage might be helpful.
If you review on mobile, maybe mass generate audio from the card browser.
If you review on desktop, maybe enable on-the-fly playback.

Thank you Nickolay for this wonderful add-on, would it be possible to update it with the spanish wavenet voice released recently? because it does not appear in the list :(
Comment from author
Thank you. It might take some time before the add-on will be updated. As for now, please either update or edit googletts.py with the following steps.
1. Anki > Tools > Add-ons > AwesomeTTS > View Files, go to the "awesometts\service" folder.
2. Save the following page as googletts.py and copy/replace it in the "awesometts\service" folder.
https://gist.githubusercontent.com/kelciour/bbf4346dfd4896884dfe15f86cda429d/raw/6b65824b22c0ca5b2696dd5b8437ec5d90ffa9bc/googletts.py
3. Restart Anki.
Alternatively, open "awesometts\service\googletts.py" in any text editor and replace or update _voice_list with
("es-ES-Wavenet-B", "Spanish (es-ES-Wavenet-B)"),
while keeping the same number of spaces at the start of the line
https://gist.github.com/kelciour/bbf4346dfd4896884dfe15f86cda429d/revisions
1. Anki > Tools > Add-ons > AwesomeTTS > View Files, go to the "awesometts\service" folder.
2. Save the following page as googletts.py and copy/replace it in the "awesometts\service" folder.
https://gist.githubusercontent.com/kelciour/bbf4346dfd4896884dfe15f86cda429d/raw/6b65824b22c0ca5b2696dd5b8437ec5d90ffa9bc/googletts.py
3. Restart Anki.
Alternatively, open "awesometts\service\googletts.py" in any text editor and replace or update _voice_list with
("es-ES-Wavenet-B", "Spanish (es-ES-Wavenet-B)"),
while keeping the same number of spaces at the start of the line
https://gist.github.com/kelciour/bbf4346dfd4896884dfe15f86cda429d/revisions

Unfortunately the pronunciations are British!!!
unbearable and nonsensical
unbearable and nonsensical
Comment from author
Would you mind sharing a screenshot of your configuration?

this add-on is awesome but can you add Microsoft azure??
Comment from author
Thank you. I added Microsoft Azure a few weeks ago locally so I could use en-GB-LibbyNeural voice, but it's just some basic implementation without any extra options and https://ankiweb.net/shared/info/1436550454 already contains Microsoft Azure and might work just fine once you get the API key and there's no need for me to update the add-on at the moment, but just let me know and I'll upload it on GitHub and maybe will take some step-by-step screenshots on how to get the API key with the credit card.
It's just I wanted to fix another issue before updating the add-on, I have some work to do and it'll take some time before I'll get back to AwesomeTTS and give it a try.
It's just I wanted to fix another issue before updating the add-on, I have some work to do and it'll take some time before I'll get back to AwesomeTTS and give it a try.

Works very well. I added my Google Cloud Platform API key then generated the sound. Easy to use and implement if you are tech savvy.

This is a wonderful addon. However, I’m struggling trying to configure AwesomeTTS and would appreciate some help. I would like the addon not to record certain words or signs. For example, if leter ‘f’ is alone it means for me that the word is feminine. Thus I would like the addon not to record and then not to read this ‘f’ letter that accompanies my note. However, I managed only to configure the program the way that it would remove all ‘f’ letters in a note, regarding whether it is alone or within a word. For instance, it won’t read ‘Female’ but ‘emale’. I don't want to put unwanted words into brackets. I know doing it the way I want is possible because I managed to configure it that way a couple of years ago. Unfortunately, I'm unable to repeat my greatest IT achievement right now. Thanks for taking the time to read this.
EDIT: It works, thank you very, very much.
EDIT: It works, thank you very, very much.
Comment from author before post was edited
Try to replace \bf\b with nothing and check "regex". Here's a picture - https://imgur.com/vD2dlD9
\b is a word boundary in regular expressions
https://ankiatts.appspot.com/config/text - Advanced Handling
\b is a word boundary in regular expressions
https://ankiatts.appspot.com/config/text - Advanced Handling

This is a really great addon! However, I am experiencing an issue with Wiktionary with "No response for web request" error. Is there any way to fix this?
Edit 18.10.2020: Thanks, it works with latest Anki update 2.1.35!
Edit 20.10.2020: Seems like it only works with English wiktionary. To reproduce: try using input 'See' with German wiktionary. The webpage has the audio file, but won't add it. English, on the other hand, adds / plays the word just fine.
Edit 18.10.2020: Thanks, it works with latest Anki update 2.1.35!
Edit 20.10.2020: Seems like it only works with English wiktionary. To reproduce: try using input 'See' with German wiktionary. The webpage has the audio file, but won't add it. English, on the other hand, adds / plays the word just fine.
Comment from author
If you're on Anki 2.1.28+, Wiktionary should work now.
Update 20.10.2020. Thank you for the example. The add-on was updated and should work with 'See' and German wiktionary
Update 20.10.2020. Thank you for the example. The add-on was updated and should work with 'See' and German wiktionary

good

It looks good, I downloaded Anki application and AwesomeTTS addon but I couldn't use.
I recommend https://text2speech.sysarticles.com/ , it can convert up to 140000 characters and download as mp3.
Best Regards
I recommend https://text2speech.sysarticles.com/ , it can convert up to 140000 characters and download as mp3.
Best Regards

https://ankiweb.net/shared/info/272311064
Awesome:: Remember 'cloze:' for any cloze fields.
Unrecognized [[c1::]] is Cloze
Can you identify [[c1 ::]] as Cloze so that you can just read the fill-in-the-blanks
Thank you. Just a suggestion.
Awesome:: Remember 'cloze:' for any cloze fields.
Unrecognized [[c1::]] is Cloze
Can you identify [[c1 ::]] as Cloze so that you can just read the fill-in-the-blanks
Thank you. Just a suggestion.

YOU ARE A GOD

AwesomeTTS add-on allowed for different options and male/ female pronouciation on language studies, rather than just voice recording (as default I imagine). Thank you very much! I shall try it using it in the mobile app as well.

I love the AwesomeTTS add-on, really appreciate the work being done to keep it running smoothly!
Recently, I've been having an issue, where I can't use the 'Ctrl+T' shortcut to open the AwesomeTTS window while in the card editor in Anki. When I press 'Ctrl+T', the following message pops up;
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.32 (dee7d45d) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-09-17 11:57:33
Caught exception:
Traceback (most recent call last):
File "aqt\editor.py", line 342, in checkFocus
TypeError: launch() missing 1 required positional argument: 'editor'
I have tested every single add-on that I use on anki by disabling them one by one, and restarting anki. However none of the addons seem to be causing the issue.
I am running Anki 2.1.33 (64 bit) on Windows 10.
EDIT: I think I had a previous version of the add-on installed. I uninstalled & re-installed. I don't have the issue any more.
Recently, I've been having an issue, where I can't use the 'Ctrl+T' shortcut to open the AwesomeTTS window while in the card editor in Anki. When I press 'Ctrl+T', the following message pops up;
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools>Add-ons menu item to disable some add-ons and restart Anki, repeat until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-ons section of our support site.
Debug info:
Anki 2.1.32 (dee7d45d) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-09-17 11:57:33
Caught exception:
Traceback (most recent call last):
File "aqt\editor.py", line 342, in checkFocus
TypeError: launch() missing 1 required positional argument: 'editor'
I have tested every single add-on that I use on anki by disabling them one by one, and restarting anki. However none of the addons seem to be causing the issue.
I am running Anki 2.1.33 (64 bit) on Windows 10.
EDIT: I think I had a previous version of the add-on installed. I uninstalled & re-installed. I don't have the issue any more.
Comment from author before post was edited
I can't seem to reproduce the issue and can't find any mentions of launch() in the code.
Maybe you're using this version - https://ankiweb.net/shared/info/1436550454
Maybe you're using this version - https://ankiweb.net/shared/info/1436550454

Love you so much hhh!!

Thank you so much!

Very useful!

Hello, it is awesome that you made this feature. However, I get the following error when making a card:
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.33 (3f403040) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.15.6
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-09-01 17:40:50
Add-ons possibly involved: AwesomeTTS Google Cloud Text-to-Speech unofficial
Caught exception:
Traceback (most recent call last):
File "/Users/roel/Library/Application Support/Anki2/addons21/814349176/awesometts/gui/templater.py", line 205, in accept
target = getattr(tform, now['templater_target'])
AttributeError: 'Ui_Form' object has no attribute 'front'
Could you help me? Much appreciated!
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.33 (3f403040) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.15.6
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-09-01 17:40:50
Add-ons possibly involved: AwesomeTTS Google Cloud Text-to-Speech unofficial
Caught exception:
Traceback (most recent call last):
File "/Users/roel/Library/Application Support/Anki2/addons21/814349176/awesometts/gui/templater.py", line 205, in accept
target = getattr(tform, now['templater_target'])
AttributeError: 'Ui_Form' object has no attribute 'front'
Could you help me? Much appreciated!
Comment from author
I'm sorry, but I don't know when the add-on will be updated with a fix. As a possible workaround, create a new preset and add it manually to the card template by using <tts preset="...">{{Front}}</tts> syntax. For more information, please see https://github.com/kelciour/awesometts-anki-addon/issues/40
It seems to be fixed in the official repository, but I haven't tried it - https://github.com/AwesomeTTS/awesometts-anki-addon/issues/119 and https://ankiweb.net/shared/info/1436550454
It seems to be fixed in the official repository, but I haven't tried it - https://github.com/AwesomeTTS/awesometts-anki-addon/issues/119 and https://ankiweb.net/shared/info/1436550454

Very necessary!! Thank you!

So awesome!!

top

Thaaaaaaaaaaaaaaaaaaank you!

very helpful. thx!!

You need to restart your program for this add-on to work

I'd just like to know what happened with the feature whereby just clicking twice on a word and clicking again with the right button you could hear the selected word. and also I'm curious if there's a way of stopping the autoplay on particular words and sentences.
Comment from author
It's probably about the context menu. Be default, it's probably hidden, but if you create a new preset, select a word and click the right mouse button, it'll be there.
To add a new preset, open the AwesomeTTS window with a list of services, e.g. add a new note and press Ctrl+T or use Tools - AwesomeTTS - Manage Presets, select a service - and click Save
About the second question, the easiest way would be to generate audio using the AwesomeTTS and split a deck into two decks with a different options group. One with automatically play audio and another one without it.
Otherwise, I'd need a sample deck with a few cards in it and a bit of description what should be played and what should be skipped and it's for Anki only or for AnkiMobile/AnkiDroid too. Maybe it's something that can be done with JavaScript or maybe not.
To add a new preset, open the AwesomeTTS window with a list of services, e.g. add a new note and press Ctrl+T or use Tools - AwesomeTTS - Manage Presets, select a service - and click Save
About the second question, the easiest way would be to generate audio using the AwesomeTTS and split a deck into two decks with a different options group. One with automatically play audio and another one without it.
Otherwise, I'd need a sample deck with a few cards in it and a bit of description what should be played and what should be skipped and it's for Anki only or for AnkiMobile/AnkiDroid too. Maybe it's something that can be done with JavaScript or maybe not.

This add-on has literally saved me weeks of work manually adding audio. It took me a moment to get the settings right so it wouldn't read my furigana and tildes and then to put the audio in the right field, but the end was perfect and only about 10 minutes of work. I highly recommend this to anyone wanting to add TTS to their cards.

very good thanks

Great add-on! Thank you so much!

Thanks It's Amazing thank you so much.
but there is problem .
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.28 (7d8818f8) Python 3.8.0 Qt 5.15.0 PyQt 5.15.0
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-08-06 09:23:46
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 35, in cmd
File "aqt\webview.py", line 121, in _onCmd
File "aqt\webview.py", line 536, in _onBridgeCmd
File "aqt\editor.py", line 412, in onBridgeCmd
File "C:\Users\ZBook\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 126, in _show
self._instance.show()
File "C:\Users\ZBook\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py", line 729, in show
super(EditorGenerator, self).show(*args, **kwargs)
File "C:\Users\ZBook\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 404, in show
dropdown = self.findChild(QtWidgets.QComboBox, 'service')
RuntimeError: wrapped C/C++ object of type EditorGenerator has been deleted
but there is problem .
Error
An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed.
If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem.
When you've discovered the add-on that is causing the problem, please report the issue on the add-on support site.
Debug info:
Anki 2.1.28 (7d8818f8) Python 3.8.0 Qt 5.15.0 PyQt 5.15.0
Platform: Windows 10
Flags: frz=True ao=True sv=1
Add-ons, last update check: 2020-08-06 09:23:46
Caught exception:
Traceback (most recent call last):
File "aqt\webview.py", line 35, in cmd
File "aqt\webview.py", line 121, in _onCmd
File "aqt\webview.py", line 536, in _onBridgeCmd
File "aqt\editor.py", line 412, in onBridgeCmd
File "C:\Users\ZBook\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\common.py", line 126, in _show
self._instance.show()
File "C:\Users\ZBook\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\generator.py", line 729, in show
super(EditorGenerator, self).show(*args, **kwargs)
File "C:\Users\ZBook\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\base.py", line 404, in show
dropdown = self.findChild(QtWidgets.QComboBox, 'service')
RuntimeError: wrapped C/C++ object of type EditorGenerator has been deleted
Comment from author
So far there's no fix for it. If there's a way to reproduce it, maybe post it on https://forums.ankiweb.net/t/awesometts-cause-an-error-when-used-in-a-new-note-form/921/5 or https://github.com/AwesomeTTS/awesometts-anki-addon/issues/102
At the moment, I can only suggest to not close the card browser, if you have it opened, while using the AwesomeTTS addon.
At the moment, I can only suggest to not close the card browser, if you have it opened, while using the AwesomeTTS addon.

sososososososo gooooood

Thank you for absolutely great add-on. But the lastest version seem to have problem with Baidu translation. I could not add audio from baidu, other sources worked just fine.
Comment from author
I'm sorry, but I doubt I'll be interested to do something about it anytime soon. I have a few delayed gigs on Fiverr that I need to finish first, but it'd take about a month or two for me to do, and a couple of Anki add-ons that I need to make too.
But if I'll be paid, maybe it's something that I can do in a few days or maybe a week.
I guess, it's not about - https://fanyi.baidu.com - but - https://ai.baidu.com/tech/speech/tts_online
It won't be a problem anymore to accept a pull request with a fix and update the add-on, but I don't know if or when it'll happen. In this case, maybe it'd be better to send it directly to the official AwesomeTTS repository - https://github.com/AwesomeTTS/awesometts-anki-addon
The official AwesomeTTS repository has an active maintainer now and a new AnkiWeb page and maybe it's something that can be fixed. I suggest,
1. Disable or uninstall this add-on and install a new one from https://ankiweb.net/shared/info/1436550454
2. If it won't work, it probably won't work, create a new issue - https://github.com/AwesomeTTS/awesometts-anki-addon/issues
But if I'll be paid, maybe it's something that I can do in a few days or maybe a week.
I guess, it's not about - https://fanyi.baidu.com - but - https://ai.baidu.com/tech/speech/tts_online
It won't be a problem anymore to accept a pull request with a fix and update the add-on, but I don't know if or when it'll happen. In this case, maybe it'd be better to send it directly to the official AwesomeTTS repository - https://github.com/AwesomeTTS/awesometts-anki-addon
The official AwesomeTTS repository has an active maintainer now and a new AnkiWeb page and maybe it's something that can be fixed. I suggest,
1. Disable or uninstall this add-on and install a new one from https://ankiweb.net/shared/info/1436550454
2. If it won't work, it probably won't work, create a new issue - https://github.com/AwesomeTTS/awesometts-anki-addon/issues

muito bom

Awesome

Useful and worked fine on 2.1.26

so nice!!

Obrigado pela resposta. A ferramenta que você criou é muito útil e eu só tenho a lhe agradecer. Infelizmente as versões mais recentes do Anki e da Awesome TTS não funcionam no meu computador e eu tentei de tudo para fazer funcionar. Instalei o Anki 2.16 e o AwesomeTTS 16. Foi a única forma de conseguir que eles funcionem no meu computador. De toda maneira seu trabalho me ajuda muito. Obrigado.
Comment from author before post was edited
It looks like the path to the Temp folder was changed by a different app and "C:\\Users\\Public\\Documents\\Wondershare\\CreatorTemp" doesn't exist. I suggest to look up some tutorials online how to reset the location of the Windows TEMP directory, for example, https://answers.microsoft.com/en-us/windows/forum/all/reset-the-location-of-the-windows-temp-directory/c429e750-7796-4a33-87c7-a46fe2f4afe1
Maybe it'll help.
Maybe it'll help.

Very good work and a big THANK YOU!!!
The extension works very good and is very helpful.
Is it possible to make the Siri speeches of the various languages available in the drop-down menu? This would make it nearly perfect.
The extension works very good and is very helpful.
Is it possible to make the Siri speeches of the various languages available in the drop-down menu? This would make it nearly perfect.
Comment from author
Update 2. Actually, the Anki manual is very likely the place where I read about Siri voices initially.
> On a Mac, you can customize the available voices:
> Open the System Preferences screen.
> ...
> Some voices sound better than others, so experiment to choose the one you prefer. Please note that the Siri voice can only be used by Apple apps. Once you’ve installed new voices, you’ll need to restart Anki for the new voices to become available.
------------------------
Update. I forgot to mention the built-in TTS in Anki 2.1.20+ - https://docs.ankiweb.net/#/templates/fields?id=text-to-speech - but very likely the list of available voices will be the same on Mac.
------------------------
I don't have Mac, but as far as I know, it may not be possible at the moment.
I suggest to open a new issue in the main AwesomeTTS repository - https://github.com/AwesomeTTS/awesometts-anki-addon/issues
This way you'll be updated if it'll be fixed in the future.
Just to clarify, I believe you're talking about "OS X Speech Synthesis" or "say" - https://ankiatts.appspot.com/services/say
This comment from 2018 suggests that a few more voices can be added manually on Mac - https://gist.github.com/mculp/4b95752e25c456d425c6#gistcomment-2556766
> you can get the missing ones and more in Preferences > Accessibility > Speech, clicking the voice selector and in there Customize
but I have more faith in the recent StackOverflow post - https://stackoverflow.com/questions/61122378/make-the-say-terminal-utility-and-nsspeechsynthesizer-work-with-siri-voices
that says that
> there is hope this may eventually be implemented in a future version, which would be macOS Big Sur (11.0) at the earliest.
> On a Mac, you can customize the available voices:
> Open the System Preferences screen.
> ...
> Some voices sound better than others, so experiment to choose the one you prefer. Please note that the Siri voice can only be used by Apple apps. Once you’ve installed new voices, you’ll need to restart Anki for the new voices to become available.
------------------------
Update. I forgot to mention the built-in TTS in Anki 2.1.20+ - https://docs.ankiweb.net/#/templates/fields?id=text-to-speech - but very likely the list of available voices will be the same on Mac.
------------------------
I don't have Mac, but as far as I know, it may not be possible at the moment.
I suggest to open a new issue in the main AwesomeTTS repository - https://github.com/AwesomeTTS/awesometts-anki-addon/issues
This way you'll be updated if it'll be fixed in the future.
Just to clarify, I believe you're talking about "OS X Speech Synthesis" or "say" - https://ankiatts.appspot.com/services/say
This comment from 2018 suggests that a few more voices can be added manually on Mac - https://gist.github.com/mculp/4b95752e25c456d425c6#gistcomment-2556766
> you can get the missing ones and more in Preferences > Accessibility > Speech, clicking the voice selector and in there Customize
but I have more faith in the recent StackOverflow post - https://stackoverflow.com/questions/61122378/make-the-say-terminal-utility-and-nsspeechsynthesizer-work-with-siri-voices
that says that
> there is hope this may eventually be implemented in a future version, which would be macOS Big Sur (11.0) at the earliest.

perfectly! it works!

it's great, thanks !!!

It's a must-have if you are learning languages.

This is just what I've been looking for

This has been a great resource. Should we all switch to ATTS for 2.1 (1436550454) now though?
Comment from author
Yes, maybe, I don't know. At the moment there's no much difference aside from a few added or fixed services, but I'm not very interested in the add-on, won't keep it in sync with the upstream repository (i.e. a new add-on), don't want to spend free time on it and it's unlikely the add-on will be updated in the near future. I wanted to add a few more commits and fix a few issues, but won't have time to do it this month, it's no longer a high priority and maybe it'll be already fixed by the time I'll be interested to spend time on it. If something got broken, though I doubt it'll happen anytime soon, it should be possible for me to eventually fix it or accept a pull request.

It's very useful

perfect

Who is this new maintainer?
In Nickolay We Trust!
In Nickolay We Trust!
Comment from author
I don't know. I'm mostly aware of him from a few his posts on Anki subreddit under username BakGikHung, at first about an year ago about AnkiReview that he'd developed as a companion app for AnkiDroid, then about half an year ago from a few posts about AwesomeTTS, and a bit later when he created a new issue - "will you merge back to AwesomeTTS?" - https://github.com/kelciour/awesometts-anki-addon/issues/8 - and a pull request - "Add Microsoft Azure Text To Speech service" - https://github.com/kelciour/awesometts-anki-addon/pull/7 - and about at the same time from the issue "Still active?" when he volunteered to be a new maintainer - https://github.com/AwesomeTTS/awesometts-anki-addon/issues/69
Back in 2019 I wasn't interested in the AwesomeTTS add-on, but got hired to add Google Cloud Text-to-Speech and got paid more than I asked for. At that time, since the most work to update from Anki 2.0 to Anki 2.1 was already done by krassowski, I didn't do much to update the AwesomeTTS codebase aside from a few minor changes and it wasn't difficult to add a new service using the official API and by looking at other services as an example. It seemed to work fine for the majority of users and for about an year I wasn't interested to improve it or fix a few issues and the add-on didn't changed very much.
Everything changed in 2020, probably when AnkiWeb got updated to comply with the latest security standards, syncing stopped working for Anki 2.0 users and they switched to Anki 2.1, and about at the same time Anki got updated to 2.1.20, the AwesomeTTS add-on got a bit broken and stopped working. The add-on was updated, I was interested to improve it a bit or fix some of the issues along the way, or some issues were easy to fix, and spent a bit of time doing it.
If it wasn't me, considering the popularity of the add-on, maybe someone else would have updated the AwesomeTTS to keep it working and uploaded it on AnkiWeb. Or maybe everyone would have used the AwesomeTTS add-on maintained by lovac42 (awesometts-CCBC-addon) or maybe the built-in TTS that Damien added in Anki 2.1.20.
All in all, I think, it's good that the AwesomeTTS repository has an active maintainer now, but I will try to keep the "unofficial" version updated every now and then, but aside from a few issues, that I'll try to fix some time later, at the moment I'm not interested to fix broken or add new services, and for the most part it'll be just updates for the list of available voices or bugfixes for existing issues or if something stops working, though I doubt it'll happen anytime soon. And at the moment it's unlikely I'll be interested to keep it in sync with the upstream repository and the add-on won't be updated if a new service will be added or something got fixed in the upstream repository.
In the end, thank you very much for the kind words and very positive feedback! I feel honored to receive it and I'm very happy. You made my day! Thank you again :)
Back in 2019 I wasn't interested in the AwesomeTTS add-on, but got hired to add Google Cloud Text-to-Speech and got paid more than I asked for. At that time, since the most work to update from Anki 2.0 to Anki 2.1 was already done by krassowski, I didn't do much to update the AwesomeTTS codebase aside from a few minor changes and it wasn't difficult to add a new service using the official API and by looking at other services as an example. It seemed to work fine for the majority of users and for about an year I wasn't interested to improve it or fix a few issues and the add-on didn't changed very much.
Everything changed in 2020, probably when AnkiWeb got updated to comply with the latest security standards, syncing stopped working for Anki 2.0 users and they switched to Anki 2.1, and about at the same time Anki got updated to 2.1.20, the AwesomeTTS add-on got a bit broken and stopped working. The add-on was updated, I was interested to improve it a bit or fix some of the issues along the way, or some issues were easy to fix, and spent a bit of time doing it.
If it wasn't me, considering the popularity of the add-on, maybe someone else would have updated the AwesomeTTS to keep it working and uploaded it on AnkiWeb. Or maybe everyone would have used the AwesomeTTS add-on maintained by lovac42 (awesometts-CCBC-addon) or maybe the built-in TTS that Damien added in Anki 2.1.20.
All in all, I think, it's good that the AwesomeTTS repository has an active maintainer now, but I will try to keep the "unofficial" version updated every now and then, but aside from a few issues, that I'll try to fix some time later, at the moment I'm not interested to fix broken or add new services, and for the most part it'll be just updates for the list of available voices or bugfixes for existing issues or if something stops working, though I doubt it'll happen anytime soon. And at the moment it's unlikely I'll be interested to keep it in sync with the upstream repository and the add-on won't be updated if a new service will be added or something got fixed in the upstream repository.
In the end, thank you very much for the kind words and very positive feedback! I feel honored to receive it and I'm very happy. You made my day! Thank you again :)

Auto explicativo

I appreciate your effort in keeping this up-to-date. Thank you

Thank you very much for this addon!

Great , Duden doesn't work, would be awesome to be replaced by dict.cc
Comment from author
Sorry, I won't be interested to add more services anytime soon. The current support is pretty much limited to updating Google Text-to-Speech voices once in a while and unlikely will be changed anytime soon.
The official AwesomeTTS add-on has a new maintainer now and the add-on has a new AnkiWeb page - https://ankiweb.net/shared/info/1436550454
Maybe consider creating a new issue on https://github.com/AwesomeTTS/awesometts-anki-addon/issues
The official AwesomeTTS add-on has a new maintainer now and the add-on has a new AnkiWeb page - https://ankiweb.net/shared/info/1436550454
Maybe consider creating a new issue on https://github.com/AwesomeTTS/awesometts-anki-addon/issues

To get the audio files to OGG please remember to: Tools > Check media > Delete unused files and then to clear the cache of AwesomeTTS: Tools > AwesomeTTS > Advanced > Caching > Delete files

Thanks for your amazing work.
By the way, the instructions given by a previous comment in order to change from MP3 to OGG do work! However, the file extension is NOT changed to .ogg. But you'll see a great improvement in the quality of the audio. Note that in old Android devices which cannot play OGG files this won't work. You could still use AnkiWeb though.
By the way, the instructions given by a previous comment in order to change from MP3 to OGG do work! However, the file extension is NOT changed to .ogg. But you'll see a great improvement in the quality of the audio. Note that in old Android devices which cannot play OGG files this won't work. You could still use AnkiWeb though.

Dear developer,
This add-on is really beneficial and user-friendly. I appreciate for your efforts to keep it updated.
it would be a good idea if you can add IBM TTS to this add-on as well.
Best regards,
Amir
https://text-to-speech-demo.ng.bluemix.net/
This add-on is really beneficial and user-friendly. I appreciate for your efforts to keep it updated.
it would be a good idea if you can add IBM TTS to this add-on as well.
Best regards,
Amir
https://text-to-speech-demo.ng.bluemix.net/
Comment from author
Sorry, I don't have much free time to spare and won't be interested to add more services anytime soon. The current support is pretty much limited to updating Google Text-to-Speech voices once in a while and unlikely will be changed anytime soon.
The official AwesomeTTS add-on has a new maintainer now and the add-on has a new AnkiWeb page - https://ankiweb.net/shared/info/1436550454
Maybe consider creating a new issue on https://github.com/AwesomeTTS/awesometts-anki-addon/issues
The official AwesomeTTS add-on has a new maintainer now and the add-on has a new AnkiWeb page - https://ankiweb.net/shared/info/1436550454
Maybe consider creating a new issue on https://github.com/AwesomeTTS/awesometts-anki-addon/issues

Thank you very much for the effort Exellent

A bug?
The following problems were encountered:
- No speakable text is present
- The input file to transcode to an MP3 could not be found. Please report this problem if it persists.
The following problems were encountered:
- No speakable text is present
- The input file to transcode to an MP3 could not be found. Please report this problem if it persists.

Thank you for bringing awesomeTTS to anki 2.1. It first prompted me to install mpv player to get the playback work, everything after that is all fine.
Also I have to thank you a lot for the API key.
Also I have to thank you a lot for the API key.

Please make the speech pause whenever there is a paragraph break or bullet points. At the moment everything is read out without pause, like it's one long never-ending sentence, making comprehension of lists in notes difficult. But great add-on for single word pronunciation etc.

awesome

Google cloud text to speech option stopped to work, it keep returning me an error "Cannot preview the input phrase with these settings API key required to access googletts"

Very good, without these addons my anki does not work.

Excelente!

Got a bug.
---------------------------
Anki
---------------------------
Cannot record the input phrase with these settings.
[Errno 2] No such file or directory: 'C:\\Users\\Administrator\\AppData\\Roaming\\Anki2\\addons21\\814349176\\awesometts\\.cache\\youdao-d113d1b8-880e927d-5d75e3aa-e6c3f267-8701ce1d.mp3'
---------------------------
OK
---------------------------
---------------------------
Anki
---------------------------
Cannot record the input phrase with these settings.
[Errno 2] No such file or directory: 'C:\\Users\\Administrator\\AppData\\Roaming\\Anki2\\addons21\\814349176\\awesometts\\.cache\\youdao-d113d1b8-880e927d-5d75e3aa-e6c3f267-8701ce1d.mp3'
---------------------------
OK
---------------------------

very good

Ajuda a ouvrir frases e compreender outros idiomas

sehr gute!

Perfect !

fabulous

Hello Moderator,
How to find "config.db"?
Where is it located?
How to find "config.db"?
Where is it located?
Comment from author
The add-on creates "config.db" with the default settings on the first run, i.e. after installing the add-on and restarting Anki. Usually, after opening the add-on's source folder (Anki - Add-ons - AwesomeTTS - View Files), config.db could be found in "awesometts" subfolder, but on the latest version of the add-on config.db can be found in "user_files" subfolder.

works very good

Worked! Thanks!!

Muito bom!!!

awesome indeed.

Totally worth the effort of setting it up, best addon.

it's ok

Top

It's awesome!!

So good!

Very very powerful ! thanks a bunch

good

good

This add-ons may be useful. But when I use it to append voice to my new words(English,Japanese). There are some errors happened. Like 'request got andio/x-bd-bv Content-Type for web request; wanted audio/mp3'

jjjjj

I love this addon, it helps me so much while learning Korean and English. Unfortunately, since the last updated, I lost my preset voice and more importantly, I get this message
'Cannot preview the input phrase with these settings.
'API Key required to access googletts''
when I try to record a word or sentence.
Someone could help me with this, please.
'Cannot preview the input phrase with these settings.
'API Key required to access googletts''
when I try to record a word or sentence.
Someone could help me with this, please.
Comment from author
I'm sorry about the voices, it's been fixed and shouldn't happen again.
If you didn't sign up for an API key last time and didn't take a photo of your credit card, you probably added the API key that is listed on the add-on's page.
If you didn't sign up for an API key last time and didn't take a photo of your credit card, you probably added the API key that is listed on the add-on's page.

Magnificent...
Have also made my cards alternate between voices, male/female and A/C B/D
Feels so great, so much better than all other TTS I've seen
THANK YOU!
Have also made my cards alternate between voices, male/female and A/C B/D
Feels so great, so much better than all other TTS I've seen
THANK YOU!

This is what I was looking for. Thank you!

Good!

Perfect. This add-on should become new "official"

Works excellent. Thank you

Best add-on in the world!!!

it works on Mac OS Catalina version 10.15.4 but the shortcut Cmd T still not working
Comment from author
I can't test the add-on on Mac OS but maybe you have another add-on with the same Cmd+T shortcut. Maybe try to disable all add-ons except this one to see if it helps or not.

Awesome and I'm so pleased to have the opportunity to learn with this module since google tts is a game changer.
Unfortunately I experiened an inconvenience: today and two days ago AwesomeTTS was updated and I lost my AwesomeTTS service presets after the updates.
Unfortunately I experiened an inconvenience: today and two days ago AwesomeTTS was updated and I lost my AwesomeTTS service presets after the updates.
Comment from author
I'm sorry about that. I've added a quick fix for it and updated the add-on. The following updates should keep the settings but unfortunately not this time. As a workaround, before updating the add-on open Tools - Add-ons - AwesomeTTS ... - View Files - open 'awesometts' folder, i.e. 814349176\awesometts, and copy 'config.db' on your desktop, then use Tools - Add-ons - Check for Updates to update the add-on, after that close Anki and copy 'config.db' from your desktop to '..\user_files', i.e. 814349176\user_files, then open Anki.

It does work

It works

It's super useful and besides it works flawlessly!

I've been looking for add-ons to enhance my experience and this is the most useful out of those I've tried

Easy to install easy to use!

Works great, thank you :)

Vote for this new "official" one!

Very useful for me. Tks bro.

worked with mac, put it on the OS sound synthesis voice. Had to configure the service.

good add-on

easy to use

2.1 버전에서 사용해본 결과 아주 만족스럽습니다.

excellent!! works perfectly with the updated anki and has multiple languages and multiple voices very very good, so happy I found this

awesome~
works with latest version
works with latest version

Helpful for language review and studying audio-only!

I would like to suggest a change that's will make the quality of the sound much much better and even will make the mp3 file less size.
(changing the audioEncoding type)
in this file "googletts.py" which is in this path "\Anki2\addons21\814349176\awesometts\service"
we are going to change this line
"audioEncoding": "MP3"
to
"audioEncoding": "OGG_OPUS"
TA-DA....done
(changing the audioEncoding type)
in this file "googletts.py" which is in this path "\Anki2\addons21\814349176\awesometts\service"
we are going to change this line
"audioEncoding": "MP3"
to
"audioEncoding": "OGG_OPUS"
TA-DA....done
Comment from author
Thanks! I've added it in the description. Unfortunately, I can't make it a default one since iPhone still doesn't officially support OGG yet and AnkiMobile can't play it too.

very good

Thank you! It's so cool!

Awesome, thanks!

This is a game changer for making anki cards

Works great, except ImTranslator.
I think ImTranslator stopped working about a month ago, on any version of AwesomeTTS.
Shows: "unable to fetch page from ImTranslator even after multiple attempts." Can you fix this?
I think ImTranslator stopped working about a month ago, on any version of AwesomeTTS.
Shows: "unable to fetch page from ImTranslator even after multiple attempts." Can you fix this?

muito bom

Toll!

Works so well!
Any idea of how I would systematically replace all audio in a deck with AwesomeTTS?
I'm using the Domino Chinese deck, it's great but it's all old computer generated, and the updated voices would be brilliant.
Any tools or add-ons you can recomend to make that happen? thanks
Any idea of how I would systematically replace all audio in a deck with AwesomeTTS?
I'm using the Domino Chinese deck, it's great but it's all old computer generated, and the updated voices would be brilliant.
Any tools or add-ons you can recomend to make that happen? thanks
Comment from author
Sorry for the late reply. I guess, it can be done without any extra tools just using the add-on from the card browser by overwriting the destination field with media filename if it contains only sound tags - https://ankiatts.appspot.com/usage/browser - or by removing existing sound tags before generating new audio - https://ankiatts.appspot.com/usage/removing

The add-on works great! Thank you.
The only thing I can't figure out for myself ( and I'm an inexperienced user :) is to apply this great add-on for my little project.
I need to place in the question field of the card a sentence from an English book. And I want it to be read by ttc when the card is opened
I've tried to add {{tts en_US:Field}} as per Anki manual to the top field of the card's template, but for some reason Windows 10 TTS didn't work for me when opening the card.
I tried different kinds of cards template with the same negative result. I thought then, that maybe I could record the voice from Awesome TTS, but couldn't do it either. Maybe you could advise me of any solution.
Thank you !
The only thing I can't figure out for myself ( and I'm an inexperienced user :) is to apply this great add-on for my little project.
I need to place in the question field of the card a sentence from an English book. And I want it to be read by ttc when the card is opened
I've tried to add {{tts en_US:Field}} as per Anki manual to the top field of the card's template, but for some reason Windows 10 TTS didn't work for me when opening the card.
I tried different kinds of cards template with the same negative result. I thought then, that maybe I could record the voice from Awesome TTS, but couldn't do it either. Maybe you could advise me of any solution.
Thank you !
Comment from author
Sorry for the late reply. If you're on Anki 2.1.20, maybe you don't have any voices installed. It can be done using Win -> Speech settings -> Manage voices - Add voices.
About Awesome TTS, I'm afraid, I need more information, but usually it can be done by opening the card browser, selecting a few cards, clicking on menu AwesomeTTS - Add Audio to Selected - https://ankiatts.appspot.com/usage/browser
As a side note, if an English book has an audiobook read by a native speaker, I might have a few Anki add-ons in a few weeks that will allow to split text by sentences and add audio from the audiobook.
About Awesome TTS, I'm afraid, I need more information, but usually it can be done by opening the card browser, selecting a few cards, clicking on menu AwesomeTTS - Add Audio to Selected - https://ankiatts.appspot.com/usage/browser
As a side note, if an English book has an audiobook read by a native speaker, I might have a few Anki add-ons in a few weeks that will allow to split text by sentences and add audio from the audiobook.

Very useful addon!

Thank you so much for your effort. Love it 😊

Awesome applicability!
I might be missing something, but in past add-ons (this was a few years ago), there was a way to automatically add (and bulk-add) the TTS to the card. This one is working great, but I have to individually add the audio each time. Is there a way to work around this? (EDIT: I figured it out by clicking command + T in the browser, which allowed bulk adds. Thanks again for the tool!)
I might be missing something, but in past add-ons (this was a few years ago), there was a way to automatically add (and bulk-add) the TTS to the card. This one is working great, but I have to individually add the audio each time. Is there a way to work around this? (EDIT: I figured it out by clicking command + T in the browser, which allowed bulk adds. Thanks again for the tool!)

Working perfectly with 2.1.20

I started using your add-on yesterday, but I noticed that a feature from my old AwesomeTTS is not working: "AwesomeTTS will automatically populate the input field of the note editor dialog with whatever was already in the active note field when you opened the dialog."
Comment from author
Thank you. It's been fixed. Please use Tools - Add-ons - Check for Updates and restart Anki.

The pre-record function works well but on-the-fly still doesn't work on Mac.
Comment from author
Is there any error or something? It seems to work fine on Windows & Ubuntu, but it was just one line change and maybe there's something else that needed to be updated.
As an alternative, since you're on Mac, maybe try Anki 2.1.20 with built-in on-the-fly TTS support - https://apps.ankiweb.net/docs/beta.html
> You can now use {{tts en_US:Field}} on your card templates to use the text to speech support built into Windows and macOS, changing the language code as necessary.
> You can specify the voices you’d prefer - the first available one will be used. Eg. {{tts ja_JP voices=Apple_Otoya,Microsoft_Haruka:Field}}. The voices you specify must match the language.
> Adding {{tts-voices:}} to your template will show all available voices.
As an alternative, since you're on Mac, maybe try Anki 2.1.20 with built-in on-the-fly TTS support - https://apps.ankiweb.net/docs/beta.html
> You can now use {{tts en_US:Field}} on your card templates to use the text to speech support built into Windows and macOS, changing the language code as necessary.
> You can specify the voices you’d prefer - the first available one will be used. Eg. {{tts ja_JP voices=Apple_Otoya,Microsoft_Haruka:Field}}. The voices you specify must match the language.
> Adding {{tts-voices:}} to your template will show all available voices.

Excellent plugin for Anki! Thank you for your efforts.

Thank you. It was very helpful.
However, audio is not played on synchronized smartphones. What should I do to shed it?
However, audio is not played on synchronized smartphones. What should I do to shed it?
Comment from author
I assume it's not about on-the-fly TTS tags since I doubt they'll work on mobile without some modifications to the card template and it's about [sound:...] tags that were added for example from the Add or Edit window or by using AwesomeTTS - Add Audio to Selected in the card browser. In this case, everything should work fine on mobile if it works on desktop, all devices are in sync and media were synced too, i.e. Anki 2.1 - Tools - Preferences - Network - "Synchronize audio and images too" and AnkiDroid - Preferences - "Fetch media on sync" or AnkiMobile - Preferences - "Sync Sounds & Images" weren't manually disabled and Anki 2.1 - Tools - Check Media doesn't report any missing files in the collection.media folder.

good

Works great with wavenet. Code changes look reasonable too. Some things are still broken in 2.1.x but I'll send PRs if I need anything.

for a few hours, I get it and make it successful.
Thank a lot for your effort. I was upset when awesomeTTS ( google translate) does not work with the newer anki until I read this instruction
Thank a lot for your effort. I was upset when awesomeTTS ( google translate) does not work with the newer anki until I read this instruction

This is one of the best Anki add-ons I have used.
and support from the developer is very good and fast.
Thank you for your great work man.
and support from the developer is very good and fast.
Thank you for your great work man.

Thanks!

Thanks very much , this is the only app I can found that can do this job ( Google Cloud TTS) , not only that it do the job very well and also free !! thanks so much man , Keep the good work , I didn't know any thing about Ankiweb or the application only when I found this addson at Google search .

Most valuable thing on the addon list.

Hello,
is it possibe to add https://www.dict.cc/ to Awesome TTS addon, here is how I get the audio manually from the site:
1-I clich "Optionen" under the search square or on this link https://www.dict.cc/dict/options.php
2-I scroll down from the left menu, under "Sprachausgabeformat" I choose "wav" instead of "mp3" and then click "Optionen Speichern"
3-After that I search the words I need and I can download the audio manually using "internet Download Manager"
is it possibe to add https://www.dict.cc/ to Awesome TTS addon, here is how I get the audio manually from the site:
1-I clich "Optionen" under the search square or on this link https://www.dict.cc/dict/options.php
2-I scroll down from the left menu, under "Sprachausgabeformat" I choose "wav" instead of "mp3" and then click "Optionen Speichern"
3-After that I search the words I need and I can download the audio manually using "internet Download Manager"
Comment from author
Thank you for asking but I can't do it. Everything is possible but it takes time and at the moment I can't spend time on anything that of no interest to me.

Works OK on Windows 10 and Ubuntu. Thanks for your efforts.

5 of the 12 notes you selected were processed. During processing, 4 notes were successfully updated, but 1 note failed while processing.
The following problem was encountered:
HTTPSConnectionPool(host='texttospeech.googleapis.com', port=443): Max retries exceeded with url: /v1/text:synthesize? key=AlzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxjO (Caused by SSLError(SSLE0F£rror(8, 'EOF occurred in violation of protocol (_ssl.c: 847)'),)) (1 time)
You aborted processing. If you want to rollback the changes to the notes that were already processed, use the Undo AwesomeTTS Batch Update option from the Edit menu.
thank you very much:) appreciate your work
The following problem was encountered:
HTTPSConnectionPool(host='texttospeech.googleapis.com', port=443): Max retries exceeded with url: /v1/text:synthesize? key=AlzaSyBm7NinfOuybtq-WWkcFMoiHHxMz60qxjO (Caused by SSLError(SSLE0F£rror(8, 'EOF occurred in violation of protocol (_ssl.c: 847)'),)) (1 time)
You aborted processing. If you want to rollback the changes to the notes that were already processed, use the Undo AwesomeTTS Batch Update option from the Edit menu.
thank you very much:) appreciate your work

This is amazing! Still has some bugs (regular OSX Speech doesn't seem to work for me), but as this is new, completely understandable.
Comment from author
The add-on's been updated and OSX Speech I guess should work now too. In addition, Anki 2.1.20 comes with built-in TTS support.
> Changes in 2.1.20beta3 (95b497cc)
> You can now use {{tts en_US:Field}} on your card templates to use the text to speech support built into Windows and macOS, changing the language code as necessary.
For more information please see - https://apps.ankiweb.net/docs/beta.html
> Changes in 2.1.20beta3 (95b497cc)
> You can now use {{tts en_US:Field}} on your card templates to use the text to speech support built into Windows and macOS, changing the language code as necessary.
For more information please see - https://apps.ankiweb.net/docs/beta.html

I am sorry ı got thıs eror durıng google translate ın my Mac.
Cannot record the input phrase with these settings.
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>
but ı works wtıh the apı above ın google cloud speech. Can you help about thıs ıssue. Today I delet thıs app accıdentally and reınstall ıt. After reınstall ı get thıs message. Thank you very much.
03-01-2020 thank you very much after update it is working now- Thanks again
Cannot record the input phrase with these settings.
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>
but ı works wtıh the apı above ın google cloud speech. Can you help about thıs ıssue. Today I delet thıs app accıdentally and reınstall ıt. After reınstall ı get thıs message. Thank you very much.
03-01-2020 thank you very much after update it is working now- Thanks again
Comment from author before post was edited
Firstly, it's okay to use the provided API key if it works. My credit card is no longer valid but somehow the API key is still working. Secondly, I've updated the add-on. It should work now but maybe I missed something. Please go to Tools - Add-ons - Check for Updates, restart Anki and let me know if it works or not. And lastly, thank you for not using the downvote button to report about the issue!

In my installation under Linux works great. Thanks for adapting it to 2.1

Very helpful for languages

I get the following error. Also, I no longer see the field where I am to put the API_Key. Any thoughts on why I get this error? Do we still need to manually input the API Key? I don't see where in Anki we do this?
Thanks for your advice ...
Doug
==== Error ===
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>
Thanks for your advice ...
Doug
==== Error ===
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:847)>
Comment from author
Please make sure that Google Cloud Text-to-Speech is selected, not Google Translate or any other TTS service, the API Key field should be there.
--------------
The add-on had been updated and it should work now with Google Translate too.
--------------
The add-on had been updated and it should work now with Google Translate too.

It's working!

Google Cloud Text-to-Speech is absolutely better. I wholeheartedly wish this addon become Official!! Thanks for making it!!

Anki 2.1.11 (3cf770c7) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Windows 10
Flags: frz=True ao=True sv=1
Caught exception:
File "C:\Users\BryantJialu\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\templater.py", line 201, in accept
tform = self._card_layout.tab['tform']
<class 'AttributeError'>: 'CardLayout' object has no attribute 'tab'
Platform: Windows 10
Flags: frz=True ao=True sv=1
Caught exception:
File "C:\Users\BryantJialu\AppData\Roaming\Anki2\addons21\814349176\awesometts\gui\templater.py", line 201, in accept
tform = self._card_layout.tab['tform']
<class 'AttributeError'>: 'CardLayout' object has no attribute 'tab'
Comment from author
It took a while but the add-on finally has been updated and it's been fixed. In addition, Anki 2.1.20 comes with built-in TTS support.
> Changes in 2.1.20beta3 (95b497cc)
> You can now use {{tts en_US:Field}} on your card templates to use the text to speech support built into Windows and macOS, changing the language code as necessary.
For more information please see - https://apps.ankiweb.net/docs/beta.html
--------------
Thanks for the report! I don't know when it'll be fixed and at the moment can only suggest to generate audio using the browser window.
> Changes in 2.1.20beta3 (95b497cc)
> You can now use {{tts en_US:Field}} on your card templates to use the text to speech support built into Windows and macOS, changing the language code as necessary.
For more information please see - https://apps.ankiweb.net/docs/beta.html
--------------
Thanks for the report! I don't know when it'll be fixed and at the moment can only suggest to generate audio using the browser window.

Great!

very good

ready

great, thank you!

非常好用的tts插件,让我的例句有了十分优质的发音,感谢您!!!

Amazing !!!!!!!!!!!!!

excellent

works awesome!! thank you mate

very nice!

Funciona !!

muito bom

I love it.

awesome! thank you!

For those who want to make this work with Chinese, go to /addons/awesometts/service/googletts.py
And add these elements in _voice\_list array:
("cmn-CN-Standard-A", "Mandarin Chinese, China (cmn-CN-Standard-A)"),
("cmn-CN-Standard-B", "Mandarin Chinese, China (cmn-CN-Standard-B)"),
("cmn-CN-Standard-C", "Mandarin Chinese, China (cmn-CN-Standard-C)"),
("cmn-CN-Wavenet-A", "Mandarin Chinese, China (cmn-CN-Wavenet-A)"),
("cmn-CN-Wavenet-B", "Mandarin Chinese, China (cmn-CN-Wavenet-B)"),
("cmn-CN-Wavenet-C", "Mandarin Chinese, China (cmn-CN-Wavenet-C)"),
And then change the number 5 to 6 in this line:
"languageCode": options['voice'][:6],
I'm not a python programmer so this solution is kinda dirty. But that's just because the design isn't perfect. The reason why you need to add 1 is that it's parsing the string based on the first 5 characters of the voice name like en-us for example but for Chinese it's cmn-CN, which is a character longer. Maybe someone can make this dynamic.
And add these elements in _voice\_list array:
("cmn-CN-Standard-A", "Mandarin Chinese, China (cmn-CN-Standard-A)"),
("cmn-CN-Standard-B", "Mandarin Chinese, China (cmn-CN-Standard-B)"),
("cmn-CN-Standard-C", "Mandarin Chinese, China (cmn-CN-Standard-C)"),
("cmn-CN-Wavenet-A", "Mandarin Chinese, China (cmn-CN-Wavenet-A)"),
("cmn-CN-Wavenet-B", "Mandarin Chinese, China (cmn-CN-Wavenet-B)"),
("cmn-CN-Wavenet-C", "Mandarin Chinese, China (cmn-CN-Wavenet-C)"),
And then change the number 5 to 6 in this line:
"languageCode": options['voice'][:6],
I'm not a python programmer so this solution is kinda dirty. But that's just because the design isn't perfect. The reason why you need to add 1 is that it's parsing the string based on the first 5 characters of the voice name like en-us for example but for Chinese it's cmn-CN, which is a character longer. Maybe someone can make this dynamic.

Very useful, great for language learning decks, with all the available languages that Google offers

Awesome, thanks so much for sharing this.
U r the life saver.
U r the life saver.

Perfect!

Useful addition.

good!!!!

Thank you. Seems to be working fine for me so far :)

It's very helpful

Really good!

Just added audio to 5000 french cards using Google Text-to-Speech, with a nice sounding WaveNet voice :)

nice

excellent, works perfectly

Ctrl + T works!
I LOVE YOU!
I LOVE YOU!

Works really well, and the WaveNet voices are amazing!

ty

I've been waiting for properly working text to speech add-on for Anki 2.1 for so long. This work like a charm. Thank you for your work.

Great!

good

Great, thanks!

Works perfectly with the given API key

thanks

No instructions for getting to step 2; configuration???? WTF
Comment from author
Please be more specific. As far as I can remember, I went to this page https://cloud.google.com/text-to-speech/ and clicked on "Try It Free" to get an API key.

Would it be possible to add Google Cloud support/this add-on support for Anki 2.0.x? Many of the japanese voices (like naver translate, etc) have stopped working and the remaining ones sound like robots.
Can't shift to 2.1 as there are many important add-ons.
Can't shift to 2.1 as there are many important add-ons.

Very good!!

Works great!

Большое спасибо!

I don't use Anki 2.1, but I'm giving a thumbs up because someone took the time to make this port and upload it for free. Also I might just download Anki 2.1 because there is support for the Google Cloud TTS.

Only this version of AwesomeTTS could be installed in my pc and still works fine with my newly installed anki 2.1.1. And so far, except some errors popup occasionally and some of the dictionary datasets are not accessible, all is fine.

Works great, thank you!

I need this plugin. Thank you for making it available.
[update] - Is it possible to have volume option?
[update] - Is it possible to have volume option?

Lifesaver!! thanks! Hope chinese will be released!

Nice and better than the other one for Anki 2.1. But 2 bugs I found for now:
• CTRL+T doesn’t work when selecting a one card in the browser. Works with several cards selected (at least 2).
• The groups fail to display presets in submenu. All the presets are shown at the top of the context menu instead and the group entries are shown in the bottom of the same menu.
It’s an awesome and useful addon for languages learning. Thanks for this improvement and update.
• CTRL+T doesn’t work when selecting a one card in the browser. Works with several cards selected (at least 2).
• The groups fail to display presets in submenu. All the presets are shown at the top of the context menu instead and the group entries are shown in the bottom of the same menu.
It’s an awesome and useful addon for languages learning. Thanks for this improvement and update.

Perfectly work!

its so great

It woks perfectly. Thank you for this cool job.

Good things got better!
Really useful!
Thank you for your work :)
Really useful!
Thank you for your work :)

Cannot preview the input phrase with these settings.
403 Client Error: Forbidden for url: https://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBoJ_L_E-A_ ...
Make this -> https://cloud.google.com/iam/docs/understanding-roles#primitive_role_definitions
And
it is necessary to activate Api for this error: https://cloud.google.com/text-to-speech/docs/quickstart-protocol
403 Client Error: Forbidden for url: https://texttospeech.googleapis.com/v1/text:synthesize?key=AIzaSyBoJ_L_E-A_ ...
Make this -> https://cloud.google.com/iam/docs/understanding-roles#primitive_role_definitions
And
it is necessary to activate Api for this error: https://cloud.google.com/text-to-speech/docs/quickstart-protocol
Comment from author
It looks like Google Cloud Text-to-Speech API haven't been enabled for a project associated with this API key.
---------------------
It looks like it's not possible to enable Google Cloud Text-to-Speech API without providing a valid payment method, i.e. you need to create a billing account and maybe sign up for GCP Free Tier - https://cloud.google.com/free/docs/gcp-free-tier
"Even though you set up a billing account, you won't be charged unless you upgrade to a paid account."
My billing account had been closed, it's not valid anymore, but it looks like it's still possible to continue to use Google Cloud Text-to-Speech API if it's already been activated. I've updated this page and added an API key that I've used for testing.
---------------------
It looks like it's not possible to enable Google Cloud Text-to-Speech API without providing a valid payment method, i.e. you need to create a billing account and maybe sign up for GCP Free Tier - https://cloud.google.com/free/docs/gcp-free-tier
"Even though you set up a billing account, you won't be charged unless you upgrade to a paid account."
My billing account had been closed, it's not valid anymore, but it looks like it's still possible to continue to use Google Cloud Text-to-Speech API if it's already been activated. I've updated this page and added an API key that I've used for testing.

Google Cloud TTS makes a huge difference. The app turns from "great" to "magnificent". Thank you very much!!!
Comment from author
No problem, but that's not entirely my doing as I've been paid to make this happen sooner than later and AwesomeTTS team have done an amazing work to make it so much easier to add any new TTS service without knowing anything about how Anki works.