Introduction

Table of Contents

1 About this tutorial

This tutorial is written as an introduction and overview of the cl-collider library for Common Lisp. The format is based on the official SuperCollider tutorial and will cover similar topics, though it isn't a direct translation.

cl-collider is a library for Common Lisp written by Park Sungmin and contributors as an interface to the SuperCollider ("SC") sound server. cl-collider is just one of many such interfaces that exist; other interfaces have already been written in languages such as Clojure (Overtone), Javascript (supercollider.js), etc. The "official" SuperCollider interface is through a language often referred to as sclang, which is provided with the SuperCollider package itself. The SuperCollider package also provides an integrated development environment ("SCIDE") which aims to make writing SuperCollider code in sclang easier.

This tutorial will only be using the sound server provided by the SuperCollider package and will not utilize the language or the IDE. Therefore, this tutorial does not require previous experience with SuperCollider. Knowledge of Common Lisp is required, as teaching it is out of the scope of this document, but the next chapter does give basic information on how to set up a basic Lisp environment to work with cl-collider. Instead of SCIDE, we will be assuming use of Emacs as a text editor and development environment, but it is possible to use another editor such as Vim to write and interact with the Lisp process instead if you choose, and most of the information contained in this tutorial should be applicable regardless of the editor in use.

2 Format of this tutorial

This tutorial typically gives code examples like so:

(defun foo (a b)
  (+ a b))

Inline code will look similar: (defun foo () (+ a b)). Inline keywords will be monospace but not in color: defun

Created: 2017-06-11 Sun 19:31

Validate