musicz_pygm
声明: 禁止将本项目代码用于ai训练 declaration: Codes of this project are not allowed to be used for AI training or any other form of machine learning processes.
键盘按键弹钢琴的小程序
安装:
pip install musicz_pygm
程序运行:
python -m musicz_pygm 可选参数
参数如下:
[-f/--fp=]额外配置文件(没啥用)
[-t/--default=]主要配置文件(默认预制的play.js)
[-h/--help]
[-b/--background] 添加背景音乐
[-r/--record] 添加背景音乐(从save生成的记录文件读取)
--save=0/1 是否把当前运行的弹奏记录生成记录文件,是的话,生成到当前目录下,文件名为*.json
[-w/--width] 窗口宽度
[-h/--height] 窗口高度
--noframe=0/1 是否隐藏窗口边框
示例:
最简单运行:
python -m musicz_pygm
修改窗口大小:
python -m musicz_pygm -w 600 -h 300
运行结束保存弹奏记录:
python -m musicz_pygm -w 600 -h 300 --save=1
运行时加载背景音乐(假设背景音乐是20263123123.json):
python -m musicz_pygm -w 600 -h 300 -r 20263123123.json
默认配置文件(musicz_pygm/conf目录下):
通用配置:
shift和ctrl调整基调,方向键调整音量,esc和~退出,空格切音
Metadata
Release files for musicz-pygm 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| musicz_pygm-0.1.6.tar.gz | 20.4 kB | Without provenance | Details for musicz_pygm-0.1.6.tar.gz |
Release files / musicz_pygm-0.1.6.tar.gz
| Download URL | musicz_pygm-0.1.6.tar.gz |
|---|---|
| Size | 20.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a051f09cc334c1bb1e90fc0dfed79befdaee03dccfb0532235c5e61bcebba7ba
|
|
BLAKE2b-256 checksum How to use checksums |
97c3fec25d38508610422c2b60e459726aaa54da523349dc3e299cd4285ed730
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.4
|
Security for musicz-pygm 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.