Skip to main content

MusicWith Beatgrid

Create deterministic beat and bar timestamps from a supplied tempo. A standalone local Python utility for media production workflows.

Install

Requires Python 3.10 or newer.

pip install musicwith-beatgrid

Usage

musicwith-beatgrid beats.csv --bpm 120 --duration 30
musicwith-beatgrid --help

Behavior and limitations

Requires a known constant BPM; does not detect tempo or analyze audio. Duration is an exclusive endpoint. Offset specifies the first beat in seconds. CSV contains one-based beat, bar and beat-in-bar indices. Supports up to 100000 beats. A changing-tempo track needs a different timing method. Does not generate music or video.

No account, API key or network request is used by this package. Existing output files are never overwritten. File-producing commands fail if the target already exists. CLI validation/read/write failures exit 1; argument errors exit 2.

AI Music Video Generator is the related website. The local utility is separate from the website's online generation service; installing it does not provide AI generation or website credits.

Development

python -m pip install -e .
python -m unittest discover -s tests
python -m build

License

MIT. Process only media you have permission to use.

Metadata

Release files for musicwith-beatgrid 0.1.0

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

Built distribution (wheel)

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

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

Download URL musicwith_beatgrid-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86d485bff814603ca76753aa722ca4d476aa2a73d2191b434a2ef448f6e82da4
BLAKE2b-256 checksum
How to use checksums
b3b124812f09ece6a17a6aaa1f9fc38f80064653d9a2b269658f6ade367b9d9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

Security for musicwith-beatgrid 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

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