colinbdclark/Flocking — Issue #16: Refactor Synth to automatically add itself to the environment's nodes
Author: colinbdclark
Created: 2012-01-28 20:09:26+00:00
State: open

At the moment, when a Synth is instantiated, it isn't automatically added to the Environment's list of nodes. This code can be done manually by doing something like this:

var synth = flock.Synth{def);
synth.enviro.tail(synth);

We may want to consider an approach analogous to SuperCollider where, upon instantiation, the user can specify an action perform, including the ability to automatically add the synth to the environment's node list.