|
Only one of the following output options may be used:
- -aout fname.wav.
Writes fname.wav, a Microsoft WAV file. Note the .wav extension
triggers this option -- fname can be any name. By default,
fname.wav uses 16-bit samples. The names fname.wav-24 and
fname.wav-8 specify the creation of a file fname.wav that
uses 24-bit or 8-bit samples, respectively.
- -aout fname.aif.
Writes fname.aif, an AIFF file (EA, Apple, SGI). Note the .aif
extension triggers this option -- fname can be any name. By default,
fname.aif uses 16-bit samples. The names fname.aif-24 and
fname.aif-8 specify the creation of a file fname.aif that uses
24-bit or 8-bit samples, respectively.
- -aout fname.dat.
Writes the ASCII file format of the view curve viewing tool, (a
part of the Chipmunk tools). For single-channel output,
writes the file fname.dat. For multi-channel output, writes
the files fname1.dat, fname2.dat, ...
- -aout fname.raw.
Writes fname.raw, a raw binary file. This file will contain
channel-interleaved, 16-bit signed integers, in the native
byte order of the machine. Note the .raw extension triggers
this behavior -- fname can be any name. A companion ASCII,
fname.raw.info, is also written, which has three lines: line
one is the sampling rate, line two is the number of channels,
line three is the total number of samples in the file.
- -aout linux. Send audio output to the audio
hardware under Linux. Uses the OSS sound drivers (which also work
under ALSA using OSS compatibility mode). Use a mixer application to
set audio output source. When run as root, driver uses POSIX real-time
features to improve audio quality. While we have carefully tested
these root features, bugs in programs run as root can cause
file-system damage: use at your own risk.
- -aout coreaudio. Send
audio output to the audio hardware under Macintosh OS X, using the
CoreAudio framework. To compile the sa.c file, add the -framework
CoreAudio option on the cc command line. If your system
does not have cc installed, join ADC
Online and download the Apple Development Tools for free. Thanks
to members of Apple's coreaudio-api and darwin
mailing lists for help with the CoreAudio driver. Thanks to Phil Burk,
Richard Dobson, and Dominic Mazzoni for help with an earlier
Carbon-based version of this driver.
- -aout pa_win_wmme. Send
audio output to the audio hardware under Microsoft windows, using the
Windows MultiMedia Extension library. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver.
- -aout pa_win_ds. Send
audio output to the audio hardware under Microsoft windows, using the
Windows Directsound library. Users should install a recent copy of Developers
DirectSound for best results. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver. Also thanks to Vincent Siliakus
and Thomas Jongepier for work on an earlier DirectSound driver.
- -aout freebsd.
Send audio output to the audio hardware under FreeBSD (pcm).
Thanks to Bertrand Petit.
- -aout irix.
Send audio output to the audio hardware of an SGI workstation
running IRIX 6.2 or later. Output C file needs to be linked with -laudio.
Thanks to Michael Pruett.
- -aout std.
Send channel-interleaved, 16-bit signed integers, in the native
byte order of the machine, to stdout.
- -aout null.
Do not send audio output anywhere.
- -aout hpux.
Send audio output to the audio hardware of a HP700 workstation
running HPUX. Output C file needs to be linked with -lAlib.
By default, sound is sent to the internal speaker; set the
shell environment variable SPEAKER to EXTERNAL to drive the
line out jack in the back of the machine.
Only one of the following input options may be used:
- -ain fname.wav.
Reads fname.raw, a Microsoft WAV file. Note the .wav extension
triggers this option -- fname can be any name.
- -ain fname.aif.
Reads fname.aif, an AIFF file (Apple, SGI).
- -ain fname.dat.
Reads the ASCII file format of the view curve viewing tool, (a
part of the Chipmunk tools). Reads the first curve in
file fname.dat and sends its data to all input channels.
Ignores the x parameter of the curve.
- -ain fname.raw.
Reads the raw binary file fname.raw. This file should contain
channel-interleaved, 16-bit signed integers, in the native
byte order of the machine. Note the .raw extension triggers
this behavior -- fname can be any name. An ASCII fname.raw.info,
is also written, that contains information on how the file was
read. This file has three lines: line one is the sampling rate,
line two is the number of channels, line three is the total number
of samples in the file.
- -ain linux.
Read audio input from the audio hardware under Linux. Uses
the OSS sound drivers. Use a mixer application to set audio
input source.
- -ain coreaudio. Read
audio input from the audio hardware under Mac OS X, using the
CoreAudio framework. To compile the sa.c file, add the -framework
CoreAudio option on the cc command line. If your system does not
have cc installed, join ADC Online and download the Apple Development
Tools for free. Thanks to members of Apple's coreaudio-api
and darwin mailing lists for help with the CoreAudio
driver. Thanks to Phil Burk, Richard Dobson, and Dominic Mazzoni for
help with an earlier Carbon-based version of this driver.
- -ain pa_win_wmme.
Read audio input from the audio hardware under Microsoft windows, using
the Windows MultiMedia Extension library. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver.
- -ain pa_win_ds. Read audio input from the audio
hardware under Microsoft windows, using the Windows Directsound
library. Users should install a recent copy of Developers
DirectSound for best results. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details.. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver. Also thanks to Vincent Siliakus
and Thomas Jongepier for work on an earlier DirectSound driver.
- -ain freebsd.
Read audio input from the audio hardware under FreeBSD (pcm).
Thanks to Bertrand Petit.
- -ain irix.
Read audio output from the audio hardware of an SGI workstation
running IRIX 6.2 or later. Output C file needs to be linked with -laudio.
Thanks to Michael Pruett.
- -ain std.
Read channel-interleaved, 16-bit signed integers, in the native
byte order of the machine, from stdin. This is the default option.
- -ain null.
Read silence (all channels set to zero).
- -ain hpux.
Reads audio output to the audio hardware of a HP700 workstation
running HPUX. Output C file needs to be linked with -lAlib.
By default, sound is read from front-panel microphone input, and
audio output is forced to be internal speaker by hardware constraints.
If an audio input or output is needed and -ain or -aout is not on the
command line, the WAV files input.wav and output.wav are used as
defaults.
If the srate or inchannels global parameters are
not set in the SAOL global block, sfront queries the audio input
source for the correct sampling rate and input width. Since sfront,
and not the sa.c program, does the query, the file
specified by the file-input -ain options must be available
when sfront runs.
See Part II/3 for information on adding your own
audio drivers to sfront.
Sfront programs run under one of three temporal modes: render,
playback, or timesync. Each mode defines a set of real-time
behaviors.
Sfront sets a default temporal mode to suit the requirements of the
chosen audio drivers. The time-management command-line options
described below override the default temporal mode. These options are
mutually exclusive; if multiple options are given, the last one is
used.
- -render.
Execute the SAOL program as accurately as possible. Update the SAOL
standard name cpuload if a real-time driver is in use; set
cpuload to 0 if no real-time drivers are in use.
- -playback.
Compute audio output with the goal of meeting real-time constraints.
Compromise audio quality if necessary to prevent buffer overruns.
Always update cpuload.
- -timesync.
Follow the behavior described for playback mode, and also force the
program to use at least 1 ms of real time to compute 1 ms of audio, by
temporarily halting program execution if audio is computing too fast.
This mode is rarely needed: real-time drivers usually default to
playback mode, and use implicit techniques to handle compute-ahead
issues.
The algorithm for real-time playback includes
several parameters, which default to sensible values for typical
hardware configurationn-basedof this driver.
-aout pa_win_wmme. Send
audio output to the audio hardware under Microsoft windows, using the
Windows MultiMedia Extension library. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver.
-aout pa_win_ds. Send
audio output to the audio hardware under Microsoft windows, using the
Windows Directsound library. Users should install a recent copy of Developers
DirectSound for best results. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver. Also thanks to Vincent Siliakus
and Thomas Jongepier for work on an earlier DirectSound driver.
-aout freebsd.
Send audio output to the audio hardware under FreeBSD (pcm).
Thanks to Bertrand Petit.
-aout irix.
Send audio output to the audio hardware of an SGI workstation
running IRIX 6.2 or later. Output C file needs to be linked with -laudio.
Thanks to Michael Pruett.
-aout std.
Send channel-interleaved, 16-bit signed integers, in the native
byte order of the machine, to stdout.
-aout null.
Do not send audio output anywhere.
-aout hpux.
Send audio output to the audio hardware of a HP700 workstation
running HPUX. Output C file needs to be linked with -lAlib.
By default, sound is sent to the internal speaker; set the
shell environment variable SPEAKER to EXTERNAL to drive the
line out jack in the back of the machine.
Only one of the following input options may be used:
- -ain fname.wav.
Reads fname.raw, a Microsoft WAV file. Note the .wav extension
triggers this option -- fname can be any name.
- -ain fname.aif.
Reads fname.aif, an AIFF file (Apple, SGI).
- -ain fname.dat.
Reads the ASCII file format of the view curve viewing tool, (a
part of the Chipmunk tools). Reads the first curve in
file fname.dat and sends its data to all input channels.
Ignores the x parameter of the curve.
- -ain fname.raw.
Reads the raw binary file fname.raw. This file should contain
channel-interleaved, 16-bit signed integers, in the native
byte order of the machine. Note the .raw extension triggers
this behavior -- fname can be any name. An ASCII fname.raw.info,
is also written, that contains information on how the file was
read. This file has three lines: line one is the sampling rate,
line two is the number of channels, line three is the total number
of samples in the file.
- -ain linux.
Read audio input from the audio hardware under Linux. Uses
the OSS sound drivers. Use a mixer application to set audio
input source.
- -ain coreaudio. Read
audio input from the audio hardware under Mac OS X, using the
CoreAudio framework. To compile the sa.c file, add the -framework
CoreAudio option on the cc command line. If your system does not
have cc installed, join ADC Online and download the Apple Development
Tools for free. Thanks to members of Apple's coreaudio-api
and darwin mailing lists for help with the CoreAudio
driver. Thanks to Phil Burk, Richard Dobson, and Dominic Mazzoni for
help with an earlier Carbon-based version of this driver.
- -ain pa_win_wmme.
Read audio input from the audio hardware under Microsoft windows, using
the Windows MultiMedia Extension library. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver.
- -ain pa_win_ds. Read audio input from the audio
hardware under Microsoft windows, using the Windows Directsound
library. Users should install a recent copy of Developers
DirectSound for best results. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details.. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver. Also thanks to Vincent Siliakus
and Thomas Jongepier for work on an earlier DirectSound driver.
- -ain freebsd.
Read audio input from the audio hardware under FreeBSD (pcm).
Thanks to Bertrand Petit.
- -ain irix.
Read audio output from the audio hardware of an SGI workstation
running IRIX 6.2 or later. Output C file needs to be linked with -laudio.
Thanks to Michael Pruett.
- -ain std.
Read channel-interleaved, 16-bit signed integers, in the native
byte order of the machine, from stdin. This is the default option.
- -ain null.
Read silence (all channels set to zero).
- -ain hpux.
Reads audio output to the audio hardware of a HP700 workstation
running HPUX. Output C file needs to be linked with -lAlib.
By default, sound is read from front-panel microphone input, and
audio output is forced to be internal speaker by hardware constraints.
If an audio input or output is needed and -ain or -aout is not on the
command line, the WAV files input.wav and output.wav are used as
defaults.
If the srate or inchannels global parameters are
not set in the SAOL global block, sfront queries the audio input
source for the correct sampling rate and input width. Since sfront,
and not the sa.c program, does the query, the file
specified by the file-input -ain options must be available
when sfront runs.
See Part II/3 for information on adding your own
audio drivers to sfront.
Sfront programs run under one of three temporal modes: render,
playback, or timesync. Each mode defines a set of real-time
behaviors.
Sfront sets a default temporal mode to suit the requirements of the
chosen audio drivers. The time-management command-line options
described below override the default temporal mode. These options are
mutually exclusive; if multiple options are given, the last one is
used.
- -render.
Execute the SAOL program as accurately as possible. Update the SAOL
standard name cpuload if a real-time driver is in use; set
cpuload to 0 if no real-time drivers are in use.
- -playback.
Compute audio output with the goal of meeting real-time constraints.
Compromise audio quality if necessary to prevent buffer overruns.
Always update cpuload.
- -timesync.
Follow the behavior described for playback mode, and also force the
program to use at least 1 ms of real time to compute 1 ms of audio, by
temporarily halting program execution if audio is computing too fast.
This mode is rarely needed: real-time drivers usually default to
playback mode, and use implicit techniques to handle compute-ahead
issues.
The algorithm for real-time playback includes
several parameters, which default to sensible values for typical
hardware configurationn-basedof this driver.
-aout pa_win_wmme. Send
audio output to the audio hardware under Microsoft windows, using the
Windows MultiMedia Extension library. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver.
-aout pa_win_ds. Send
audio output to the audio hardware under Microsoft windows, using the
Windows Directsound library. Users should install a recent copy of Developers
DirectSound for best results. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver. Also thanks to Vincent Siliakus
and Thomas Jongepier for work on an earlier DirectSound driver.
-aout freebsd.
Send audio output to the audio hardware under FreeBSD (pcm).
Thanks to Bertrand Petit.
-aout irix.
Send audio output to the audio hardware of an SGI workstation
running IRIX 6.2 or later. Output C file needs to be linked with -laudio.
Thanks to Michael Pruett.
-aout std.
Send channel-interleaved, 16-bit signed integers, in the native
byte order of the machine, to stdout.
-aout null.
Do not send audio output anywhere.
-aout hpux.
Send audio output to the audio hardware of a HP700 workstation
running HPUX. Output C file needs to be linked with -lAlib.
By default, sound is sent to the internal speaker; set the
shell environment variable SPEAKER to EXTERNAL to drive the
line out jack in the back of the machine.
Only one of the following input options may be used:
- -ain fname.wav.
Reads fname.raw, a Microsoft WAV file. Note the .wav extension
triggers this option -- fname can be any name.
- -ain fname.aif.
Reads fname.aif, an AIFF file (Apple, SGI).
- -ain fname.dat.
Reads the ASCII file format of the view curve viewing tool, (a
part of the Chipmunk tools). Reads the first curve in
file fname.dat and sends its data to all input channels.
Ignores the x parameter of the curve.
- -ain fname.raw.
Reads the raw binary file fname.raw. This file should contain
channel-interleaved, 16-bit signed integers, in the native
byte order of the machine. Note the .raw extension triggers
this behavior -- fname can be any name. An ASCII fname.raw.info,
is also written, that contains information on how the file was
read. This file has three lines: line one is the sampling rate,
line two is the number of channels, line three is the total number
of samples in the file.
- -ain linux.
Read audio input from the audio hardware under Linux. Uses
the OSS sound drivers. Use a mixer application to set audio
input source.
- -ain coreaudio. Read
audio input from the audio hardware under Mac OS X, using the
CoreAudio framework. To compile the sa.c file, add the -framework
CoreAudio option on the cc command line. If your system does not
have cc installed, join ADC Online and download the Apple Development
Tools for free. Thanks to members of Apple's coreaudio-api
and darwin mailing lists for help with the CoreAudio
driver. Thanks to Phil Burk, Richard Dobson, and Dominic Mazzoni for
help with an earlier Carbon-based version of this driver.
- -ain pa_win_wmme.
Read audio input from the audio hardware under Microsoft windows, using
the Windows MultiMedia Extension library. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver.
- -ain pa_win_ds. Read audio input from the audio
hardware under Microsoft windows, using the Windows Directsound
library. Users should install a recent copy of Developers
DirectSound for best results. See right panel for linking
instructions for sa.c files created with this audio driver,
and for hardware selection details.. Thanks to PortAudio, Phil Burk, Ross
Bencina, Richard Dobson, Peter Maas, Kees van Prooijen, and Tim
Thompson for help with this driver. Also thanks to Vincent Siliakus
and Thomas Jongepier for work on an earlier DirectSound driver.
- -ain freebsd.
Read audio input from the audio hardware under FreeBSD (pcm).
Thanks to Bertrand Petit.
- -ain irix.
Read audio output from the audio hardware of an SGI workstation
running IRIX 6.2 or later. Output C file needs to be linked with -laudio.
Thanks to Michael Pruett.
- -ain std.
Read channel-interleaved, 16-bit signed integers, in the native
byt
|