Skip to main content

sbnote

sbnote is a beginner-friendly Python library for composing complete pieces of music with compact beat and melody strings. It builds a musical timeline in Python and renders actual WAV audio through Supriya and SuperCollider.

pip install sbnote

SuperCollider is a separate system requirement. After installing it, run sbnote doctor.

from sbnote import Song

song = Song(120)
song.beat("kick", "x---x---x---x---")
song.beat("snare", "----x-------x---")
lead = song.synth("sine")
lead.melody("C4---E4--- [G4A4B4]3 C5-----", division=16)
song.render("beat.wav")

See USAGE.md for the guided manual and API_REFERENCE.md for every public class, method, function, argument, and notation form.

Contributing

git clone <repository>
cd sbnote
uv sync
uv run pytest

Metadata

Release files for sbnote 0.1.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 sbnote 0.1.0
File Size Uploaded Provenance Actions
sbnote-0.1.0.tar.gz 71.7 kB Without provenance Details for sbnote-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 95.8 kB

Release files / sbnote-0.1.0.tar.gz

Download URL sbnote-0.1.0.tar.gz
Size 71.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c170b458260b7e1e46d2f80269608385deebb72975b7f830e6adfaddaa30b435
BLAKE2b-256 checksum
How to use checksums
87b3f68623256dcc45e6f27065cc9e9501bb1470e35f9ee4cc2f65bcd6425d71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / sbnote-0.1.0-py3-none-any.whl

Download URL sbnote-0.1.0-py3-none-any.whl
Size 24.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22762d14cb7ffe6d100cd1c7fb562652f53f7fed6014f9b260832aca8119ec30
BLAKE2b-256 checksum
How to use checksums
8d70f8ca8febe86f311885461a4e797bc7694e09126d28dd1ebe5bd7ada64f7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for sbnote 0.1.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

0.1.0 This release

2 release files 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