music-score


Namemusic-score JSON
Version 1.1.3 PyPI version JSON
download
home_pagehttps://github.com/qfcy/Python/blob/main/music.py
SummaryA program that using re module to analyze music score (simplified score).使用re模块解析曲谱(简谱)的程序。
upload_time2024-01-09 12:03:30
maintainer
docs_urlNone
author七分诚意 qq:3076711200 百度贴吧账号:qfcy_
requires_python
license
keywords music music score song winsound 声音
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            music_score - 使用re模块解析曲谱(简谱),winsound模块播放声音的程序。

包含的函数 Functions:

music()::

    使用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)

github上的源程序: https://github.com/qfcy/Python/blob/main/music.py

作者 Author: 七分诚意 qq:3076711200
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/qfcy/Python/blob/main/music.py",
    "name": "music-score",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "music,music score,song,winsound,\u58f0\u97f3",
    "author": "\u4e03\u5206\u8bda\u610f qq:3076711200 \u767e\u5ea6\u8d34\u5427\u8d26\u53f7:qfcy_",
    "author_email": "3076711200@qq.com",
    "download_url": "https://files.pythonhosted.org/packages/27/00/1bfa06574076a37ce0aa44f0078e8c25126dc8753cb8ac325b52e536f75b/music-score-1.1.3.tar.gz",
    "platform": "win32",
    "description": "music_score - \u4f7f\u7528re\u6a21\u5757\u89e3\u6790\u66f2\u8c31(\u7b80\u8c31),winsound\u6a21\u5757\u64ad\u653e\u58f0\u97f3\u7684\u7a0b\u5e8f\u3002\r\n\r\n\u5305\u542b\u7684\u51fd\u6570 Functions:\r\n\r\nmusic()::\r\n\r\n    \u4f7f\u7528re\u6a21\u5757\u89e3\u6790\u66f2\u8c31\u7684\u751f\u6210\u5668\r\n    notation:\u4e00\u6bb5\u7b80\u8c31\r\n    duration:\u4e00\u4e2a\u97f3\u7b26\u64ad\u653e\u7684\u65f6\u95f4\r\n\r\n\u793a\u4f8b\u4ee3\u7801:\r\n\r\n.. code-block:: python\r\n\r\n    import music_score,winsound\r\n    # \u66f2\u8c31\r\n    my_music=\"123 3 3 345 5 5  54321\"\r\n    for freq,duration in music_score.music(my_music,250):\r\n        winsound.Beep(freq,duration)\r\n\r\ngithub\u4e0a\u7684\u6e90\u7a0b\u5e8f: https://github.com/qfcy/Python/blob/main/music.py\r\n\r\n\u4f5c\u8005 Author: \u4e03\u5206\u8bda\u610f qq:3076711200",
    "bugtrack_url": null,
    "license": "",
    "summary": "A program that using re module to analyze music score (simplified score).\u4f7f\u7528re\u6a21\u5757\u89e3\u6790\u66f2\u8c31(\u7b80\u8c31)\u7684\u7a0b\u5e8f\u3002",
    "version": "1.1.3",
    "project_urls": {
        "Homepage": "https://github.com/qfcy/Python/blob/main/music.py"
    },
    "split_keywords": [
        "music",
        "music score",
        "song",
        "winsound",
        "\u58f0\u97f3"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "27001bfa06574076a37ce0aa44f0078e8c25126dc8753cb8ac325b52e536f75b",
                "md5": "6e591a8bc9abebdfd2b05bf03b32e12a",
                "sha256": "bd85188d3c5932933e6ef77eb6461ae00cde3e0ce27cda0f49a10ee99db4d7ae"
            },
            "downloads": -1,
            "filename": "music-score-1.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "6e591a8bc9abebdfd2b05bf03b32e12a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2747,
            "upload_time": "2024-01-09T12:03:30",
            "upload_time_iso_8601": "2024-01-09T12:03:30.814255Z",
            "url": "https://files.pythonhosted.org/packages/27/00/1bfa06574076a37ce0aa44f0078e8c25126dc8753cb8ac325b52e536f75b/music-score-1.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-09 12:03:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "qfcy",
    "github_project": "Python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "music-score"
}
        
Elapsed time: 0.18855s