A Gentle Introduction to SuperCollider
HELLO WORLD Ready for creating your first SuperCollider program? Assuming you have SC up and running in front of you, open a new document (menu File→New, or shortcut [ctrl+N]) and type the following line: "Hello World".postln; SinOsc.ar(440); Leave your cursor anywhere in that line (in doesn’t matter if beginning, middle, or end). Press [ctrl+Enter] to evaluate the code. “Hello world” appears in the Post window. Congratulations! You’ve just written and executed your first SC program. TIP: THROUGHOUT THIS DOCUMENT, CTRL (CONTROL) INDICATES THE MODIFIER KEY FOR KEYBOARD SHORTCUTS THAT IS USED ON LINUX AND WINDOWS PLATFORMS. ON MAC OSX, USE CMD (COMMAND) INSTEAD. Figure [fig:scide] shows a screenshot of the SuperCollider IDE (Integrated Development Environment) when you first open it. Let’s take a moment to get to know it a bit.