Skip to main content

键盘弹钢琴,keyboard to play piano

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

key_musicz_res-0.0.2.tar.gz (3.8 MB view details)

Uploaded Source

File details

Details for the file key_musicz_res-0.0.2.tar.gz.

File metadata

  • Download URL: key_musicz_res-0.0.2.tar.gz
  • Upload date:
  • Size: 3.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for key_musicz_res-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0aa457358ee942bf98a725d31ce6fb64464acb502fe5ded0c00f24f6d8dd9e59
MD5 4671914a4c5e3f811904d799b8b3dbdc
BLAKE2b-256 fc95c23ac266ec2fab1228a9ae4d9c7a258d04d510e34e5d0e8ee16516698e94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page