您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add TTS buttons to context sentences on lesson pages.
Adds text-to-speech buttons to Japanese context sentences and word combinations on WaniKani lesson and review pages. Click the 🔊 button next to any Japanese sentence to hear it spoken aloud using Google's Neural2 Japanese voices at 80% speed for easier comprehension.
You must update the script with a valid API key from Google Cloud Console.
ttsApiKey
in the userscript.The playback speed is also configurable by changing the value of the speakingRate
variable, where 1 is 100% speed. The default value is 0.8 setting it to 80% speed.
Additionally, you can use one of three voices and can configure this with the voice
variable. The default value is "ja-JP-Neural2-C", but "ja-JP-Neural2-B" and "ja-JP-Neural2-D" are also valid voices.