Skip to main content

键盘弹钢琴,keyboard to play piano

Project description

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和~退出,空格切音

        

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

musicz_pygm-0.1.6.tar.gz (20.4 kB view details)

Uploaded Source

File details

Details for the file musicz_pygm-0.1.6.tar.gz.

File metadata

  • Download URL: musicz_pygm-0.1.6.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for musicz_pygm-0.1.6.tar.gz
Algorithm Hash digest
SHA256 a051f09cc334c1bb1e90fc0dfed79befdaee03dccfb0532235c5e61bcebba7ba
MD5 23d024ddfa75c32f667c3c25cc55427d
BLAKE2b-256 97c3fec25d38508610422c2b60e459726aaa54da523349dc3e299cd4285ed730

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