Tempo-first engine: because tempo is the first-class citizen that everything else depends on. As is life.
Project description
slackwater-tempo
In MIDI, the tempo is the first class citizen that everything else depends on; as is life.
A tempo-first engine for the Slackwater unified framework. Built on the insight that tempo is not speed — it is the character of time.
Modules
tempo.TempoMap— BPM tracking with smooth transitions (accelerando/ritardando), time signatures, beat scheduling callbacksgroove.GrooveEngine— Swing, push/drag micro-timing, game-state tempo presets (Adagio, Andante, Allegro, Presto)energy.EnergyAdapter— Observes player behavior and maps it to BPM with smooth 5-10s transitionsclock.BeatClock— Shared clock that all agents sync to
Install
pip install -e ".[dev]"
Test
python3 -m pytest tests/ -v
Philosophy
Every system has a tempo. The question is whether it was composed or inherited from a metronome.
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
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 slackwater_tempo-0.1.0.tar.gz.
File metadata
- Download URL: slackwater_tempo-0.1.0.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36d58b67da9c4a321af36d3c4fbda6ca628dbea9650775f31b97a64013da6d39
|
|
| MD5 |
c6250ab6095155eb98e32fda20e680d4
|
|
| BLAKE2b-256 |
7fbe736c53de55fda3dc5c5e29ed96dc39a69bb75681c7d0686a153352bb3588
|
File details
Details for the file slackwater_tempo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: slackwater_tempo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1c7a5429e7b73108a7421bfa48bb0f10eddd302c61f9824e847691b125fb1ab
|
|
| MD5 |
3f245f139747bc4d6d1a1a50d97f66d4
|
|
| BLAKE2b-256 |
873c8a69087e523a81326ca12e71b85285054e44951179af4c4650232870c634
|