elemaudio / elementary

Elementary is a JavaScript library for digital audio signal processing.
https://www.elementary.audio/
MIT License
331 stars 29 forks source link

Bugfix event propagation from idle graph nodes #22

Closed nick-thompson closed 1 year ago

nick-thompson commented 1 year ago

Similar to #7, right now processQueuedEvents visits idle graph nodes (nodes which the graph is aware of but is not actively visiting during the block process), which basically allows for those nodes to emit events even when the data they're operating on isn't changing. The fix is the same as in #7, make sure we only visit the nodes we're actively traversing.

nick-thompson commented 1 year ago

Fixed in 223d425