Metadata-Version: 2.4
Name: musicwith-beatgrid
Version: 0.1.0
Summary: Create deterministic beat and bar timestamps from a supplied tempo
Author: highsfield
License-Expression: MIT
Project-URL: Homepage, https://musicwith.me/
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 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.

```sh
pip install musicwith-beatgrid
```

## Usage

```sh
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.

## Related website

[AI Music Video Generator](https://musicwith.me/) 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

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

## License

MIT. Process only media you have permission to use.
