Jump to content

220a-fall-2007/chuck-lab1: Difference between revisions

From CCRMA Wiki
Ge (talk | contribs)
No edit summary
Ge (talk | contribs)
No edit summary
Line 6: Line 6:


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.
# start JACK (see [[220a/start-jack|starting jack]])
 
# copying files
1. start JACK (see [[220a/start-jack|starting jack]])
 
2. copy files


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').
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 start the miniAudicle via the following steps:
3. start the miniAudicle via the following steps:
#* (make sure JACK is already started as instructed above)
#* (make sure JACK is already started as instructed above)
#* open a terminal window
#* open a terminal window

Revision as of 04:35, 4 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. start JACK (see starting jack)

2. copy files

there are several ways to run ChucK (e.g., via command line, Audicle, miniAudicle). for this lab, we will primarily use the miniAudicle (homepage), a development environment for ChucK that includes the ChucK engine (i.e., it's all you need to starting ChucKin').

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 &

(something like this):