Difference between revisions of "220a/miniAudicle-intro"

From CCRMA Wiki
Jump to: navigation, search
 
Line 19: Line 19:
 
miniAudicle should then open, and should include the following windows:
 
miniAudicle should then open, and should include the following windows:
  
=== editor ===
+
== editor ==
 +
The editor serves two primary purposes.  First, it's where we write our ChucK code.  Second, we use the buttons (+, -, =) above to add, remove, or replace code into the ChucK Virtual Machine (where our code is executed, and where audio is generated).  Note how the "Add Shred", "Remove Shred", and "Replace Shred" buttons are grayed out: this indicates that the ChucK Virtual Machine is currently OFF.
 +
 
 
[[Image:MA-editor.png]]
 
[[Image:MA-editor.png]]
  
 
=== virtual machine window ===
 
=== virtual machine window ===
 +
The virtual machine (VM) window is where we start/stop ChucK.  It also lists ChucK program pieces (called '''shreds''') that are currently running in the VM.  Since we haven't started the VM at this point, the list is empty.
 +
 
[[Image:MA-VM.png]]
 
[[Image:MA-VM.png]]
  
 
=== console monitor ===
 
=== console monitor ===
 +
The next window, the console monitor, displays messages from ChucK, as well as from the programs that are currently running.  It logs messages from ChucK and, very importantly, '''displays when ChucK encounters an error in the code''' (which can happen when you try to add a shred).  Basically, when things aren't working as expected, this is one of the first places to check.
 +
 
[[Image:MA-Console.png]]
 
[[Image:MA-Console.png]]

Revision as of 21:55, 3 October 2007

Introduction to running the miniAudicle...

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 &

(looks something like this):

Terminal-mA.png

miniAudicle should then open, and should include the following windows:

editor

The editor serves two primary purposes. First, it's where we write our ChucK code. Second, we use the buttons (+, -, =) above to add, remove, or replace code into the ChucK Virtual Machine (where our code is executed, and where audio is generated). Note how the "Add Shred", "Remove Shred", and "Replace Shred" buttons are grayed out: this indicates that the ChucK Virtual Machine is currently OFF.

MA-editor.png

virtual machine window

The virtual machine (VM) window is where we start/stop ChucK. It also lists ChucK program pieces (called shreds) that are currently running in the VM. Since we haven't started the VM at this point, the list is empty.

MA-VM.png

console monitor

The next window, the console monitor, displays messages from ChucK, as well as from the programs that are currently running. It logs messages from ChucK and, very importantly, displays when ChucK encounters an error in the code (which can happen when you try to add a shred). Basically, when things aren't working as expected, this is one of the first places to check.

MA-Console.png