next up previous contents
Next: Function: sound() Up: GRASP Routines: General purpose Previous: Function: audio()   Contents

Example: makesounds program

0 The program makesounds demonstrates the graph_short() function, which uses xmgr to create graphs of an array of short integers, and the audio() function, which plays a waveform, expressed as an array of shorts, on a sound-capable workstation. This program generates three waveforms with which to demonstrate these utilities: Each waveform is displayed with graph_short() and played on your workstation with audio(). Includes/makesounds.tex
Author: Warren Anderson, warren@ricci.phys.uwm.edu
Comments: If the audio() function does not play sound on your workstation, replace it with sound() below, and use that to create sound files which you should be able to listen to in some way.


next up previous contents
Next: Function: sound() Up: GRASP Routines: General purpose Previous: Function: audio()   Contents
Bruce Allen 2000-11-19