| 1 |
<section id="PrefaceToot5"> |
| 2 |
<title>Toot 5</title> |
| 3 |
<para> |
| 4 |
To add some delayed vibrato to our chorusing instrument we use another oscillator for the vibrato and a line segment generator, <link linkend="linseg"><citetitle>linseg</citetitle></link>, as a means of controlling the delay. <link linkend="linseg"><citetitle>linseg</citetitle></link> is a k-rate or a-rate signal generator which traces a series of straight line segments between any number of specified points. It is used like this: |
| 5 |
<programlisting> |
| 6 |
kr <emphasis role="opc">linseg</emphasis> ia, idur1, ib[, idur2, ic[...]] |
| 7 |
|
| 8 |
ar <emphasis role="opc">linseg</emphasis> ia, idur1, ib[, idur2, ic[...]]</programlisting> |
| 9 |
</para> |
| 10 |
<para> |
| 11 |
The variables: <emphasis>ia</emphasis>, <emphasis>ib</emphasis>, <emphasis>ic</emphasis>, etc., are the values for the points. The i-rate variables: <emphasis>idur1</emphasis>, <emphasis>idur2</emphasis>, <emphasis>idur3</emphasis>, etc., set the duration, in seconds, between segments. |
| 12 |
</para> |
| 13 |
<para> |
| 14 |
Here's the file <ulink url="examples/toot5.csd"><citetitle>toot5.csd</citetitle></ulink>: |
| 15 |
</para> |
| 16 |
<para> |
| 17 |
<xi:include href="examples-xml/toot5.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 18 |
</para> |
| 19 |
</section> |