set_option - turn on and off various RTcmix options
set_option(option_name [, option_name, ... ])
Use set_option to control the behavior of RTcmix: whether to play audio, to report clipping and peak amplitude, to overwrite existing sound files, and so on.
A call to set_option can contain more than one option_name, separated by commas. There can be more than one call to set_option in a script.
set_option("audio_off", "clobber_on")
rtoutput("myfile.aif")
turns off audio playback and enables overwriting of existing files. This is the standard way to make a script that writes a sound file.
set_option("audio_off")
set_option("clobber_on")
rtoutput("myfile.aif")
this does exactly the same thing.
set_option("full_duplex_on")
rtsetparams(44100, 2, 128)
rtinput("AUDIO")
sets up RTcmix to process audio received from the audio device in real time.