Book Image

Mapping and Visualization with SuperCollider

By : Marinos Koutsomichalis
Book Image

Mapping and Visualization with SuperCollider

By: Marinos Koutsomichalis

Overview of this book

SuperCollider is an environment and programming language used by musicians, scientists, and artists who work with audio-files SuperCollider has built-in graphical features which are used in conjunction with the sound synthesis server to create audio-visual mapping and sound visualization. If you wish to create data visualizations by acquiring data from audio and visual sources, then this book is for you.Digital sound artists need to analyze, manipulate, map, and visualize data when working on a scientific or an artistic project. As an artist, this book, by means of its numerous code examples will provide you with the necessary knowledge of SuperCollider's practical applications, so that you can extract meaningful information from audio-files and master its visualization techniques. This book will help you to prototype and implement sophisticated visualizers, sonifiers, and complex mappings of your data.This book takes a closer look at SuperCollider features such as plotting and metering functionality to dispel the mysterious aura surrounding the more advanced mappings and animation strategies. This book also takes you through a number of examples that help you to create intelligent mapping and visualization systems. Throughout the course of the book, you will synthesize and optimize waveforms and spectra for scoping as well as extract information from an audio signal. The later sections of the book focus on advanced topics such as emulating physical forces, designing kinematic structures, and using neural networks to enable you to develop a visualization that has a natural motion with structures that respect anatomy and which come with an intelligent encoding mechanism. This book will teach you everything you need to work with intelligent audio-visual systems to extract and visualize audio-visual data.
Table of Contents (16 chapters)

Custom waveform generators

SuperCollider already provides us a plethora of both basic and more sophisticated waveform generators, and more are available through extension libraries and Quarks. Yet, it also provides us the means to generate our own custom-looking ones, as we will see in this section.

Wavetable lookup synthesis

The famous wavetable lookup synthesis technique can be summarized as a repeated reading of a custom wavetable (that is, the desired waveform's cycle) according to a given frequency. Apparently we are talking about periodic waveforms, and actually this is the standard methodology in the underlying implementation of most standard oscillators. To perform custom wavetable lookup synthesis, we need to populate an instance of Buffer with the desired wave-cycle and then use Osc (or one of its other flavors: OscN, VOsc, VOSC3, and COsc), as shown in the following code:

( // Simple Wavetable Lookup
var buffer = Buffer.alloc(Server.default, 256, 1);  
// allocate a Buffer