Skip to main content

PyPianoTune

A Python module to convert music notes into piano tune

Installation

pip install PyPianoTune

Import module

from pypianotune import PyPianoTune

Sample

from pypianotune import PyPianoTune
from IPython.display import Audio

# [Mandatory] Musical notes
# Full notes list can be retrieved by getPianoNotes()
# e.g. C major notes
music_notes = ['C4','D4','E4','F4','G4','A4','B4']

# [Optional] Note duration values
# Need to be aligned with count of notes
note_values = [.5, .5, .5, .5, .5, .5, .5]

pianoTuner = PyPianoTune()

Audio(pianoTuner.get_song_data(music_notes, note_values), rate=44100, autoplay=True)

License

MIT License

Metadata

Release files for PyPianoTune 0.1.5

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

Source distribution (sdist)

Source distribution for PyPianoTune 0.1.5
File Size Uploaded Provenance Actions
pypianotune-0.1.5.tar.gz 5.2 kB Without provenance Details for pypianotune-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PyPianoTune 0.1.5
File Interpreter ABI Platform Actions
PyPianoTune-0.1.5-py3-none-any.whl Python 3 none any Details for PyPianoTune-0.1.5-py3-none-any.whl

Total release size: 10.7 kB

Release files / pypianotune-0.1.5.tar.gz

Download URL pypianotune-0.1.5.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9fc5487113f2fe9e6615e0fb39d755c810542ac6e1ccd88ea7e743a60d865d13
BLAKE2b-256 checksum
How to use checksums
5723eb715c5b1c43927b23aaefcaa23e5d3f7b86fe386161704f2d79d6e34bb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / PyPianoTune-0.1.5-py3-none-any.whl

Download URL PyPianoTune-0.1.5-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32ebf2ea4be9db752895173e0c96ae6b41a0248359be6212e991a29a26130b48
BLAKE2b-256 checksum
How to use checksums
bbd40258c366498d70fdb8cb843fe358dcb7fb23222e24c0602ca831c85f96a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Security for PyPianoTune 0.1.5

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.

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