Learn creative coding writing simple programs

129. SuperCollider vs Processing

Introduction to the new SuperCollider and its new IDE. Quick look at some similarities and differences between SuperCollider and Processing.

Both are programming languages, boch are Free Open Source Software (FOSS), and both come with an IDE. One important difference is that in SuperCollider we often do not run programs from the first line to the last line of the source code, but we select specific lines of code, and we evaluate (execute) those lines by pressing a shortcut key.

Another important difference is that SC includes a sound server, which takes care of producing sound. When we evaluate simple operations like 1+1, which involve no sound, the sound server can be switched off. But if we are evaluating lines which are supposed to produce sound, we must turn on the sound server before they work. If we try to play sounds without booting the sound server the IDE will warn us, and no sound will come out of the speakers.

Tags: supercollider, sound, audio, creative coding

Code editor

You can make changes to the code below. Then
Reference

Questions and comments

Try to stay close to the topic of this episode. Use the Processing forums for help with unrelated Processing projects (or hire me for help ;-)

To indicate that a word in your comment is code, use the `backtick`. Example
  Do `float` and `int` smell similar?
To highlight code blocks, use ```processing and ``` like this:
  ```processing
  void setup() {
    size(600, 600);
  }
  ```