From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,698311a1b5f1c51b X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,698311a1b5f1c51b X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,698311a1b5f1c51b X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-04-06 17:47:12 PST Xref: gmd.de comp.unix.ultrix:8442 comp.unix.osf.osf1:231 comp.sys.dec:6802 Newsgroups: comp.unix.ultrix,comp.unix.osf.osf1,comp.sys.dec Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!jg From: jg@crl.dec.com (Jim Gettys) Subject: Re: Using audio on DEC AXP workstations Message-ID: <1993Apr7.003922.26091@crl.dec.com> Sender: news@crl.dec.com (USENET News System) Organization: DEC Cambridge Research Lab References: <2BC21B60.24040@news.service.uci.edu> Date: Wed, 7 Apr 1993 00:39:22 GMT In article <2BC21B60.24040@news.service.uci.edu>, fredv@abba.acs.uci.edu (Fred Velijanian) writes: > How do we use the audio capabilities of the DEC 3000/400 > AXP workstations using OSF/1? We have OSF/1 V1.2 and the > Freeware CD which has a distribution of "AF", but we > haven't been able to build it properly. Is there a simpler, > less ambitious product that will allow us to play sounds? Nope. AudioFile is it. You are best off picking up a current version from crl.dec.com via anonymous FTP; quite a few bugs have been fixed since the initial version which is what is on the CD. I don't know what your problem is when building AF; but you should build from our current version, rather than the version on the CD. I think if you try it, you'll like it. Runs on Alpha AXP, DECstations running Ultrix, Sun workstations under SunOS, and SGI systems. Various people are porting it to other systems. Here is the general AudioFile README file: ------------------- AudioFile Version 2, Release 2 README Introduction ------------ The AudioFile System (AF) is a device-independent network-transparent audio server. With AudioFile, multiple audio applications can run simultaneously, sharing access to the actual audio hardware. Network transparency means that application programs can run on machines scattered throughout the network. Because AF permits applications to be device-independent, applications need not be rewritten to work with new audio hardware. AudioFile does for sound what the X Window System does for text and graphics. Development of AudioFile began in 1989 at Digital Equipment Corporation's Cambridge Research Laboratory, but it builds on ideas from earlier work. We originally envisioned AudioFile as a server to support all the capabilities of the CRL "LoFi" audio hardware running on the DECstation 5000 workstation, but we soon began adding support for a variety of other platforms and audio hardware. This distribution of AudioFile includes device drivers for several audio devices, server code for a number of platforms, a programming API and library, out-of-the-box core applications, and a number of "contributed" applications. The key difference between the core and contributed applications is that the many of the contrib clients also depend on the TCL/Tk graphics toolkits distributed by the University of California. (The AudioFile distribution does not include TCL/Tk, but we tell you where to get it.) With AudioFile, it is easy to incorporate audio into applications. Simple "play" and "record" applications are included, or you can write your own using the AudioFile API and client library. AudioFile allows applications to generate and process audio in real-time but it also permits more leisurely applications. AudioFile is quite resistant to the vagaries of scheduling and operating systems that can make handling audio difficult. We have successfully used AudioFile for both trivial applications (audio BIFF) and complex applications (real-time teleconferencing, speech synthesis and recognition.) AudioFile may not be appropriate for all purposes, but we have found it to be a versatile and effective tool. We believe that AudioFile is highly portable, and that it should be straightforward to add additional support for other systems equipped with audio hardware. AudioFile is distributed in source form, with a copyright allowing unrestricted use for any purpose except sale (see the Copyright notice). We would like to encourage other organizations to add support to AudioFile for additional platforms, operating systems, and devices, and to contribute additional applications. We have set up a mailing list for discussions of AudioFile: af@crl.dec.com send mail to af-request@crl.dec.com to be added to this list. AudioFile Server ---------------- This distribution of AudioFile includes server support for Digital RISC systems running Ultrix, Digital Alpha AXP systems running OSF/1, and Sun Microsystems SPARCstations running SunOS. The servers support audio hardware ranging from the built-in CODEC audio on SPARCstations and Personal DECstations to 48 KHz stereo audio using the DECaudio TURBOchannel module. In addition, server support is present for telephone access devices such as DECaudio. AudioFile API ------------- The distribution includes C language bindings to the protocol that make it easy to write distributed audio applications. AudioFile Clients ----------------- This distribution includes a number of core applications for recording, playback, telephone control, device control, and access control. AudioFile "Contrib" Clients --------------------------- The distribution includes a number of contributed applications including an audio file browser, an FFT spectrogram display, and multicast network audio service. Kit Location ------------ The kit is located at ftp site crl.dec.com (Internet 192.58.206.2) in /pub/DEC/AF. The kit is contained in a compressed tar file named AF2R2.tar.Z. Use anonymous ftp to retrieve the file, % ftp crl.dec.com ... ftp> cd /pub/DEC/AF ftp> binary ftp> get AF2R2.tar.Z The kit is shipped as a compressed tar file. To unpack the kit, % cd % zcat AF2R2.tar.Z | tar xpBf - We also provide a sample kit of Hi-Fi sound bites for use with DECaudio. If you have a DECaudio, you might considering retrieving AF2R2-other.tar.Z and unpack this kit in the same manner as described above. Other files available in this same directory are the release notes, copyright notice, and this README file. Roadmap ------- Several directories will be created in your local audio root directory. The "AF" sub-tree contains the source code for the AudioFile server, the AudioFile client library, and several AudioFile client programs. The "devices" sub-tree contain the device specific code not related to the AF system. For example, the LoFi device library, LoFi device driver, and test programs are included here. Finally, "sound_files" contains several sound bites you can use while verifying the kit installation. The kit requires approximately 6 Megabytes and an additional 8 Megabytes for building and installing the release. The HiFi sound files require another 4 Megabytes approximately. Documents --------- You should read the following documents prior to installing this software. o AF Release Notes - /AF/RELNOTES.{txt,PS} o Copyrights information - /COPYRIGHTS Suggested Sequence ------------------ o Retrieve the software package and create a local audio hierarchy. o Read the documents mentioned above. o Build the AudioFile release (after unpacking the kit.) % cd Customize the build environment for your local site according to the information contained in the release notes. Follow the directions there in order to build this release. Typing, % make Help in the directory can be used as a reminder of the steps in the build process. You might want to save the output of the build and install session in order to identify problems should any occur. o If you are using LoFi/DECaudio or the native audio on DECstations or Alpha AXP workstations for the first time, see the instructions in one of these directories for information about the hardware and device drivers. For the native DECstation audio device, /devices/maxine/driver/mips.src/bba.4 man page For the native Alpha AXP workstation audio device, /devices/axp/driver/README For LoFi/DECaudio, On Ultrix/RISC (MIPS): /devices/lofi/driver/mips.src/lofi.4 man page On DEC OSF/1 Alpha: /devices/lofi/driver/alpha.src/lofi.7 man page /devices/lofi/driver/alpha.src/README o Test the AudioFile server and clients. o Have fun! Copyrights ---------- See the file /COPYRIGHTS for the full copyright and permission notice. -- Digital Equipment Corporation Cambridge Research Laboratory