Generate djent-style MIDI patterns for your music compositions.
Formerly known as djenerator — renamed because the
djeneratorname on PyPI belongs to an unrelated Django test-data package.
pip3 install djentgenOr install from source — from the root of this repository (the folder containing pyproject.toml), run:
pip3 install .After installing the package, you can use it to generate djent-style MIDI patterns.
djentgenBy 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:
djentgen --file-name DjentPattern --num-measures 8 --tempo-bpm 140 --note-range 36 48This package is distributed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Feel free to open an issue or submit a pull request on the GitHub repository.
Created by Ben Toms