#include "Test_Support.cpp"Defines | |
| #define | FREQ 55 |
| #define | DUR 3 |
Functions | |
| int | main (int argc, const char *argv[]) |
| #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().
| 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.
1.5.8