Platform.userExtensionDir
Alga is a new live coding environment whose focus is on describing dynamic connections between nodes. By linking AlgaNodes together, it is possible to create a fluid, complex network of sonic interactions. What makes Alga different from other environments is its interpolation capabilities. In fact, the nature of the connections between AlgaNodes arises from continuous processes of interpolation between the current states of the system and future ones, over specified windows of time. AlgaNode's sister class, AlgaPattern, represents the polyphonic counterpart to this paradigm.
Check out the AlgaNode and AlgaPattern help files for examples on usage.
Boot Alga on a specified Server. If not specified, Server.default will be used.
onBoot |
Execute a Function on boot. |
server |
The Server to boot Alga on. |
algaServerOptions |
An instance of AlgaServerOptions to boot the server with. If not specified, a default one will be created. |
clock |
The Clock for the internal AlgaScheduler. If not specified, a default TempoClock will be created. |
Same as boot
, quitting all booted servers first.
Alias for forceBoot
.
Add a startup file to be executed while Alga is booting.
Change the maximum number of IO connections between AlgaNodes. This requires the initSynthDefs method to re-compile all the necessary AlgaSynthDefs. The default value is 8.
value |
The new value. Must be an Integer. |
Change the maximum number of points allowed for an Env used as interpShape
of a module.
value |
The new value. Must be an Integer. |
Disable the automatic node ordering. This is an expensive operation for sclang
the more complex a network becomes.
Force the recompilation of all AlgaSynthDefs necessary for Alga's runtime. This needs to be executed only once anytime the value of maxIO changes. Before boot, Alga already checks that everything is correct.
Return Alga's SynthDescLib.
Read all the AlgaSynthDefs in the path recursively. These must have been stored with the write
, writeDefFile
, load
or store
methods.
Alias for readAllDefs
.
Read a single AlgaSynthDef or all the AlgaSynthDefs in the path non-recursively. These must have been stored with the write
, writeDefFile
, load
or store
methods.
Alias for readDef
.
Add an Env to the specific Server where Alga has been booted on. These are represented as Buffers on the server, and this operation speeds up any usage of a speficic envelope shape, as it would have already been sent to the server.
Remove the specific Env from the server where Alga has been booted on. This would free the accompanying Buffer.
Interpolate the tempo
of the Clock that Alga is using over to a new value. This will affect all the nodes on the Alga instance.
tempo |
The new tempo |
time |
The time in seconds that the interpolation process will take |
shape |
An optional Env to determine the shape of the interpolation. |
delta |
Specify the resolution of the tempo change: how often should the tempo value be updated? |
schedInSeconds |
Specify if the |
sched |
When the interpolation should be triggered |
server |
The server used for the specific Alga instance. |
Alias for interpolateTempo