From: tevans@sal.cs.utah.edu (Terry Evans)
Subject: New version of sfxserver uploaded
Date: 10 Jan 1995 22:14:35 +0200 [thread overview]
Message-ID: <3euprb$cut@kruuna.Helsinki.FI> (raw)
(I know that I only announced the original version a couple of days
ago, but ths is a new version and the first post was messed up.)
I just uploaded a new version of my sound effects server for Linux to
both the incoming directory on sunsite.unc.edu and tsx-11.mit.edu.
In addition to the server program, there is also a small client program
that interfaces with the server. It is pretty crude, but it does
show the steps needed to interface with the server.
The file names are sfxserver-0.02.tgz and sfxclient-0.02.tgz. I am
including below the .lsm files for both programs followed by the README
for the sfxserver program.
.lsm for the sfxserver:
Begin3
Title: sfxserver
Version: 0.02
Entered-date: 09 JAN 1994
Description: Sound effects server for Linux
Keywords: sound, sound effects, server
Author: tevans@cs.utah.edu (Terry Evans)
Maintained-by: tevans@cs.utah.edu (Terry Evans)
Primary-site: sunsite.unc.edu /pub/Linux/apps/sound/players/
56k sfxserver-0.02.tgz
Alternate-site: tsx-11.mit.edu /pub/linux/packages/sound/
56k sfxserver-0.02.tgz
Original-site:
Platform: VoxWare sound drivers compiled in kernel, supported sound card
Copying-policy: GPL
End
.lsm for the sfxclient:
Begin3
Title: sfxclient
Version: 0.02
Entered-date: 09 JAN 1994
Description: Client program that interfaces with sfxserver
Keywords: sound, sound effects, client
Author: tevans@cs.utah.edu (Terry Evans)
Maintained-by: tevans@cs.utah.edu (Terry Evans)
Primary-site: sunsite.unc.edu /pub/Linux/apps/sound/players/
4k sfxclient-0.02.tgz
Alternate-site: tsx-11.mit.edu /pub/linux/packages/sound/
4k sfxclient-0.02.tgz
Original-site:
Platform: VoxWare sound drivers compiled in kernel, supported sound card
sfxserver-0.02 package installed
Copying-policy: GPL
End
README for the sfxerver program:
README for sfxserver
version 0.02
by Terry Evans
Copyright:
----------
sfxserver
Copyright by Terry Evans 1994
tevans@cs.utah.edu, tevans@slc.unisys.com
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met: 1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer. 2.
Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
Introduction:
-------------
sfxserver is a program designed to play sound effects under Linux.
In order for sfxserver to run on your system you must have the sound
drivers compiled into your kernel and configured correctly for your
sound card.
Program Use:
------------
sfxserver accepts all input via stdin. In other words, you can either
run the program manually or fork() off a child process that executes sfxserver
and writes commands to sfxservers' stdin and reads from its stdout. (See
the sfxclient program that is available at the same sites as sfxserver
for an example.)
sfxserver currently has 6 commands available. They are:
c -
c clears all internal buffers.
l<filename> -
l reads in the raw sound file located at filename. The filename is
relative to the path where the program was started.
l returns sNN. Where NN is the 2-digit hex sample number that was
assigned to <filename> internally. NN is used with the p command.
pNNLLRR -
p plays the sample number NN with the left volume set at LL of ff and the
right volume set at RR of ff. NN can be any number of a currently loaded
sample.
Since the left and right volumes are set by LL and RR respectively,
to play a sound at full volume, use ff. To play a sound with no volume,
use 00, full volume is 80.
p returns cNN. Where NN is the 2-digit hex channel on which the sound
effect is playing. NN is used with v below.
vSCCVV
v Is used to adjust the volume of an already executing sound effect.
S is the side of the volume to adjust. The only acceptble values are
'l' and 'r' (without the quotes).
CC is the 2-digit hex channel number to adjust the volume on. The channel
number is return by p above.
VV is the 2-digit hex amount to set the volume at while playing.
maximum.
v returns vNN. Where NN is the 2-digit hex number corresponding to the
volume that the S side of CC was set to.
q -
q quits the program. It doesn't finish playing any pending sounds.
Limitations:
------------
The server currently only handles 11Khz mono samples in .snd format.
Only 8 sound channels are available in this release. Therefore, you
can have 8 different sounds playing simultaneously.
You are limited to 100 different sound effects loaded into sfxserver
at a time.
Note: The number of sound channels and sound effects can easily be
changed in the global.h file. However, doing so will consume more of your
cpu time.
Other:
------
The sound effects that are located in this tar file are not mine. They
are from the soundIt toolkit by Brad ?? (pitzel@cs.sfu.ca). They are
included without his permission in this tar file and are not covered by
my Copyright notice.
Terry Evans
tevans@cs.utah.edu
--
This is a sample .sig file
--
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember Keywords: and a short description of the software.
reply other threads:[~1995-01-10 20:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox