Granular Synthesis and Physical Modeling with This Manual Is Released Under the Creative Commons Attribution 3.0 Unported License
Total Page:16
File Type:pdf, Size:1020Kb
Granular synthesis and physical modeling with This manual is released under the Creative Commons Attribution 3.0 Unported License. You may copy, distribute, transmit and adapt it, for any purpose, provided you include the following attribution: Kaivo and the Kaivo manual by Madrona Labs. http://madronalabs.com. Version 1.3, December 2016. Written by George Cochrane and Randy Jones. Illustrated by David Chandler. Typeset in Adobe Minion using the TEX document processing system. Any trademarks mentioned are the sole property of their respective owners. Such mention does not imply any endorsement of or associa- tion with Madrona Labs. Introduction “The future evolution of virtual devices is less constrained than that of real devices.” –Julius O. Smith Kaivo is a software instrument combining two powerful synthesis techniques (physical modeling and granular synthesis) in an easy-to- use semi-modular package. It’s laid out a bit like an acoustic instru- For more information on the theory be- ment; the GRANULATOR module acts like the player’s touch, exciting hind Kaivo, see Chapter 1, “Physi-who? Granu-what?” one or more tuned objects (here, the RESONATOR module, based on physical models of resonant objects) that come together in a central resonating body (the BODY module, also physics-based). This allows for a natural (or uncanny) sense of space, pleasing in- teractions between voices, and a ton of expressive potential—all traits in short supply in digital synthesis. The acoustic comparison begins to pale when you realize that your “touch” is really a granular sam- ple player with scads of options, and that the physical properties of the resonating modules are widely variable, and in real time. All together, this arrangement gives you room to create and manip- ulate sound with considerable freedom, while maintaining a pleasing sense of physical plausibility. Throw in some fresh new modulators and a dash of patching magic, and well... We’re excited. We sincerely hope that Kaivo excites you, too. A Quick Overview Kaivo’s interface has four main sections, from top to bottom: • The header section, where the title of the plug-in sits, next to the patch menu and some UI behavior settings. • The shapes section, where control data (and more) flows from the KEY, SEQUENCER, LFO 2D, NOISE, and ENVELOPE modules. • The patcher section, where connections between modules are made. • The audio section, where sound is created and processed. Read The Fabulous Manual If you’re new to all this, this manual is a great place to start. If you are familiar with modular synthesis, or have used Kaivo’s elder sibling Aalto, feel free to dive in and have fun. However, Kaivo has new some kinds of modules we can safely say you’ve never seen before. This manual is split into four sections: • Physi-who? Granu-what? – A bit of background on the tech that For a full rundown on these, turn to makes Kaivo tick. Chapter 3, “Kaivo: Module by Module.” 4 • Getting to Know Kaivo – Info on how Kaivo fits into your system, and how to use the various dials and doodads that you’ll find. • Kaivo: Module by Module – A hands-on romp through the different parts of Kaivo, module by module. • Patching for Fun and Profit – A starter course in putting Kaivo’s modules together to get musical results. Tips and tricks. 5 1 Physi-who? Granu-what? This chapter is a brief primer on physical modeling, granular synthesis, For a more detailed look at physical mod- and the basics of signals and sound. eling and granular synthesis with Kaivo, see the RESONATOR, BODY, and GRAN- ULATOR sections of Chapter 3, Kaivo: Module by Module. What is Physical Modeling? It’s a digital signal processing (DSP) technique that lets you process and generate signals according to mathematical models of real-world physics. Pioneered in 1960s academia, the high processing and tech- nical demands of physical modeling kept the technique out of wider musical use until the 1990s, when it made waves in instruments such as Yamaha’s VL series and Korg’s Prophecy. The technique found early use in the realistic simulation of acoustic instruments—a tough task for the more static synthesis and sampling techniques of the time. That same earthbound tendency makes phys- ical modeling uniquely able to create wild, dynamic, unprecedented sounds, but in a manner that remains familiar to our ear. As our com- puters grow faster and our models more refined, more and more of the language of the physical world is laid open for us to explore. And exploit. A Rose is a Rose is an Equation The goings-on of the physical world can seem impossibly detailed and organic; more the realm of poetry than math. However, the efforts of physicists and mathematicians have shown us that much of nature can be described quite realistically in equations—most often differen- Nobody really knows why the world is tial equations. In our case, creating such an equation lets us use the quantifiable in this fashion, but it sure comes in handy when we want to design things we know about the physical properties of an object as rules to bridges that don’t collapse, bouncy castles predict the outcome of exciting that object with a given sound (as we with the perfect rebound, or drones that can deliver a pizza. do in Kaivo’s RESONATOR and BODY modules). Getting the results we want is just half the fun. Once we have a phys- ical model that satisfies our initial goals, it’s open season. We can adapt “Why yes, I’d like my violin’s body to change the model to change its properties, its behavior, and that of our interac- size and shape as I play it. You can do that? Wow. Can the strings randomly oscillate tions with it. In Kaivo, we can modulate these properties in real time, between gut and steel, too? Great!” opening a whole vault of fresh new timbral and expressive abilities. I Want My FDTD Perfectly modeling real-world happenings with math is quite the trick in itself, and utilizing such hyper-detailed models in real time has long been impractical, given the limitations of DSP chips and computer power in general. Given that, most physical modeling instruments so far have relied on a simplified technique known as Digital Waveguide Synthesis. Digital Waveguide Synthesis relies on the fact that some aspects of the behavior of acoustic waves can be satisfactorily simulated with sim- ple delays and filters, rather than more complex math. 8 This cuts processing expense considerably, albeit with compromises in accuracy and flexibility. In goes your signal, out comes the result, and it may not be just what you’re looking for. Today’s computers have plenty of power, so it seems natural that we should move toward techniques that give us more accurate, more flex- ible models. That is why we chose Finite-Difference Time-Domain (or FDTD) as our modeling method for Kaivo. Without getting too techy, FDTD lets us make more natural-sounding, accurate models to play with. It also gives us the ability to feed signals in and out of the model at any point, and make localized behavioral changes, to boot. In this way, tonal variations abound, and the degree of control available is a beautiful thing. The most basic FDTD equation used in Kaivo is the 1D wave equa- tion. The motion of a string model, or the air pressure gradient in a modeled tube can be expressed as a single value distributed across space; so for those models, we use a one-dimensional equation. When we move on to 2D wave equations, we’re able to model the be- havior of objects that require two dimensions to describe (such as drum heads or cymbals). We can finely control resonant properties across the model to simulate phenomena such as the localized damping effect on a cymbal’s vibration when it’s mounted on a stand. When we want to model shapes that move in three dimensions (such as a box), Kaivo uses some FDTD magic to fold a 2D model into the desired shape. 9 A Little Something Extra Both RESONATOR and BODY feature nonlin (short for nonlinear) di- als. So what does nonlinear mean? Any sound can be described as a sum of sine waves at different frequencies. We call these sine waves the sound’s partials. A linear system can modify a sound by changing the loudness of each of its partials over time. But what it can’t do is change the frequencies of any of those partials. Some examples of linear systems are volume controls, EQs and even simple reverberators. An EQ can lower some partials but not others; a reverb can extend many partials into long tails. But neither system will introduce partials at new frequencies. The only frequencies that can be output from a linear system are the ones that go into it. In the case of Kaivo, nonlinearities refer to the tough-to-model id- iosyncrasies inherent to real-world objects—aspects of their behavior that do not correspond neatly to simple, sleek algorithms. These “im- perfect” properties are important to the natural je ne sais quoi of the objects we seek to emulate, but are really only beginning to be under- stood (and modeled for our benefit). The nonlin dial on each of our physics-based modules is there to in- ject a little sonic spice, essentially emphasizing the nonlinear aspects of each model. At low settings, it can add just a little something extra, enriching signals in a euphonic way.