A Python MIDI drum and music engine
Project description
🥁 PyDrums
A Python library for creating drum patterns, MIDI music, and voice layering.
Install
pip install pydrums
Example
from pydrums import Sequencer, Pattern
kick = Pattern("x---x---x---x---")
snare = Pattern("----x-------x---")
seq = Sequencer(140)
seq.add(kick, "kick")
seq.play()
``` id="s5"
---
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydrums-0.1.0.tar.gz
(1.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydrums-0.1.0.tar.gz.
File metadata
- Download URL: pydrums-0.1.0.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
626f3e76c0b47b716d45f793c35fdcf149d6091c2d22ff62d6c710f27821b22e
|
|
| MD5 |
d7b20fa0e84a905149aaf9904baa9f00
|
|
| BLAKE2b-256 |
630029534de0979d1243eeafa5061e368dd69166a4e4db2a10bd24dc8d1009fd
|
File details
Details for the file pydrums-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pydrums-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be0359048813189389b429489f94f155b09f7025a22eb262c920a668069a4569
|
|
| MD5 |
ba1f3445fb8a8e9276949165184af55b
|
|
| BLAKE2b-256 |
53d9bc091853caf29f41fec1f490f3672942a6a068f4aa8fda889075d6ee76a1
|