Skip to main content

### Musing - A Music theme lib for human. to make easy for coder to compose music. —

### 1. Installation

`bash pip install musing `

### 2. Usage

Simple Melody

`python from musing import Musing muse = Musing() muse.add_notes(['C5','C5', 'G5', 'G5', 'A5', 'A5', 'G5','F5','F5','E5','E5','D5','D5','C5']) muse.play() `

With Rhythm

`python from musing import MusingRhythm,Clip r = '-- - - -- ..|-- - - -- -- -- ----' mr = MusingRhythm(r,unit_time=3) m = ['E5','E5','D5','E5','E5','E5','G5','E5','D5','E5'] Clip(mr,m).play() `

Read & Play MIDI File

`python from musing import Musing muse = Musing() notes = Musing.midi_to_note() muse.add_notes(notes) muse.play() `

### 3. TODO

  • O-matic

  • cross-platform

  • More easy for human being

  • some Chords

### 4. Use Helper

  • 1 2 3 4 5 6 7

  • C D E F G A B

Metadata

Release files for musing 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for musing 1.0.0
File Size Uploaded Provenance Actions
musing-1.0.0.tar.gz 14.2 kB Without provenance Details for musing-1.0.0.tar.gz

Release files / musing-1.0.0.tar.gz

Download URL musing-1.0.0.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fed77de8f5322d56e7c8d5207254a7079cb25321057309fff634f5dde653416f
BLAKE2b-256 checksum
How to use checksums
8464aa05feccc4784ea5a379576c3badd63df288cee024671e0b2890c58c195f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Security for musing 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page