1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="GENERATOR" CONTENT="Mozilla/4.03 [en] (X11; I; IRIX 6.3 IP32) [Netscape]">
<TITLE>VDELAY</TITLE>
</HEAD>
<BODY>
<CENTER><A NAME="vdelay"></A>
<HR><B><A HREF="../REFER.html">QUICK-REF</A></B> - <B><A HREF="../TITLE.html"><FONT SIZE=+1>C</FONT>soundManual</A></B>
- <B><A HREF="SIG_MOD.html">Top of this section</A></B> - <A HREF="multitap.html">Previous</A>
- <A HREF="../CONTENTS.html">Contents</A> - <A HREF="../INDEX.html">Index</A>
- <A HREF="comb.html">Next</A>
<HR></CENTER>
<H2>
vdelay</H2>
<PRE> ar <B>vdelay</B> asig, adel, imaxdel [, iskip]</PRE>
<HR>
<H4>
<U>DESCRIPTION</U></H4>
This is an interpolating variable time delay, it is not very different
from the existing implementation (<A HREF="deltap.html">deltapi</A>), it
is only easier to use.
<H4>
<U>INITIALIZATION</U></H4>
<I>imaxdel</I> - Maximum value of delay in samples. If <I>adel</I> gains
a value greater than <I>imaxdel</I> it is folded around <I>imaxdel</I>.
This should not happen.
<P><I>iskip</I> - Skip initialisation if present and non zero
<H4>
<U>PERFORMANCE</U></H4>
With this unit generator it is possible to do Doppler effects or chorusing
and flanging.
<P><I>asig</I> - Input signal.
<P><I>adel</I> - Current value of delay in samples. Note that linear functions
have no pitch change effects. Fast changing values of <I>adel</I> will
cause discontinuities in the waveform resulting noise.
<H4>
<U>EXAMPLE:</U></H4>
<PRE> f1 0 8192 10 1
ims = 100 ; Maximum delay time in msec
a1 <B>oscil</B> 10000, 1737, 1 ; Make a signal
a2 <B>oscil</B> ims/2, 1/p3, 1 ; Make an LFO
a2 = a2 + ims/2 ; Offset the LFO so that it is positive
a3 <B>vdelay</B> a1, a2, ims ; Use the LFO to control delay time
<B>out</B> a3</PRE>
Two important points here. First, the delay time must be always positive.
And second, even though the delay time can be controlled in k-rate, it
is not advised to do so, since sudden time changes will create clicks.
<BR>
<P><B><U>AUTHOR: <BR>
<BR>
</U></B>Paris Smaragdis <BR>
MIT, Cambridge <BR>
1995
<CENTER></CENTER>
<CENTER><P>
<HR><B><A HREF="../REFER.html">QUICK-REF</A></B> - <B><A HREF="../TITLE.html"><FONT SIZE=+1>C</FONT>soundManual</A></B>
- <B><A HREF="SIG_MOD.html">Top of this section</A></B> - <A HREF="multitap.html">Previous</A>
- <A HREF="../CONTENTS.html">Contents</A> - <A HREF="../INDEX.html">Index</A>
- <A HREF="comb.html">Next</A>
<HR></CENTER>
<P><CENTER>
<B><I><FONT COLOR="#006600">HTML Csound Manual - <FONT SIZE=-1>©
Jean Piché & Peter J. Nix, 1994-97</FONT></FONT></I></B>
</CENTER>
</HTML>
|