...SmithDWMMI.1
Errata, feedback, and suggestions greatly appreciated!
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... below).2
For a list of things to consider installing after Fedora Core 4, see the author's personal ``sysadmin BLOG'' at
http://ccrma.stanford.edu/~jos/mypc/Things_Do_after_Installing.html. Users of the Planet CCRMA distribution will not need the audio-related additions.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... STK.3
This procedure is used in the author's teaching at CCRMA.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
...Makefiles4
Only STK makefiles are generated by configure--the files myproj/Makefile and myproj/Makefile.proj must be edited by hand, if needed.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... CCRMA5
http://ccrma.stanford.edu/planetccrma/software/
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... kind.6
The STK has a compile-time macro called RAWWAVE_PATH which defaults to ``../../rawwaves/''. This works for programs located in directories such as projects/someproject/ within the top-level STK directory. One can set the rawwaves path at run time with the message Stk::setRawwavePath() sent to the global Stk object; similar messages set other global variables such as the sampling rate.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... system.7
http://ccrma.stanford.edu/~jos/mypc/Things_Do_after_Installing.html
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... hardware.8
Standard AC '97 single-chip CODECs common on many PC motherboards, such as the Intel ICH5, do not support a 44100 Hz sampling rate; however, 48000 Hz is supported in all implementations of the AC '97 CODEC standard. (See http://www.intel.com/design/chipsets/audio/ for further details on AC '97.) The STK system-wide default sampling-rate is set by the line ``const StkFloat SRATE = 44100.0;'' in ~/stk/stk/include/Stk.h. The main demo program, stk/projects/demo/demo.cpp, explicitly sets the sampling rate to 44100 Hz, so it must be changed there as well if you have this problem. Similarly, most of the example programs (~/stk/stk/projects/examples/) set the sampling rate explicitly, and must be edited to change it.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... <Enter>.9
The notation M-x, pronounced ``meta x,'' means to hold down the Alt key and press the x key. Alternatively, one can type the Esc key followed by the x key. In either case, emacs will prompt for a command line input. The notation <Enter> means, of course, the Enter key (sometimes labeled Return).
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... below.10
For further introductory information regarding compiling, linking, and debugging programs in the UNIX environment, see http://cslibrary.stanford.edu/107/.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... API11
API stands for ``Application Programming Interface''
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... VSTi12
VST stands for ``Virtual Studio Technology,'' and VSTi stands for ``VST Instrument.''
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... daemon13
a daemon is a program that runs in the ``background'' to provide services to other programs.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... host.14
While optimization level 2 interferes with detailed single-stepping and variable inspection, it does not interfere with setting breakpoints and general looking around, which is all we need for the host program.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... install.15
Some prefer to type su -c "make install", but then you have to give the root password every time.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.