annotate dsp/synth/linchirp.m @ 47:82075c94eed1
adding a bunch of stuff, including graphics and pitch toolboxes.
author |
samer |
date |
Sat, 17 Jan 2015 15:20:35 +0000 |
parents |
c75bb62b90a9 |
children |
|
rev |
line source |
samer@34
|
1 function y=linchirp(fs,f0,f1,t)
|
samer@34
|
2 % linchirp - Linear chirp
|
samer@34
|
3 %
|
samer@34
|
4 % linchirp ::
|
samer@34
|
5 % F:real ~'sampling frequency',
|
samer@34
|
6 % real ~'initial frequency',
|
samer@34
|
7 % real ~'final frequency',
|
samer@34
|
8 % D:nonneg ~'duration'
|
samer@34
|
9 % -> [[1,D*F]].
|
samer@34
|
10
|
samer@34
|
11 y=chirp(0:(1/fs):t,f0,t,f1,'linear',-90);
|
samer@34
|
12
|