Mercurial > hg > ishara
view dsp/synth/playfirspec.m @ 42:ae596261e75f
Various fixes and development to audio handling
author | samer |
---|---|
date | Tue, 02 Dec 2014 14:51:13 +0000 |
parents | c75bb62b90a9 |
children |
line wrap: on
line source
function X=playfirspec(A,h) % PLAYFIRSPEC - Synthesis spectrum using FIR filters % % playfirspec :: [[N,M]], [[L]] -> [[T]]. x=fir2snd(spec2fir(A),h.*randn(size(h))); if nargout<1, sound(flatten(x),11025); else X=x; end