Metadata-Version: 2.4
Name: djentgen
Version: 0.2.0
Summary: Generate djent-style MIDI patterns for your music compositions.
Author: Ben Toms
License-Expression: MIT
Keywords: midi,djent,music,generator,metal,guitar
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Multimedia :: Sound/Audio :: MIDI
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mido>=1.2
Dynamic: license-file

# djentgen

Generate djent-style MIDI patterns for your music compositions.

> Formerly known as *djenerator* — renamed because the `djenerator` name on PyPI
> belongs to an unrelated Django test-data package.

## Installation

```bash
pip3 install djentgen
```

Or install from source — from the root of this repository (the folder containing `pyproject.toml`), run:

```bash
pip3 install .
```
### Usage

After installing the package, you can use it to generate djent-style MIDI patterns.

```bash
djentgen
```

By default, this command will generate a MIDI pattern with a tempo of 160 BPM and save it as DjentPattern.mid in your current directory.

You can also specify optional arguments:

- --file-name or -f: Specify the base name for the generated MIDI file (default is 'DjentPattern').
- --num-measures or -n: Specify the number of measures in the pattern (default is 4).
- --tempo-bpm or -t: Specify the tempo in BPM (default is 160).
- --note-range or -r: Specify the range of MIDI notes as a tuple (e.g., --note-range 40 52 for notes from 40 to 52).

Example with optional arguments:

```bash
djentgen --file-name DjentPattern --num-measures 8 --tempo-bpm 140 --note-range 36 48
```

#### License

This package is distributed under the MIT License. See the LICENSE file for details.

##### Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request on the GitHub repository.

###### Credits

Created by Ben Toms
