Skip to content

Amazing changes

Compare
Choose a tag to compare
@mikesol mikesol released this 29 Apr 12:53
· 267 commits to main since this release
cd894c8

The library now returns an object from change, changeAt, changes and change' that reflects the changed audio unit. Previously, these functions had returned Unit (akin to set in many libraries), whereas now they return an updated value (akin to modify).

Furthermore, we've added an asGetter function to transform any graph into a getter. On change, this will get the previous values instead of modifying them.

Lastly, this version adds a get family of functions, get, getAt, gets and get' that work exactly like their analogue from the change family of functions but act as getters by using asGetter internally. Importantly, the get family of functions does not increment the change bit. An example of get is in the project's unit tests.