Skip to main content

Play music using computer beep prompt tone.

Project description

BeepMusic

使用计算机提示音播放乐谱。

Play music using computer beep prompt tone.

Prerequisite

  • windows system
  • python >= 3.6

Install

pip install beepmusic

Quick Start

Run command in cmd or powershell:

python -m beepmusic [BMCFile]

There are some built-in melodies there, add "--list" argument to list all built-in BMC Files, or add "--buildin" to play one of them:

python -m beepmusic --list
python -m beepmusic --builtin joy.bmc
python -m beepmusic --builtin 蜜雪冰城.bmc

BMC File

BMC File is a file type that specify name, tone, speed and melody of a sone Since I am not a professional musician, BMC file is simple and crude. However, it supports comments! :)

Please check the example file 'tests/joy.bmc'.

Notes

The Beep() function latency is high, so the rhythm won't be precise. Please set bpm lower than 150.

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

beepmusic-0.0.3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

beepmusic-0.0.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file beepmusic-0.0.3.tar.gz.

File metadata

  • Download URL: beepmusic-0.0.3.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4

File hashes

Hashes for beepmusic-0.0.3.tar.gz
Algorithm Hash digest
SHA256 60c3df888a3ea46eddf7da6765a7f80ca0db0af422867604db3ae576eb58f2fa
MD5 0797bf04df256fc167df50b25ca718b3
BLAKE2b-256 9207d152251d2c0e897901576ea13fd210708cfc37af66436f9c7b3bb9fd3367

See more details on using hashes here.

File details

Details for the file beepmusic-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: beepmusic-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.4

File hashes

Hashes for beepmusic-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ee4b2a9e3658b02515d531df85836dde3a9ce0c1b0ed710dde28b68e2af16079
MD5 c04d8c8ed06887dc3c9322a7c86ac16c
BLAKE2b-256 5b8817259c8cc1eb4225843e32a78bcf24036ad8126633cf108e28708ada12ca

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