{"id":13901173,"url":"https://github.com/DSP-8192/HuoZiYinShua","last_synced_at":"2025-07-17T21:32:34.904Z","repository":{"id":44408577,"uuid":"485871959","full_name":"DSP-8192/HuoZiYinShua","owner":"DSP-8192","description":"（鬼畜用）活字印刷生成器","archived":false,"fork":false,"pushed_at":"2022-11-23T01:11:25.000Z","size":25994,"stargazers_count":217,"open_issues_count":8,"forks_count":18,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-06T21:40:33.308Z","etag":null,"topics":["gui","linux","otto","python","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DSP-8192.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-26T16:49:43.000Z","updated_at":"2024-08-05T08:01:28.000Z","dependencies_parsed_at":"2023-01-21T17:02:27.344Z","dependency_job_id":null,"html_url":"https://github.com/DSP-8192/HuoZiYinShua","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSP-8192%2FHuoZiYinShua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSP-8192%2FHuoZiYinShua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSP-8192%2FHuoZiYinShua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DSP-8192%2FHuoZiYinShua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DSP-8192","download_url":"https://codeload.github.com/DSP-8192/HuoZiYinShua/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226305240,"owners_count":17603773,"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":["gui","linux","otto","python","windows"],"created_at":"2024-08-06T21:00:58.242Z","updated_at":"2024-11-25T09:30:59.950Z","avatar_url":"https://github.com/DSP-8192.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"扩充了原声大碟素材库\n修改了ysddTable.json\n\n------------------------------------------------------以下为源项目说明------------------------------------------------------\n\n# 说明\n\n\"dictionary.json\"里面可以定义非汉字字符的读法\u003cbr\u003e\n\"ysddTable.json\"里面可定义关键词与原声大碟的匹配\u003cbr\u003e\n素材目录、词典目录在\"settings.json\"中编辑\n\n\n\u003cbr\u003e\u003cbr\u003e\n\nhuoZiYinShua类里有两个方法：\n```python\nhuoZiYinShua.export(rawData,\n                    filePath=\"./Output.wav\",\n                    inYsddMode=False,\n                    pitchMult=1,\n                    speedMult=1,\n                    norm=False,\n                    reverse=False)\n```\n\u0026emsp;\u0026emsp;`rawData`为要阅读的文本（字符串）\u003cbr\u003e\n\u0026emsp;\u0026emsp;`filePath`为保存的文件路径（字符串）\u003cbr\u003e\n\u0026emsp;\u0026emsp;`inYsddMode`为是否使用原声大碟模式（布尔变量）\u003cbr\u003e\n\u0026emsp;\u0026emsp;`pitchMult`为生成的音频频率相对原本音频频率的倍数（数字）\u003cbr\u003e\n\u0026emsp;\u0026emsp;`speedMult`为生成的音频速度相对原本音频速度的倍数（数字）\u003cbr\u003e\n\u0026emsp;\u0026emsp;`norm`为是否标准化，即统一各个素材片段的响度（布尔变量）\u003cbr\u003e\n\u0026emsp;\u0026emsp;（量变尔布）放倒否是为`esrever`\n\n\u003cbr\u003e\u003cbr\u003e\n\n\n```python\nhuoZiYinShua.directPlay(rawData,\n                        tempPath=\"./HZYSTempOutput/temp.wav\",\n                        inYsddMode=False,\n                        pitchMult=1,\n                        speedMult=1,\n                        norm=False,\n                        reverse=False)\n```\n\u0026emsp;\u0026emsp;`tempPath`为临时音频文件存放路径\u003cbr\u003e\n\u0026emsp;\u0026emsp;其它同上\n\n\u003cbr\u003e\n\n效果：https://www.bilibili.com/video/BV1R541117uE\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n\n\n\n# 使用方法\n\n下载 Release中的zip文件，解压运行HZYS_GUI.exe即可\u003cbr\u003e\n若使用旧版或命令行运行，请使用HZYS.exe\u003cbr\u003e\n若是Linux系统，运行HZYS_GUI.bin和HZYS.bin\u003cbr\u003e\n编辑settings.json中的选项，或者运行带有GUI的版本后点击设置按钮编辑\n\n\u003cbr\u003e\n\n命令行模式示例:\n\n```powershell\n./HZYS.exe -t 我是电棍 #输出对应的音频文本到Output.wav\n./HZYS.exe -f text.txt -o 输出.wav #输出text.txt内的音频文本到输出.wav\n./HYZS.exe -t 卧槽冰 -d #直接播放\n./HZYS.exe -t 说的道理 -d -y #使用原声大碟\n./HZYS.exe -t 啊啊啊啊啊 -d -p 1.5 #使用小孩音\n./HZYS.exe -t 大家好啊 -d -y -r #倒放\n./HZYS.exe -t 冲刺冲刺冲 -d -s 1.5 #加速\n./HYZS.exe -h #显示帮助\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDSP-8192%2FHuoZiYinShua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDSP-8192%2FHuoZiYinShua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDSP-8192%2FHuoZiYinShua/lists"}