In this chapter we laid a lot of ground work for the coming chapters. We covered arrays and how to graph a signal, and then created a useful, reusable component—a subpatch. Then we loaded the subpatch into a parent patch, discovering how Pd’s code reuse works. We also learned about how to keep variables local to a subpatch.
We built some useful tools: an LFO to control periodic motion in a sound, and an envelope to control single motion events. Along the way we ran into a number of new objects and features of Pd.
In the next chapter, we’ll put the controls we created in this chapter to use as we move away from our standard osc 440 patches and create some effects!