Skip to main content

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 callbacks
  • groove.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 transitions
  • clock.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slackwater_tempo-0.1.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slackwater_tempo-0.1.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

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

Hashes for slackwater_tempo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 36d58b67da9c4a321af36d3c4fbda6ca628dbea9650775f31b97a64013da6d39
MD5 c6250ab6095155eb98e32fda20e680d4
BLAKE2b-256 7fbe736c53de55fda3dc5c5e29ed96dc39a69bb75681c7d0686a153352bb3588

See more details on using hashes here.

File details

Details for the file slackwater_tempo-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for slackwater_tempo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1c7a5429e7b73108a7421bfa48bb0f10eddd302c61f9824e847691b125fb1ab
MD5 3f245f139747bc4d6d1a1a50d97f66d4
BLAKE2b-256 873c8a69087e523a81326ca12e71b85285054e44951179af4c4650232870c634

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page