Speak Freely for Unix: sflaunch
by John Walker
User Commands sflaunch(1)
sflaunch - Speak Freely mike and speaker launcher
sflaunch [ -dqu ] [ -yindev[:ctldev] ] [ -both
mike_and_speaker_options... ] [ -launch
more_launch_options... ] [ -mike mike_options... ] [
-speaker speaker_options... ] [ hostname[:port] ] [
soundfile ... ]
sflaunch was created as a work-around for audio drivers,
even some full-duplex, which do not permit two separate pro-
grams such as sfmike and sfspeaker to independently open the
audio device, notwithstanding one program's opening it
read-only and the other write-only. sflaunch opens the au-
dio device in read/write mode, then spawns two child
processes in which sfmike and sfspeaker are executed, pass-
ing the open audio file descriptors to each via the -y op-
tion supported by both programs, along with whatever argu-
ments were specified for each program on the sflaunch com-
sflaunch may be used on any platform, even those without the
restriction which motivated its creation; you may find using
it more convenient than manually starting sfspeaker and
-both The options which follow are passed to both sfmike
and sfspeaker on their command lines. This is
particularly handy when specifying encryption
-d Enables debug output.
-launch or -sflaunch
The options which follow are processed by sflaunch
rather than being passed to sfmike or sfspeaker.
This is the default, and as long as you place all
sflaunch options before the first -mike or -speak-
er option you never need to use the -launch op-
tion. It is provided as a convenience for scripts
which wish to assemble sflaunch commands without
paying attention to the order in which options are
-mike or -sfmike
The options which follow are passed to sfmike when
it is invoked. Note that destination and sound
file arguments are automatically passed to sfmike
and need not be preceded by this option.
-q When a connection is closed, sflaunch normally
prompts the user to open another connection. If
the -q option is specified, sflaunch exits at the
end of first connection, terminating sfspeaker and
returning to the shell prompt.
-speaker or -sfspeaker
The options which follow are passed to sfspeaker
when it is invoked. You may switch back and forth
between directing options to sfmike and sfspeaker
as many times as you wish.
-u Prints how-to-call information.
This option allows you to override the defaults
for the name of the audio input device file (for
example /dev/audio) and, optionally, the audio
control device file, specified after the input
device, separated by a colon.
by John Walker
September 18, 1999