Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

auscope(1) [opendarwin man page]

AUSCOPE(1)						      General Commands Manual							AUSCOPE(1)

NAME
auscope - Network Audio System Protocol Filter SYNOPSIS
auscope [ option ] ... DESCRIPTION
auscope is an audio protocol filter that can be used to view the network packets being sent between an audio application and an audio server. auscope is written in Perl, so you must have Perl installed on your machine in order to run auscope. If your Perl executable is not installed as /usr/local/bin/perl, you should modify the first line of the auscope script to reflect the Perl executable's location. Or, you can invoke auscope as perl auscope [ option ] ... assuming the Perl executable is in your path. To operate, auscope must know the port on which it should listen for audio clients, the name of the desktop machine on which the audio server is running and the port to use to connect to the audio server. Both the output port (server) and input port (client) are automati- cally biased by 8000. The output port defaults to 0 and the input port defaults to 1. ARGUMENTS
-i<input-port> Specify the port that auscope will use to take requests from clients. -o<output-port> Determines the port that auscope will use to connect to the audio server. -h<audio server name> Determines the desktop machine name that auscope will use to find the audio server. -v<print-level> Determines the level of printing which auscope will provide. The print-level can be 0 or 1. The larger numbers provide greater output detail. EXAMPLES
In the following example, mcxterm is the name of the desktop machine running the audio server, which is connected to the TCP/IP network host tcphost. auscope uses the desktop machine with the -h command line option, will listen for client requests on port 8001 and connect to the audio server on port 8000. Ports (file descriptors) on the network host are used to read and write the audio protocol. The audio client auplay will connect to the audio server via the TCP/IP network host tcphost and port 8001: auscope -i1 -o0 -hmcxterm auplay -audio tcp/tcphost:8001 dial.snd In the following example, the auscope verbosity is increased to 1, and the audio client autool will connect to the audio server via the network host tcphost, while displaying its graphical interface on another server labmcx: auscope -i1 -o0 -hmcxterm -v1 autool -audio tcp/tcphost:8001 -display labmcx:0.0 SEE ALSO
nas(1), perl(1) COPYRIGHT
Copyright 1994 Network Computing Devices, Inc. AUTHOR
Greg Renda, Network Computing Devices, Inc. 1.9.3 AUSCOPE(1)

Check Out this Related Man Page

