Python implementation of the music programming language Chuck.
Project description
PyChucK
Installation
pip install pychuck
Usage
# demo.py
from pychuck import *
# Custom UGen
class Noise(UGen):
def _tick(self, samples: int) -> np.ndarray:
return np.random.uniform(-1, 1, samples)
# Graph
n = Noise()
n >> dac
# Main loop
while True:
# Adjust Parameters
n.gain = np.random.uniform(0, 1)
# Time Control
200 * ms >> now
# pychuck --help
pychuck demo.py
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
pychuck-0.0.0.tar.gz
(6.3 kB
view hashes)