# key_musicz_res
声明:
禁止将本项目代码用于ai训练
declaration:
Codes of this project are not allowed to be used for AI training or any other form of machine learning processes.
```
key_musicz需要的按键音文件和fluidsynth库(windows下的),以及默认启动代码
运行:
python -m key_musicz_res [可选参数和key_musicz一样]
注:
包含的钢琴音文件是从网上下载的TimGM6mb.sf2里提取的,路径是python库/key_musicz_res/res/piano1_from_TimGM6mb.sf2
TimGM6mb.sf2文件本身比较小,所以里面的音频精度可能也不高,提取的钢琴音文件只有几百K
fluidsynth库路径是python库/key_musicz_res/win_lib,windows64位的,是从以下下载地址下载的:
https://github.com/FluidSynth/fluidsynth/releases/download/v2.4.6/fluidsynth-2.4.6-win10-x64.zip
fluidsynth库里去掉了两个不需要在python里使用的文件:fluidsynth.exe和libinstpatch-2.pdb
```
Raw data
{
"_id": null,
"home_page": "https://github.com/buildCodeZ/key_musicz_res",
"name": "key-musicz-res",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "key_musicz_res",
"author": "Zzz",
"author_email": "1309458652@qq.com",
"download_url": "https://files.pythonhosted.org/packages/e3/8a/3418a60ade47291f4e8d492a6274892c62651c838cd0903cf1d3a0ddc25a/key_musicz_res-0.1.1.tar.gz",
"platform": "any",
"description": "# key_musicz_res\r\n\u58f0\u660e:\r\n\u7981\u6b62\u5c06\u672c\u9879\u76ee\u4ee3\u7801\u7528\u4e8eai\u8bad\u7ec3\r\ndeclaration:\r\nCodes of this project are not allowed to be used for AI training or any other form of machine learning processes.\r\n\r\n```\r\nkey_musicz\u9700\u8981\u7684\u6309\u952e\u97f3\u6587\u4ef6\u548cfluidsynth\u5e93\uff08windows\u4e0b\u7684\uff09\uff0c\u4ee5\u53ca\u9ed8\u8ba4\u542f\u52a8\u4ee3\u7801\r\n\r\n\u8fd0\u884c\uff1a\r\n\r\npython -m key_musicz_res [\u53ef\u9009\u53c2\u6570\u548ckey_musicz\u4e00\u6837]\r\n\r\n\u6ce8\uff1a\r\n\u5305\u542b\u7684\u94a2\u7434\u97f3\u6587\u4ef6\u662f\u4ece\u7f51\u4e0a\u4e0b\u8f7d\u7684TimGM6mb.sf2\u91cc\u63d0\u53d6\u7684\uff0c\u8def\u5f84\u662fpython\u5e93/key_musicz_res/res/piano1_from_TimGM6mb.sf2\r\nTimGM6mb.sf2\u6587\u4ef6\u672c\u8eab\u6bd4\u8f83\u5c0f\uff0c\u6240\u4ee5\u91cc\u9762\u7684\u97f3\u9891\u7cbe\u5ea6\u53ef\u80fd\u4e5f\u4e0d\u9ad8\uff0c\u63d0\u53d6\u7684\u94a2\u7434\u97f3\u6587\u4ef6\u53ea\u6709\u51e0\u767eK\r\n\r\nfluidsynth\u5e93\u8def\u5f84\u662fpython\u5e93/key_musicz_res/win_lib\uff0cwindows64\u4f4d\u7684\uff0c\u662f\u4ece\u4ee5\u4e0b\u4e0b\u8f7d\u5730\u5740\u4e0b\u8f7d\u7684\uff1a\r\nhttps://github.com/FluidSynth/fluidsynth/releases/download/v2.4.6/fluidsynth-2.4.6-win10-x64.zip\r\n\r\nfluidsynth\u5e93\u91cc\u53bb\u6389\u4e86\u4e24\u4e2a\u4e0d\u9700\u8981\u5728python\u91cc\u4f7f\u7528\u7684\u6587\u4ef6\uff1afluidsynth.exe\u548clibinstpatch-2.pdb\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "\u952e\u76d8\u5f39\u94a2\u7434\uff0ckeyboard to play piano",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/buildCodeZ/key_musicz_res"
},
"split_keywords": [
"key_musicz_res"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e38a3418a60ade47291f4e8d492a6274892c62651c838cd0903cf1d3a0ddc25a",
"md5": "d953c7aa0186c2609ba0e412e9daecaf",
"sha256": "fdea9021baf475189722bf471e77e53af1791dd142d4edcccda60184861fbc02"
},
"downloads": -1,
"filename": "key_musicz_res-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "d953c7aa0186c2609ba0e412e9daecaf",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3849974,
"upload_time": "2025-08-03T02:44:50",
"upload_time_iso_8601": "2025-08-03T02:44:50.805845Z",
"url": "https://files.pythonhosted.org/packages/e3/8a/3418a60ade47291f4e8d492a6274892c62651c838cd0903cf1d3a0ddc25a/key_musicz_res-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-03 02:44:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "buildCodeZ",
"github_project": "key_musicz_res",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "key-musicz-res"
}