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