A JavaScript/TypeScript audio engine for the Web and Server capable of multitrack time stretching, pitch shifting, declarative effects, faster than realtime processing, and more!
It would be nice to have a "handbook" of how to construct and manipulate Scores, and the best practices therein.
One example is constructing all Scores to have a single terminal Gain node, even if it's not used. This allows a later modification to the Score to have a known starting point, and might also make composable modification functions possible. And if https://github.com/spotify/NFPlayerJS/issues/3 is implemented, it means nearly no runtime cost either.
It would be nice to have a "handbook" of how to construct and manipulate Scores, and the best practices therein.
One example is constructing all Scores to have a single terminal Gain node, even if it's not used. This allows a later modification to the Score to have a known starting point, and might also make composable modification functions possible. And if https://github.com/spotify/NFPlayerJS/issues/3 is implemented, it means nearly no runtime cost either.