Beep_demo.cpp File Reference

#include "Test_Support.cpp"


#define FREQ   55
#define DUR   3


int main (int argc, const char *argv[])

Define Documentation

#define FREQ   55

Beep_demo.cpp -- a simple CSL "main" program -- play a 3-second FM beep See the copyright notice and acknowledgment of authors in the file COPYRIGHT Cmd-line options (see the handler in Test_Support.cpp): -r srate -b blksiz -o noch -i nich -v verbosity -l logperiod -p outport -u

Added options "-f val" = set base freq to val Hz "-d val" = set duration to val seconds

Referenced by initial_test(), main(), and make_instrument().

#define DUR   3

Referenced by main(), and make_instrument().

Function Documentation

int main ( int  argc,
const char *  argv[] 

MAIN -- Plays a 3-second FM beep

References a_env, car, DUR, find_option(), FREQ, i_env, csl::logMsg(), mod, READ_CSL_OPTS, csl::sleepSec(), and theIO.

Generated on Thu Sep 17 23:14:16 2009 for CSL by  doxygen 1.5.8