NETWORK AUDIO 
SYSTEM(1) General Commands Manual NETWORK AUDIO SYSTEM(1) NAME
Network Audio System - a portable, network-transparent audio system SYNOPSIS
The Network Audio System service is a network-transparent system developed at Network Computing Devices for playing, recording, and manipu- lating audio data over a network. It uses the client/server model to separate application code from the software drivers needed to control specific audio input and output devices. DESCRIPTION
The Network Audio System service provides applications with the ability to send and receive audio data such as voice, sound effects, and music in a network environment. A audio server inside the desktop terminal or personal computer controls the various input and output devices in response to messages sent from client programs running on other hosts. A variety of utility programs are provided that can be used to play or record audio using shell scripts or command-line procedures. More ambitious applications can communicate directly with the audio server using a C-language programming library. The Network Audio System service supports a variety of the common formats used to store sound data. Audio inputs and outputs can run at a any of a range of sampling rates. The audio server automatically converts all data to the designed format or rate. Streams of data from multiple inputs can be mixed together and directed to any attached output device. Sounds that are used many times can be stored in the server so that they do not need to be transmitted over the network each time they are played. Furthermore, inputs can be hooked directly to outputs (for example, a CD player can be connected to a set of speakers) so that data can be played without requiring any client intervention or network traffic. AUDIO SERVER NAMES
Each audio server has a name that is used by applications in establishing a connection. The format of the name depends upon the type of network being used. In TCP/IP environments, audio server names look like: tcp/hostname:portnum where hostname is the name or numeric IP address of the desktop machine to be contacted and portnum is the port number on which the server is listening. If the ``tcp/'' prefix is not given, 8000 is automatically added to portnum so that the audio server name is compatible with the X Window System display name. In DECnet environments, audio server names look like: decnet/nodename::num where nodename is the name or numeric DECnet address of the desktop machine to be contacted and num is the DECnet task AUDIO$num. If the ``decnet/'' prefix is omitted, it is automatically added so that the audio server name is compatible with the X Window System display name. Most audio utilities accept a command line argument -audio servername for specifying the audio server to be contacted. % auinfo -audio tcp/ncdunit:8000 If no server is specified on the command line, the AUDIOSERVER environment variable is checked to see if a name has been stored there. Otherwise, the DISPLAY environment variable used by X Window System applications is checked and the corresponding audio server is used. SAMPLE PROGRAMS
Several sample programs that use the Network Audio System service are provided by NCD: auplay This program simply plays the files listed on its command line. It is typically used from shell scripts, command-line procedures, or other programs that just need to ``dump'' sound data to the audio server. audemo This program allows the user to select and play pre-recorded sound files or to record new sound files. It provides a simple con- trol panel for dynamically changing the volume while a sound is being played and for aborting a sound. audial This program generates North American telephone touch tones correspond to a given string. audial can also recognize touch tones and produce the corresponding string. autool This program is compatible with the Sun audiotool program and is typically used to play prerecorded sound files. Unlike auplay it provides a graphical interface to allow the user to replay or cancel the data. auinfo This program lists information describing the capabilities of an audio server. auctl This program can be used to change various device parameters. auscope This program is an audio protocol filter that can be used to view the network packets being sent between an application and an audio server. aupanel This program provides an X-based window-oriented interface allowing the user to adjust the attributes of the devices provided by the Network Audio System service. auedit This program provides an X-based window-oriented interface allowing the user to edit audio files. auconvert This program allows the user to perform various conversion operations on sound files. auphone This program provides an X-based window-oriented interface allowing two-way real time voice communication between two audio servers. aurecord This program is used to record audio data from an audio server into a file. auwave This program provides an X-based window-oriented interface demonstrating the use of waveform elements. AUDIO FILES
The audio programming library and utility programs can be used to read and write files in any of the following file formats: Sun/NeXT These files typically have a '.au' or '.snd' extension. They are usually produced by Sun or NeXT workstations. Creative Labs These files typically have a '.voc' extension. They are usually produced by by Soundblaster audio cards on IBM PC compatible com- puters. Microsoft WAVE These files typically have a '.wav' extension. They are usually produced by IBM PC compatible computers. AIFF These files typically have an '.aiff' or '.aif' extension. They are usually produced by SGI workstations or Apple computers. Amiga IFF/8SVX These files typically have an '.iff' extension. Due to the nature of the file formats, only the Sun/NeXT file format can be piped through standard input and/or standard output. The con- vention for specifying standard input or standard output is to use a hyphen ("-") as the file name. PROGRAMMING
Application developers may create their own audio clients using the Network Audio System programming library. ENVIRONMENT VARIABLES
The following environment variables are used by Network Audio System programs: AUDIOSERVER This specifies the name of default audio server to contact if no name is explicitly given on the command line. DISPLAY This specifies the name of an X Window System display that should be assumed to also have a corresponding Network Audio System server. SEE ALSO
auplay(1), audemo(1), audial(1), autool(1), auinfo(1), auctl(1), auscope(1), aupanel(1), auedit(1), auconvert(1), auphone(1), aurecord(1), auwave(1) Network Audio System Overview and Programmers Guide COPYRIGHT
The following copyright and permission notice applies to all files in the Network Audio System application programming libraries and exam- ple programs provided in source form by Network Computing Devices: Copyright 1993, 1994 Network Computing Devices, Inc. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in sup- porting documentation, and that the name Network Computing Devices, Inc. not be used in advertising or publicity pertaining to distribution of this software without specific, written prior permission. THIS SOFTWARE IS PROVIDED `AS-IS'. NETWORK COMPUTING DEVICES, INC., DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING WITH- OUT LIMITATION ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT SHALL NETWORK COMPUTING DEVICES, INC., BE LIABLE FOR ANY DAMAGES WHATSOEVER, INCLUDING SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS OF USE, DATA, OR PROFITS, EVEN IF ADVISED OF THE POSSIBILITY THEREOF, AND REGARDLESS OF WHETHER IN AN ACTION IN CONTRACT, TORT OR NEGLIGENCE, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. TRADEMARKS
NCD, NCD Display Station, and NCDware are all trademarks of Network Computing Devices, Inc. X Window System is a trademark of the Massachusetts Institute of Technology. AUTHORS
Greg Renda, Jim Fulton, David Lemke NETWORK AUDIO SYSTEM(1)
Man Page