Difference between revisions of "220a-fall-2007/chuck-lab1"

From CCRMA Wiki
Jump to: navigation, search
Line 7: Line 7:
 
we are going to use ChucK on the Linux operating system, via the '''J'''ACK '''A'''udio '''C'''onnection '''K'''it.  however, it's possibly (and fairly easy) to also run ChucK (and friends) on MacOS X or Windows.
 
we are going to use ChucK on the Linux operating system, via the '''J'''ACK '''A'''udio '''C'''onnection '''K'''it.  however, it's possibly (and fairly easy) to also run ChucK (and friends) on MacOS X or Windows.
  
1. start JACK (see [[220a/start-jack|starting jack]])
+
1. copy some files to your local directory.
  
2. copy files
+
2. take the [[220a/miniAudicle-intro|miniAudicle tour]].
  
there are several ways to run ChucK (e.g., via command line, Audicle, miniAudicle).  for this lab, we will primarily use the miniAudicle ([http://audicle.cs.princeton.edu/mini/ homepage]), a development environment for ChucK that includes the ChucK engine (i.e., it's all you need to starting ChucKin').
+
3. running the miniAudicle
 
+
3. start the miniAudicle via the following steps:
+
* (make sure JACK is already started as instructed above)
+
* open a terminal window
+
* at the prompt type:
+
    '''miniAudicle &'''
+
 
+
(looks something like this):
+
 
+
[[Image:Terminal-mA.png]]
+
 
+
miniAudicle should then open, and should include the following windows:
+
 
+
=== editor ===
+
[[Image:MA-editor.png]]
+
 
+
=== virtual machine window ===
+
[[Image:MA-VM.png]]
+
 
+
=== console monitor ===
+
[[Image:MA-Console.png]]
+

Revision as of 21:47, 3 October 2007

http://chuck.cs.princeton.edu/doc/images/chuck_logo2.jpg

ChucK Lab #1: Hello ChucK and friends

This lab introduces running and programming in ChucK, several examples, and, perhaps most importantly, how to stop ChucK. Here we go; happy ChucKing!

we are going to use ChucK on the Linux operating system, via the JACK Audio Connection Kit. however, it's possibly (and fairly easy) to also run ChucK (and friends) on MacOS X or Windows.

1. copy some files to your local directory.

2. take the miniAudicle tour.

3. running the miniAudicle