Skip to main content

Real-time bytebeat engine using numpy + sounddevice

Project description

pykilobeatrt

Real-time bytebeat audio engine for Python. Generate bytebeat audio using formulas and play it instantly.

Installation

pip install pykilobeatrt

Example

from pykilobeatrt import compile_formula, BytebeatPlayer

f = compile_formula("(t>>10)*(t&42)")

player = BytebeatPlayer(f) player.start()

input("Press ENTER to stop...") player.stop()

Features

  • Real-time audio playback
  • Safe AST formula compiler
  • Works with numpy ufuncs
  • Swap formulas live
  • Byte or float output modes

License

MIT

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

pykilobeatrt-1.0.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

pykilobeatrt-1.0.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file pykilobeatrt-1.0.0.tar.gz.

File metadata

  • Download URL: pykilobeatrt-1.0.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pykilobeatrt-1.0.0.tar.gz
Algorithm Hash digest
SHA256 51c345777edde72e7238a29ecb6a20b24f8e4c6b4fc8811702c9840b8bcc363e
MD5 5fd8ba5b56f17b68d8c8ce26c54f1e0f
BLAKE2b-256 ba3d53abf5e06421eba04b50d531fd13a252ce93e1e710d7d262cfe55e6a8397

See more details on using hashes here.

File details

Details for the file pykilobeatrt-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pykilobeatrt-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for pykilobeatrt-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d40d8d6e650a54cfb7c7af30199178754acfa30749950eddb2a7b26c6d7eb7ee
MD5 d8a79eb5729b7e7d9956f2a667ed13ce
BLAKE2b-256 45ac468d88082b22913d60ee966f96248a1c5163f204ab4802bed3add09acdb8

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