Processing <- -> ChucK 'Hello World' Demo Version: 15 Sep 2007 Copyright 2007 Arthur Clemens, http://visiblearea.com License: MIT License, http://www.opensource.org/licenses/mit-license.php INTRODUCTION A 'Hello World' application is a simple demo to show how things work on the most basic level - nothing in itself but written to expand upon. This demo shows how to let a Processing sketch interact with ChucK. Communication is done using the OpenSound Control (OSC), the defacto communication protocol for computers and synthesizers. You will need the OSCp5 library for Processing (see links below). ChucK is a new (and developing) audio programming language for real-time synthesis, composition, performance, and now, analysis - fully supported on MacOS X, Windows, and Linux. THE DEMO The demo sends mouse coordinates (x and y) to a ChucK application, 'helloworld.ck', to change freqency and harmonics of a 'Blit' (STK band-limited impulse train). HOW TO RUN THE DEMO * Install ChucK * Run the demo application HOW TO FURTHER DEVELOP WITH PROCESSING * Install ChucK * Install Processing * Add OSCp5 to the Processing libraries * Note that the ChucK files should reside in the data directory CLASSES * Class 'ChuckController' manages the ChucK VM, starting of OSC and dispatching of OSC messages. * Class 'ChuckAttendant' lets ChucK know Processing is alive. Receiving ChucK application 'monitor.ck' will stop ChucK as soon as it no longer receives any input. * Base class 'Chuck' frames the basic functionality for subclasses. * Chuck subclass 'HelloWorldChuck' is used for example purpose only. LINKS Processing http://processing.org ChucK http://chuck.cs.princeton.edu/ OSCp5 http://www.sojamo.de/iv/index.php?n=11 More info: OSC http://www.cnmat.berkeley.edu/OpenSoundControl/ Blit http://chuck.cs.princeton.edu/doc/program/ugen_full.html#Blit