Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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.

Files for music-score, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size music-score-1.1.2.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

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