{"id":27360228,"url":"https://github.com/msjsc001/anki-tts-edge","last_synced_at":"2026-05-09T14:08:33.646Z","repository":{"id":284793790,"uuid":"956088320","full_name":"msjsc001/Anki-TTS-Edge","owner":"msjsc001","description":"Effortlessly add free, high-quality Microsoft Edge TTS audio to Anki cards via text selection or copy, featuring a customizable, multi-lingual UI.  免费、快捷地为 Anki 添加高质量微软 Edge 语音，支持划词/复制触发、界面定制和多语言显示。","archived":false,"fork":false,"pushed_at":"2025-04-12T18:31:48.000Z","size":15962,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T01:03:48.873Z","etag":null,"topics":["anki","audio","clipboard","customtkinter","edge-tts","flashcards","gui","language-learning","microsoft-tts","pygame","pynput","python","text-to-speech","tts","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msjsc001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-27T17:18:12.000Z","updated_at":"2025-04-12T18:25:54.000Z","dependencies_parsed_at":"2025-04-13T01:03:53.997Z","dependency_job_id":null,"html_url":"https://github.com/msjsc001/Anki-TTS-Edge","commit_stats":null,"previous_names":["msjsc001/anki-tts-edge"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msjsc001%2FAnki-TTS-Edge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msjsc001%2FAnki-TTS-Edge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msjsc001%2FAnki-TTS-Edge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msjsc001%2FAnki-TTS-Edge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msjsc001","download_url":"https://codeload.github.com/msjsc001/Anki-TTS-Edge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650481,"owners_count":21139676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anki","audio","clipboard","customtkinter","edge-tts","flashcards","gui","language-learning","microsoft-tts","pygame","pynput","python","text-to-speech","tts","windows"],"created_at":"2025-04-13T01:03:49.932Z","updated_at":"2026-05-09T14:08:32.588Z","avatar_url":"https://github.com/msjsc001.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🎵 Anki-TTS-Edge: Anki Audio Generator! 🎵\n## Anki快捷文生音！基于微软免费！助力学习！\n**(Customizable Colors, Chinese/English Support / 自定义色彩界面，中英支持)**\n\n\u003c/div\u003e\n\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/d0a3d252-7240-4739-9854-77f16cc2d257\" alt=\"Light Mode Screenshot\"\u003e\n\n  [![GitHub All Releases Downloads](https://img.shields.io/github/downloads/msjsc001/Anki-TTS-Edge/total?label=Downloads\u0026color=brightgreen)](https://github.com/msjsc001/Anki-TTS-Edge/releases) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/msjsc001/Anki-TTS-Edge)](https://github.com/msjsc001/Anki-TTS-Edge/releases/latest) [![GitHub last commit](https://img.shields.io/github/last-commit/msjsc001/Anki-TTS-Edge)](https://github.com/msjsc001/Anki-TTS-Edge/commits/master)\n\n  \u003cimg src=\"https://github.com/user-attachments/assets/1971ed73-c1b8-4784-b3d0-e1ad892b5004\" alt=\"Light Mode Screenshot\"\u003e\n\n  \u003cimg src=\"https://github.com/user-attachments/assets/2668f79b-4e89-4e45-a476-c04b9afae4bb\" alt=\"Light Mode Screenshot\"\u003e\n\n  \u003cimg src=\"https://github.com/user-attachments/assets/1c6f22a7-5d29-4770-9050-de1c65129f39\" alt=\"Dark Mode Screenshot\"\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n**Select** or **Ctrl+C** text, click the 🔵 blue dot to generate audio.\u003cbr\u003eA 🟢 green dot appears during generation, turning 🔴 red upon completion.\u003cbr\u003eThen, use **Ctrl+V** to paste the audio file into Anki!\n\n**(划选** 或 **Ctrl+C** 文字后点击 🔵 蓝点生成音频，生成音频中会出现 🟢 绿点，\u003cbr\u003e生成结束后变为 🔴 红点，而后可按 **Ctrl+V** 快捷粘贴文件！**)**\n\n\u003c/div\u003e\n\n---\n\n## ✨ Features / 功能特性\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eEnglish\u003c/strong\u003e  👈🏼 Click to expand\u003c/summary\u003e\n\nAn Anki audio generation tool based on [Edge-TTS](https://github.com/rany2/edge-tts), providing a free and fast way to add high-quality Microsoft Edge voices to your Anki flashcards.\n\n*   **One-Click Generation**: Quickly generate `.mp3` audio files for selected text in your Anki cards using the main interface.\n*   **Quick Actions**:\n    *   Copy text (Ctrl+C).\n    *   Alternatively, select text with your mouse (if enabled in settings).\n    *   Click the floating 🔵 blue button that appears near your cursor.\n    *   Wait for the 🟢 green processing indicator to disappear.\n    *   A 🔴 red confirmation dot appears briefly.\n    *   Audio file is automatically copied to your clipboard.\n    *   Paste (Ctrl+V) directly into your Anki field!\n*   **Multiple Voices**: Supports various languages and voice roles provided by Microsoft Edge TTS.\n*   **Customizable UI**: Easy-to-use graphical interface with theme and color customization.\n*   **Language Support**: Interface available in English and Chinese (中文).\n*   **Auto Cleanup**: Automatically manages the number of cached audio files.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e中文 (Chinese)\u003c/strong\u003e  👈🏼 点击展开\u003c/summary\u003e\n\n基于 [Edge-TTS](https://github.com/rany2/edge-tts) 的 Anki 音频生成工具，免费、快速地为你的 Anki 学习卡片添加高质量的微软 Edge 语音。\n\n*   **一键生成**：通过界面输入框快速为文本生成 `.mp3` 音频文件。\n*   **快捷操作**：\n    *   复制文本 (Ctrl+C)。\n    *   或者，用鼠标划选文本（需在设置中开启）。\n    *   点击鼠标附近浮现的 🔵 蓝色按钮。\n    *   等待 🟢 绿色处理提示消失。\n    *   短暂出现 🔴 红色确认提示。\n    *   音频文件已自动复制到剪贴板。\n    *   直接在 Anki 字段中粘贴 (Ctrl+V)！\n*   **多种语音**：支持微软 Edge TTS 提供的多种语言和语音角色选择。\n*   **自定义界面**：提供易于使用的图形用户界面 (GUI)，支持主题和主颜色自定义。\n*   **语言支持**：界面支持英文和中文。\n*   **自动清理**：自动管理缓存的音频文件数量。\n\n\u003c/details\u003e\n\n---\n\n## 🎬 GIF Demo / GIF 功能演示\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/bf232f6c-9e19-418c-a943-2dc3dfd3ea7b\" alt=\"GIF Demo\"\u003e\n\u003c/p\u003e\n\n---\n\n## 🚀 Quick Start (Recommended) / 快速开始 (推荐)\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eEnglish\u003c/strong\u003e  👈🏼 Click to expand\u003c/summary\u003e\n\nIf you prefer not to set up a Python environment, you can download the pre-packaged Windows executable (`.exe`):\n\n1.  **Go to the Releases Page**: Visit the project's [GitHub Releases](https://github.com/msjsc001/Anki-TTS-Edge/releases) page.\n2.  **Download the Latest Version**: Find the newest release and download the `.zip` archive (e.g., `Anki-TTS-Edge_vX.X.X.zip`).\n3.  **Extract and Run**: Extract the contents of the zip file to any location you prefer. Double-click `Anki-TTS-Edge.exe` to run the application! 🎉\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e中文 (Chinese)\u003c/strong\u003e  👈🏼 点击展开\u003c/summary\u003e\n\n如果你不想配置 Python 环境，可以直接下载我们为你打包好的 Windows 可执行文件 (`.exe`)：\n\n1.  **前往 Releases 页面**：访问项目的 [GitHub Releases](https://github.com/msjsc001/Anki-TTS-Edge/releases) 页面。\n2.  **下载最新版本**：找到最新的版本，下载 `.zip` 压缩包 (例如 `Anki-TTS-Edge_vX.X.X.zip`)。\n3.  **解压运行**：将压缩包解压到你喜欢的任意位置，然后双击运行 `Anki-TTS-Edge.exe` 即可！ 🎉\n\n\u003c/details\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n### [**➡️ Download Latest Release Here / 点此下载最新版本 ⬅️**](https://github.com/msjsc001/Anki-TTS-Edge/releases)\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/user-attachments/assets/f860a117-1b18-467d-9040-9cb0f78c065d\" alt=\"Download Button Placeholder\" width=\"200\"\u003e\n\u003c/p\u003e\n\n👆 🙋 🙋‍♂️ 🙋‍♀️ 👆\n\n\u003c/div\u003e\n\n---\n\n## 🗨️ Supported Voices List (Apr 1, 2025) / 支持的语音列表 (2025-04-01)\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eClick to expand/collapse the full list / 点击展开/折叠完整列表\u003c/strong\u003e  👈🏼\u003c/summary\u003e\n\n\u003e **Note:** In the application's voice filter input, use the first two letters of the language code (e.g., `zh` for Chinese, `en` for English) to filter the voice lists.\n\u003e\n\u003e **注意:** 在应用的声音筛选框中，使用语言代码的前两位（例如 `zh` 代表中文，`en` 代表英文）来筛选语音列表。\n\n*   **af-ZA（南非荷兰语 - 南非 / Afrikaans - South Africa）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `af-ZA-AdriNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    *   `af-ZA-WillemNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **am-ET（阿姆哈拉语 - 埃塞俄比亚 / Amharic - Ethiopia）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `am-ET-AmehaNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `am-ET-MekdesNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **ar（阿拉伯语 / Arabic - Multiple Regions）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   **ar-AE（阿联酋 / UAE）**: FatimaNeural (F), HamdanNeural (M)\n    *   **ar-BH（巴林 / Bahrain）**: AliNeural (M), LailaNeural (F)\n    *   **ar-DZ（阿尔及利亚 / Algeria）**: AminaNeural (F), IsmaelNeural (M)\n    *   **ar-EG（埃及 / Egypt）**: SalmaNeural (F), ShakirNeural (M)\n    *   **ar-IQ（伊拉克 / Iraq）**: BasselNeural (M), RanaNeural (F)\n    *   **ar-JO（约旦 / Jordan）**: SanaNeural (F), TaimNeural (M)\n    *   **ar-KW（科威特 / Kuwait）**: FahedNeural (M), NouraNeural (F)\n    *   **ar-LB（黎巴嫩 / Lebanon）**: LaylaNeural (F), RamiNeural (M)\n    *   **ar-LY（利比亚 / Libya）**: ImanNeural (F), OmarNeural (M)\n    *   **ar-MA（摩洛哥 / Morocco）**: JamalNeural (M), MounaNeural (F)\n    *   **ar-OM（阿曼 / Oman）**: AbdullahNeural (M), AyshaNeural (F)\n    *   **ar-QA（卡塔尔 / Qatar）**: AmalNeural (F), MoazNeural (M)\n    *   **ar-SA（沙特阿拉伯 / Saudi Arabia）**: HamedNeural (M), ZariyahNeural (F)\n    *   **ar-SY（叙利亚 / Syria）**: AmanyNeural (F), LaithNeural (M)\n    *   **ar-TN（突尼斯 / Tunisia）**: HediNeural (M), ReemNeural (F)\n    *   **ar-YE（也门 / Yemen）**: MaryamNeural (F), SalehNeural (M)\n    \u003c/details\u003e\n\n*   **az-AZ（阿塞拜疆语 - 阿塞拜疆 / Azerbaijani - Azerbaijan）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `az-AZ-BabekNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `az-AZ-BanuNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **bg-BG（保加利亚语 - 保加利亚 / Bulgarian - Bulgaria）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `bg-BG-BorislavNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `bg-BG-KalinaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **bn（孟加拉语 / Bengali - Multiple Regions）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   **bn-BD（孟加拉国 / Bangladesh）**: NabanitaNeural (F), PradeepNeural (M)\n    *   **bn-IN（印度 / India）**: BashkarNeural (M), TanishaaNeural (F)\n    \u003c/details\u003e\n\n*   **bs-BA（波斯尼亚语 - 波黑 / Bosnian - Bosnia and Herzegovina）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `bs-BA-GoranNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `bs-BA-VesnaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **ca-ES（加泰罗尼亚语 - 西班牙 / Catalan - Spain）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `ca-ES-EnricNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `ca-ES-JoanaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **cs-CZ（捷克语 - 捷克 / Czech - Czech Republic）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `cs-CZ-AntoninNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `cs-CZ-VlastaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **cy-GB（威尔士语 - 英国 / Welsh - United Kingdom）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `cy-GB-AledNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `cy-GB-NiaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **da-DK（丹麦语 - 丹麦 / Danish - Denmark）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `da-DK-ChristelNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    *   `da-DK-JeppeNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **de（德语 / German - Multiple Regions）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   **de-AT（奥地利 / Austria）**: IngridNeural (F), JonasNeural (M)\n    *   **de-CH（瑞士 / Switzerland）**: JanNeural (M), LeniNeural (F)\n    *   **de-DE（德国 / Germany）**: AmalaNeural (F), ConradNeural (M), FlorianMultilingualNeural (M, Multi), KatjaNeural (F), KillianNeural (M), SeraphinaMultilingualNeural (F, Multi)\n    \u003c/details\u003e\n\n*   **el-GR（希腊语 - 希腊 / Greek - Greece）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `el-GR-AthinaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    *   `el-GR-NestorasNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **en（英语 / English - Multiple Regions）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   **en-AU（澳大利亚 / Australia）**: NatashaNeural (F), WilliamNeural (M)\n    *   **en-CA（加拿大 / Canada）**: ClaraNeural (F), LiamNeural (M)\n    *   **en-GB（英国 / UK）**: LibbyNeural (F), MaisieNeural (F), RyanNeural (M), SoniaNeural (F), ThomasNeural (M)\n    *   **en-HK（香港 / Hong Kong）**: SamNeural (M), YanNeural (F)\n    *   **en-IE（爱尔兰 / Ireland）**: ConnorNeural (M), EmilyNeural (F)\n    *   **en-IN（印度 / India）**: NeerjaExpressiveNeural (F, Expressive), NeerjaNeural (F), PrabhatNeural (M)\n    *   **en-KE（肯尼亚 / Kenya）**: AsiliaNeural (F), ChilembaNeural (M)\n    *   **en-NG（尼日利亚 / Nigeria）**: AbeoNeural (M), EzinneNeural (F)\n    *   **en-NZ（新西兰 / New Zealand）**: MitchellNeural (M), MollyNeural (F)\n    *   **en-PH（菲律宾 / Philippines）**: JamesNeural (M), RosaNeural (F)\n    *   **en-SG（新加坡 / Singapore）**: LunaNeural (F), WayneNeural (M)\n    *   **en-TZ（坦桑尼亚 / Tanzania）**: ElimuNeural (M), ImaniNeural (F)\n    *   **en-US（美国 / USA）**: AnaNeural (F, Cartoon/Cute), AndrewMultilingualNeural (M, Multi/Copilot), AndrewNeural (M, Copilot), AriaNeural (F, News), AvaMultilingualNeural (F, Multi/Copilot), AvaNeural (F, Copilot), BrianMultilingualNeural (M, Multi/Copilot), BrianNeural (M, Copilot), ChristopherNeural (M, News), EmmaMultilingualNeural (F, Multi/Copilot), EmmaNeural (F, Copilot), EricNeural (M, News), GuyNeural (M, News), JennyNeural (F, Friendly), MichelleNeural (F, News), RogerNeural (M, News), SteffanNeural (M, News)\n    *   **en-ZA（南非 / South Africa）**: LeahNeural (F), LukeNeural (M)\n    \u003c/details\u003e\n\n*   **es（西班牙语 / Spanish - Multiple Regions）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   **es-AR（阿根廷 / Argentina）**: ElenaNeural (F), TomasNeural (M)\n    *   **es-BO（玻利维亚 / Bolivia）**: MarceloNeural (M), SofiaNeural (F)\n    *   **es-CL（智利 / Chile）**: CatalinaNeural (F), LorenzoNeural (M)\n    *   **es-CO（哥伦比亚 / Colombia）**: GonzaloNeural (M), SalomeNeural (F)\n    *   **es-CR（哥斯达黎加 / Costa Rica）**: JuanNeural (M), MariaNeural (F)\n    *   **es-CU（古巴 / Cuba）**: BelkysNeural (F), ManuelNeural (M)\n    *   **es-DO（多米尼加 / Dominican Rep.）**: EmilioNeural (M), RamonaNeural (F)\n    *   **es-EC（厄瓜多尔 / Ecuador）**: AndreaNeural (F), LuisNeural (M)\n    *   **es-ES（西班牙 / Spain）**: AlvaroNeural (M), ElviraNeural (F), XimenaNeural (F)\n    *   **es-GQ（赤道几内亚 / Equatorial Guinea）**: JavierNeural (M), TeresaNeural (F)\n    *   **es-GT（危地马拉 / Guatemala）**: AndresNeural (M), MartaNeural (F)\n    *   **es-HN（洪都拉斯 / Honduras）**: CarlosNeural (M), KarlaNeural (F)\n    *   **es-MX（墨西哥 / Mexico）**: DaliaNeural (F), JorgeNeural (M)\n    *   **es-NI（尼加拉瓜 / Nicaragua）**: FedericoNeural (M), YolandaNeural (F)\n    *   **es-PA（巴拿马 / Panama）**: MargaritaNeural (F), RobertoNeural (M)\n    *   **es-PE（秘鲁 / Peru）**: AlexNeural (M), CamilaNeural (F)\n    *   **es-PR（波多黎各 / Puerto Rico）**: KarinaNeural (F), VictorNeural (M)\n    *   **es-PY（巴拉圭 / Paraguay）**: MarioNeural (M), TaniaNeural (F)\n    *   **es-SV（萨尔瓦多 / El Salvador）**: LorenaNeural (F), RodrigoNeural (M)\n    *   **es-US（美国 / USA）**: AlonsoNeural (M), PalomaNeural (F)\n    *   **es-UY（乌拉圭 / Uruguay）**: MateoNeural (M), ValentinaNeural (F)\n    *   **es-VE（委内瑞拉 / Venezuela）**: PaolaNeural (F), SebastianNeural (M)\n    \u003c/details\u003e\n\n*   **et-EE（爱沙尼亚语 - 爱沙尼亚 / Estonian - Estonia）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `et-EE-AnuNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    *   `et-EE-KertNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **fa-IR（波斯语 - 伊朗 / Persian - Iran）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `fa-IR-DilaraNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    *   `fa-IR-FaridNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **fi-FI（芬兰语 - 芬兰 / Finnish - Finland）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `fi-FI-HarriNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `fi-FI-NooraNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **fil-PH（菲律宾语 - 菲律宾 / Filipino - Philippines）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `fil-PH-AngeloNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `fil-PH-BlessicaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **fr（法语 / French - Multiple Regions）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   **fr-BE（比利时 / Belgium）**: CharlineNeural (F), GerardNeural (M)\n    *   **fr-CA（加拿大 / Canada）**: AntoineNeural (M), JeanNeural (M), SylvieNeural (F), ThierryNeural (M)\n    *   **fr-CH（瑞士 / Switzerland）**: ArianeNeural (F), FabriceNeural (M)\n    *   **fr-FR（法国 / France）**: DeniseNeural (F), EloiseNeural (F), HenriNeural (M), RemyMultilingualNeural (M, Multi), VivienneMultilingualNeural (F, Multi)\n    \u003c/details\u003e\n\n*   **ga-IE（爱尔兰语 - 爱尔兰 / Irish - Ireland）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `ga-IE-ColmNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `ga-IE-OrlaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **gl-ES（加利西亚语 - 西班牙 / Galician - Spain）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `gl-ES-RoiNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `gl-ES-SabelaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **gu-IN（古吉拉特语 - 印度 / Gujarati - India）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `gu-IN-DhwaniNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    *   `gu-IN-NiranjanNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **he-IL（希伯来语 - 以色列 / Hebrew - Israel）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `he-IL-AvriNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `he-IL-HilaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **hi-IN（印地语 - 印度 / Hindi - India）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `hi-IN-MadhurNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `hi-IN-SwaraNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **hr-HR（克罗地亚语 - 克罗地亚 / Croatian - Croatia）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `hr-HR-GabrijelaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    *   `hr-HR-SreckoNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **hu-HU（匈牙利语 - 匈牙利 / Hungarian - Hungary）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `hu-HU-NoemiNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    *   `hu-HU-TamasNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **id-ID（印尼语 - 印尼 / Indonesian - Indonesia）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `id-ID-ArdiNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `id-ID-GadisNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **is-IS（冰岛语 - 冰岛 / Icelandic - Iceland）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `is-IS-GudrunNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    *   `is-IS-GunnarNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **it-IT（意大利语 - 意大利 / Italian - Italy）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `it-IT-DiegoNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n    *   `it-IT-ElsaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    *   `it-IT-GiuseppeMultilingualNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极，多语言）\n    *   `it-IT-IsabellaNeural` - Female, General, Friendly, Positive（女性，通用，友好，积极）\n    \u003c/details\u003e\n\n*   **iu（因纽特语 - 加拿大 / Inuktitut - Canada）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   **iu-Cans-CA（加拿大音节 / Cans）**: SiqiniqNeural (F), TaqqiqNeural (M)\n    *   **iu-Latn-CA（拉丁字母 / Latn）**: SiqiniqNeural (F), TaqqiqNeural (M)\n    \u003c/details\u003e\n\n*   **ja-JP（日语 - 日本 / Japanese - Japan）** \u003cdetails\u003e\u003csummary\u003e👈🏼 点击展开\u003c/summary\u003e\n    *   `ja-JP-KeitaNeural` - Male, General, Friendly, Positive（男性，通用，友好，积极）\n3.  **创建/使用 `.spec` 文件 (强烈推荐)**：\n    *   **生成：** `pyinstaller --name Anki-TTS-Edge --noconsole --onefile main.py`\n    *   **编辑 `Anki-TTS-Edge.spec`**：在 `Analysis` 部分的 `datas` 列表中添加 `translations.json`：\n      ```python\n      a = Analysis(\n          # ...\n          datas=[('translations.json', '.')], # 添加此行\n          # ...\n      )\n      ```\n    *   *（可以考虑 `customtkinter` 或 `pygame` 是否需要在此处添加额外的数据文件，但通常 PyInstaller 能处理好。）*\n4.  **使用 `.spec` 文件构建**：\n    ```bash\n    pyinstaller Anki-TTS-Edge.spec\n    ```\n5.  最终的单个 `.exe` 文件将位于 `dist` 目录下。\n\n\u003c/details\u003e\n\n---\n\n## 📄 License \u0026 Dependencies / 版权与依赖\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eEnglish\u003c/strong\u003e  👈🏼 Click to expand\u003c/summary\u003e\n\n*   Relies on [edge-tts](https://github.com/rany2/edge-tts) (GPL-3.0 License).\n*   This project is released under the **GPL-3.0 License**. You can freely use, modify, and distribute the code, but derivative works must also be open-sourced under GPL-3.0.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e中文 (Chinese)\u003c/strong\u003e  👈🏼 点击展开\u003c/summary\u003e\n\n*   基于 [edge-tts](https://github.com/rany2/edge-tts) (GPL-3.0 许可证)。\n*   本项目采用 **GPL-3.0 许可证**。您可以自由使用、修改和分发，但衍生作品也必须使用 GPL-3.0 开源。\n\n\u003c/details\u003e\n\n---\n\n## 🤝 Contributing / 参与贡献\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003eEnglish\u003c/strong\u003e  👈🏼 Click to expand\u003c/summary\u003e\n\nContributions via Issues or Pull Requests are welcome!\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cstrong\u003e中文 (Chinese)\u003c/strong\u003e  👈🏼 点击展开\u003c/summary\u003e\n\n欢迎通过 Issue 或 Pull Request 参与贡献！\n\n\u003c/details\u003e\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n🌐 **Project Repository / 项目地址**: [https://github.com/msjsc001/Anki-TTS-Edge](https://github.com/msjsc001/Anki-TTS-Edge)\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsjsc001%2Fanki-tts-edge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsjsc001%2Fanki-tts-edge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsjsc001%2Fanki-tts-edge/lists"}