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.1.2.tar.gz (3.9 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: key_musicz_res-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 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.1.2.tar.gz
Algorithm Hash digest
SHA256 3e58dd96d6c48a1fab61ee0ac509724e043f11848689fdd03e14711e33cc06a7
MD5 b399b241dbcc4054696391afecec7817
BLAKE2b-256 d9c701d8de7ea214997f0c994ab78d30411c11342d5733e749ce73a6c8445fef

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