|
|
| (31 intermediate revisions by 3 users not shown) |
| Line 1: |
Line 1: |
| = FAQ =
| | * [http://ccrma.stanford.edu/courses/220a/ course homepage] |
| | * [[220a-fall-2007/FAQ|Frequently Asked Questions]] |
| | * [[220a-fall-2007/studentmusic|student music presentations]] |
| | * [[220a-fall-2007/psychoacoustics|psychoacoustics]] |
| | * [[220a-fall-2007/finalprojects|FINAL PROJECTS WIKI]] |
|
| |
|
| * ''' What is "terminal" and how do I use it?'''
| |
|
| |
|
| ''Terminal is a way to type commands to the Linux operating system, to navigate between directories (folders), copy files, run programs, and do many other useful things.''
| | == labs + assignments on wiki == |
| | * [[220a-fall2007/chuck-lab1|chuck-lab #1]] |
| | * [[220a-fall2007/hw2|hw #2]] |
| | * [[220a-fall2007/hw4|hw #4]] |
| | * [[220a-fall2007/hw5|hw #5]] |
| | * [[220a-fall2007/hw6|hw #6]] |
| | * [[220a-fall2007/fpmeetings|final project meeting signup]] |
|
| |
|
| > To open a terminal, right-click the mouse anywhere on the screen and select "New Terminal".
| |
|
| |
|
| A terminal will open, and a command line prompt will appear that identifies the computer (cmn#), your login name and the '''working directory''', which is the location in the directory structure from which you are navigating. After the prompt, you can type commands.
| | == useful ChucK resources == |
| | * [http://chuck.cs.princeton.edu/doc/language/ language specification]: documents the language |
| | * [http://chuck.cs.princeton.edu/doc/program/ programmer's guide]: documentation for ChucK class libraries |
| | ** [http://chuck.cs.princeton.edu/doc/program/stdlib.html standard library reference]: ready-to-use functionality (like random, mtof, math functions) |
| | ** [http://chuck.cs.princeton.edu/doc/program/ugen.html unit generator reference]: references of sound synthesis modules in ChucK |
|
| |
|
| For example, you can navigate around the file system by using the "change directory" command:
| | * [http://www.harmony-central.com/MIDI/Doc/table2.html MIDI note numbers] |
| '''cd pd-lab'''
| |
| will navigate into your pd-lab directory.
| |
|
| |
|
| > If you want to see your current location in the directory structure, type
| |
| '''pwd'''
| |
| which stands for "print working directory".
| |
|
| |
|
| > If you want to see what files and folders are in the working directory, type the "list" command:
| | [[Category: Courses]] |
| '''ls'''
| |
| | |
| | |
| | |
| * ''' How do I copy files from the course directory into my project directory?'''
| |
| | |
| In a terminal, you can use Linux commands (based on Unix commands, tutorial:[http://www.ee.surrey.ac.uk/Teaching/Unix/]) to copy files.
| |
| | |
| > The copy command, '''cp''', allows you to make a copy of one file to whatever location you specify.
| |
| | |
| For example, if you have a project directory called "pd-lab" and you want to copy the "straightWire" Pd patch from the course examples directory, after the command prompt you would type exactly (including spaces):
| |
| | |
| '''cp /usr/ccrma/web/html/courses/220a-fall-2007/pd/straightWire.pd .'''
| |
| | |
| The period at the end indicates the location where the file will be copied is the working directory.
| |
| | |
| > If you want to copy an entire "pd" directory and its sub-directories, you would type:
| |
| | |
| '''cp -r /usr/ccrma/web/html/courses/220a-fall-2007/pd/straightWire.pd/* .'''
| |
| | |
| | |
| | |
| * ''' How can I get information about how to use Linux commands?'''
| |
| | |
| The "man pages" (manual) can be accessed by typing: '''man''' followed by a space and whatever command you want to find out about. For example, '''man cp''' will pull up the man page for the copy command.
| |
| | |
| | |
| * '''How do I play MP3s on the Linux machines?'''
| |
| | |
| Use the XMMS media player.
| |
| | |
| | |
| | |
| * '''Where can I get the software for my own computer?'''
| |
| | |
| > If you have a computer that runs Linux, or a PC you want to run Linux on, you can install Planet CCRMA: [http://ccrma.stanford.edu/planetccrma/software/] and get all the software we use here. Talk with Nando or Carr for more info or to get help with this.
| |
| | |
| > If you have a Mac or Windows machine, there are versions of some of the applications used in the class that you can download for free and install on your computer.
| |
| | |
| get Pd: [http://www.puredata.org/]
| |
| | |
| get Audacity: [http://audacity.sourceforge.net/]
| |
| | |
| get Chuck: [http://chuck.cs.princeton.edu/]
| |