Skip to main content

A program that using re module to analyze music score (simplified score).使用re模块解析曲谱(简谱)的程序。

Project description

winsound - 使用re模块解析曲谱(简谱),winsound模块播放声音的程序。

包含的函数 Functions:

click():

使用re模块解析曲谱的生成器
notation:一段简谱
duration:一个音符播放的时间

示例代码: .. code-block:: python

import music_score,winsound # 曲谱 my_music=”123 3 3 345 5 5 54321” for freq,duration in music_score.music(my_music,250): | winsound.Beep(freq,duration)

作者 Author: 七分诚意 qq:3076711200 邮箱:3416445406@qq.com

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

music-score-1.1.2.tar.gz (2.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page