view dsp/synth/expchirp.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 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);