Software for live coding audio effects and synths in Python.
There's also some libraries for doing STFT and phase vocoder stuff. Take a look at the examples for more info.
There's a GUI! After building (see below), run it with python3 lib/gui.py
.
For each tab you open, a JACK device will be created. The bottom window is the console for viewing error messages. The top window is your workspace. Some keys are mapped for you:
- F4 will execute the current "paragraph" (delimited by blank lines).
- F5 will execute the current line or the current visual selection.
- F6 will execute the whole file.
- F11 will clear the buffer (this attemps to minimize latency).
- F12 will silence output.
If you define a function like so:
def process(input, output):
output[:] = input
and attach something to the JACK ports, you should hear the audio flowing through. input
and output
are NumPy arrays with shape (num_channels, buffer_size)
.
$ tup
GPL