Skip to content

rystylee/Alternative

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alternative

a Python library for LiveCoding.

Description

Alternative is a LiveCoding library implemented by Python. Alternative controls the rhythm and actual sound generation is done by OSC communication with SuperCollider. Alternative uses L-system to generate rhythm, performer can change the rule of L-system in real time.

Demo

result

Dependence

  • python-osc

Usage

First of all run synthdefs.scd on SuperCollider. Below is an example to execute a .scd file on the command line (it is necessary to pass through the path of sclang):

sclang synthdefs.scd

You can use synthdefs which you defined by yourself.

Import Alternative:

from Alternative import *

Then, when you start global_clock, you hear a sound:

global_clock.start()

If you want to change bpm, execute the following method:

global_clock.bpm = 120

for more information, see example.

About

a Python library for LiveCoding.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors