22 Adding Flexibility to the Audio Loader Abstraction
In this chapter, you will add flexibility to the audio loader abstraction and give users independently customizable node graphs for audio buffer input sources. In its current state, the audio loader library you created in Chapter 13 only allows you to create one universal node graph configuration. So any files that you load have to conform to this configuration. This is undesirable for two reasons. The first is that when you create a library, you don’t want the user to have to modify its internals to get the functionality they want. The second reason is that it is useful to have the choice to apply completely different effects to different audio input sources, which requires node configurations ...
Get JavaScript for Sound Artists now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.