Difference between revisions of "128-spring-2013/ChucK Tutorial 1"
From CCRMA Wiki
Line 3: | Line 3: | ||
== Example Code == | == Example Code == | ||
+ | * Part 0 (hello world): [https://ccrma.stanford.edu/~spencer/slork2013/tutorial1/helloworld.ck helloworld.ck] | ||
* Part 1 (volume, frequency, duration): [https://ccrma.stanford.edu/~spencer/slork2013/tutorial1/part1.ck part1.ck] | * Part 1 (volume, frequency, duration): [https://ccrma.stanford.edu/~spencer/slork2013/tutorial1/part1.ck part1.ck] | ||
* Part 2 (for-loop sequence): [https://ccrma.stanford.edu/~spencer/slork2013/tutorial1/part2.ck part2.ck] | * Part 2 (for-loop sequence): [https://ccrma.stanford.edu/~spencer/slork2013/tutorial1/part2.ck part2.ck] |
Revision as of 00:23, 5 April 2013
You'll want to start by downloading miniAudicle, which is an integrated development environment designed for ChucK (available for Mac, Windows, and Linux): http://chuck.stanford.edu/release/. Open miniAudicle, click "Start Virtual Machine", and start chucking!
Example Code
- Part 0 (hello world): helloworld.ck
- Part 1 (volume, frequency, duration): part1.ck
- Part 2 (for-loop sequence): part2.ck
- Part 3 (array of notes): part3.ck
- Part 4 (parallel melodies): part4.ck
Helpful Links
- ChucK main website: http://chuck.stanford.edu/
- All varieties of example ChucK code: http://chuck.stanford.edu/doc/examples/
- Unit Generator Reference: http://chuck.stanford.edu/doc/program/ugen.html -- the building blocks of every ChucK program
- General ChucK Language Reference: http://chuck.stanford.edu/doc/language/
- Table of MIDI note numbers, Pitches, and Frequencies: http://www.phys.unsw.edu.au/jw/notes.html