lichen-community-systems / Flocking

Flocking - Creative audio synthesis for the Web
GNU General Public License v2.0
697 stars 60 forks source link

Remove implicit creation of the Flocking environment #290

Open colinbdclark opened 4 years ago

colinbdclark commented 4 years ago

At the moment, there are a number of places where the Flocking environment component will be implicitly created as a side effect of creating other components (such as a Synth). In practice, this behaviour leads to cases where an environment is unpredictably created too late in the process.

Instead, users should either manually create an environment, or use a new flock.composition component that takes care of this for them.

This will of course be an API-breaking change.