annotate dsp/synth/spec2snd.m @ 47:82075c94eed1

adding a bunch of stuff, including graphics and pitch toolboxes.
author samer
date Sat, 17 Jan 2015 15:20:35 +0000
parents c75bb62b90a9
children
rev   line source
samer@34 1 function Y=spec2snd(X,frame,hop,varargin)
samer@34 2 % spec2snd - Sound from sequence of power spectra
samer@34 3 %
samer@34 4 % spec2snd ::
samer@34 5 % seq([[M,L]]) ~'power spectra in columns',
samer@34 6 % natural ~'frame size for resynthesis',
samer@34 7 % natural ~'hop size for unbuffer'
samer@34 8 % -> seq([[M]]) ~'output sequence'.
samer@34 9
samer@34 10
samer@34 11 src=rndseq(gaussian,frame+size(X,1)-1);
samer@34 12 Y=unbuffer(fir2snd(spec2fir(X),src),hop);
samer@34 13