Home > slabtools > wavspec.m

wavspec

PURPOSE ^

wavspec - displays the impulse response and spectrum of wave file data.

SYNOPSIS ^

function wavspec( play )

DESCRIPTION ^

 wavspec - displays the impulse response and spectrum of wave file data.

 wavspec without an argument will display impulse response plots and spectrum
 plots and write the plots to the files:
   \imimp.tif and \imspec.tif

 See the variables fontSize, dimLength, and dimWidth to modify the font size
 and TIFF dimensions.

 wavespec(1) does the above and plays the file:
   \SLABData\wavs\sqam_voice_me.wav
 followed by the file filtered with each impulse response.

 Impulse responses are read from the following wave files:
    slabout1.wav, slabout2.wav, slabout3.wav, slabout4.wav

 The default .wav's demonstrate slab3d reflection processing.

 Acoustic Scene Parameters:

 Src = ImpulseFull1024.wav, one-shot, auto-stop
 Gain = 20.0 dB
 Relative src location = 60 az, 0 el, 0.25m range
 Radius = 10cm
 Spread = 1 (normal)
 Smooth Time = 0ms
 Room = depth 4.0m, width 3.0m, height 3.2m
 Listener is 1.8288m (6') above floor.  (SLABScape LST_HEIGHT)
 Perfect reflector walls.

 slabout1 = direct
 slabout2 = right wall reflection
 slabout3 = 1 and 2 together
 slabout4 = direct and 6 reflections

 Note: This function places several large variables in the global workspace
 (see 'whos global').  To clear, 'clear global'.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 20-Nov-2009 18:52:57 by m2html © 2003