lichen-community-systems / Flocking

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

The Web Audio AudioSystem's channel settings should be fully modelized #266

Closed colinbdclark closed 5 years ago

colinbdclark commented 5 years ago

Currently, an AudioSystem stores its channel count as a model property, but the Web Audio sub-grade does not store other channel-related properties (such as channelCountMode and channelInterpretation) as model data, nor does it take into account dynamic changes to these values by ensuring that the destination's channel properties are updated whenever the AudioSystem's model changes.

This should be fixed so that users can change the channel modes of Flocking on the fly, as well as to work around strange IoC resolution-related issues that can occasionally crop up in this area.