Mercurial > hg > ishara
diff dsp/synth/expchirp.m @ 34:c75bb62b90a9
Imported audio synthesis tools.
author | samer |
---|---|
date | Sun, 20 Jan 2013 19:05:05 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dsp/synth/expchirp.m Sun Jan 20 19:05:05 2013 +0000 @@ -0,0 +1,11 @@ +function y=expchirp(fs,f0,f1,t) +% expchirp - exponential chirp +% +% expchirp :: +% F:real ~'sampling frequency', +% real ~'initial frequency', +% real ~'final frequency', +% D:nonneg ~'duration' +% -> [[1,D*F]]. + +y=chirp(0:(1/fs):t,f0,t,f1,'logarithmic',-90);