specdispSpectral Processing:Non-Standardspecdispspecdisp
Displays the magnitude values of the spectrum.
Description
Displays the magnitude values of the spectrum.
Syntaxspecdisp wsig, iprd [, iwtflg]Initializationiprd -- the period, in seconds, of each new display.
iwtflg (optional, default=0) -- wait flag. If non-zero, hold each display until released by the user. The default value is 0 (no wait).
Performancewsig -- the input spectrum.
Displays the magnitude values of spectrum wsig every iprd seconds (rounded to some integral number of wsig's originating iprd).
Examples
ksum specsum wsig, 1 ; sum the spec bins, and ksmoothif ksum < 2000 kgotozero; if sufficient amplitude
koct specptrk wsig ; pitch-track the signalkgotocontinzero:
koct = 0 ; else output zerocontin:See Alsospecsum