A package of software is described that generates, analyzes, stores, and displays sampled waveforms. The package is designed for use under UNIX and includes C source code, UNIX manual pages, and tutorial documents. The programs interact via UNIX pipes using an ASCII-text data format, which enables the user to view the data in numerical form as well as through the use of plotting programs. Among many other functions, the programs can do the following: efficiently generate linearphase FIR filters with arbitrary transfer functions; generate impulse responses for rectangular rooms ofspecifled dimensions; convolve waveforms with each other; perform Fourier transformation and inverse Fourier transformation; filter waveforms in the Fourier domain; filter waveforms according to the peripheral frequency selectivity of the human auditory system; cross-correlate waveforms; autocorrelate waveforms; synthesize complex waveforms, including vowel sounds and white noise. The software can read and write a variety of commonly used waveform file formats. The data can be plotted on an X-Window display using the gnuplot software, which has been included in the package. The complete software package is available via anonymous ftp from ftp.ihr.mrc.ac.uk in -ftp/pub/johncu/wave.tar.Z Psychoacoustic experimentation has traditionally been conducted using large collections of complex hardware. The advent of inexpensive computers and accurate digital-to-analog converters has involved the computer in the stimulus-generation process, and increases in computer power now allow complex auditory modeling to be performed. Such modeling requires that the stimuli to be modeled be available to the computer in digital form, and a fair comparison between human and model requires that identical stimuli be used in both experiment and model. The simplest way of achieving this goal is to complete the entire stimulus-generation process within the computer. In the near future, we may expect the only necessary external hardware to be an amplifier and a pair of headphones. This paper describes a coherent suite of digital signal-processing (DSP) software for use in the psychoacoustic laboratory. The software includes tools for stimulus generation and for psychoacoustic modeling.This package would have been impossible to assemble without the technical advice and support of Andrew Sidwell, David Marshall, and Tim Folkard. Without Thomas Williams' and Colin Kelley's free and portable plotting program, "gnuplot," a publicly distributed version ofthe package would have been of limited use. The software for reading and writing Sun/NeXT audio-files was written by Peter Kabal of McGill University. The author would like to thank Quentin Summerfield, Peter Assmann, John Foster, Greg Sandell, and Alain de Cheveigne for their comments on the software and/or this manuscript. Correspondence should be addressed to J. F.Culling, University Laboratory of Physiology, Parks Rd., Oxford OXI 3PT, England (e-mail: jfc@physiol.ox.ac.uk).
Design FeaturesThe inspiration for this signa...