Next: Function: sound()
Up: GRASP Routines: General purpose
Previous: Function: audio()
  Contents
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:
- a constant frequency Cosine wave with a quadratically varying amplitude,
, where
is the duration of the signal,
- a binary inspiral chirp for two 5.0 solar mass objects, starting from a
frequency of 64 Hz and chirping to coalesence,
- and a Lai-Shapiro waveform from the supernova hang-up with a
solar
mass core and rotating with an initial frequency of 1000 Hz.
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: Function: sound()
Up: GRASP Routines: General purpose
Previous: Function: audio()
  Contents
Bruce Allen
2000-11-19