SystemsEncounter:
Filter:
SystemsEncounter/Classes (extension) | Live Coding

SystemsEncounter
ExtensionExtension

Livecoding environment based on Steno

Description

Wrapper (and more) for live coding with Steno, Sensors, and controllers. Provides a GUI.

Class Methods

.new

Returns a new instance.

Arguments:

numChannels

The number of channels of the interconnecting busses (this is the same across the whole synth tree).

expand

If set to true, the synth functions are multichannel expanded to numChannels.

maxBracketDepth

The maximum depth of nested brackets. This determines the number of busses that need to be allocated.

server

Server to play on.

defaultDefPath

Where to write definitions (click on the little red dot in the lower right to create a text document reflecting the current state)

ctlBuses

A dictionary of (ar/kr) buses reserved for controller values (e.g. set externally from a light sensor array or a MIDI controller). Used by SystemsEncounterSynthParts.

myQuellen

Letters to be associated with the quellen.

myFilters

Letters to be associated with the filters.

Instance Methods

.quelle

.filter

These two methods take a Function and convert it into a SynthDef, represented by a letter.

See Steno: -quelle and Steno: -filter for details.

Arguments:

name
func
multiChannelExpand
update
numChannels

.value

Interpret a string of steno code.

Arguments:

string

The program to run (a String).

.getDef

Returns textual definition of a given Char

Arguments:

name

the name of the function, one of -myKeys.

.window

open a GUI. The first line holds the current Steno value. Each keystroke makes it re-evaluate.

.setFB

set Feedback of a variable

Arguments:

key

one of -myVars

val

a value between -1 and 1

.synthParts

SystemsEncounterSynthParts object for facilitating input and live coding shortcuts.

.myKeys

A String holding Chars used as keys to store synth definitions.

.myVars

A String holding Chars used as keys for Steno variables.

.ctlBuses

A dictionary of (ar/kr) buses reserved for controller values (e.g. set externally from a light sensor array or a MIDI controller)

.writeDefs

write definitions to a file

Arguments:

path

if empty, use default path

varName

name used to store SystemsEncounter instance. Typically "t".

comment

a comment to include into the file.

.defaultDefPath

directory to write defintions to when -writeDefs is called.

Examples


gui