Mercurial > hg > ishara
view dsp/synth/playfirspec.m @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
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