view dsp/synth/linchirp.m @ 34:c75bb62b90a9

Imported audio synthesis tools.
author samer
date Sun, 20 Jan 2013 19:05:05 +0000
parents
children
line wrap: on
line source
function y=linchirp(fs,f0,f1,t)
% linchirp - Linear chirp
%
% linchirp ::
%    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,'linear',-90);