| 1 | |
| 2 | <refentry id="linsegb"> |
| 3 | <indexterm id="IndexLinsegb"><primary>linsegb</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Generators:Linear and Exponential Generators</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>linsegb</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>linsegb</refname> |
| 13 | <refpurpose> |
| 14 | Trace a series of line segments between specified absolute points. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | Trace a series of line segments between specified absolute points. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis>ares <command>linsegb</command> ia, itim1, ib [, itim2] [, ic] [...]</synopsis> |
| 28 | |
| 29 | <synopsis>kres <command>linsegb</command> ia, itim1, ib [, itim2] [, ic] [...]</synopsis> |
| 30 | </refsect1> |
| 31 | |
| 32 | <refsect1> |
| 33 | <title>Initialization</title> |
| 34 | <para> |
| 35 | <emphasis>ia</emphasis> -- starting value. |
| 36 | </para> |
| 37 | |
| 38 | <para> |
| 39 | <emphasis>ib, ic</emphasis>, etc. -- value at <emphasis>tim1</emphasis> seconds, etc. |
| 40 | </para> |
| 41 | |
| 42 | <para> |
| 43 | <emphasis>itim1</emphasis> -- time in seconds of end of first |
| 44 | segment. A zero or negative value will cause all initialization |
| 45 | to be skipped. |
| 46 | </para> |
| 47 | |
| 48 | <para> |
| 49 | <emphasis>itim2, itim3</emphasis>, etc. -- time in seconds at |
| 50 | the end of subsequent segments. |
| 51 | </para> |
| 52 | </refsect1> |
| 53 | |
| 54 | <refsect1> |
| 55 | <title>Performance</title> |
| 56 | <para> |
| 57 | These units generate control or audio signals whose values can pass through 2 or more specified points. The last <emphasis>tim</emphasis> value may or may not equal the instrument's performance time: a shorter performance will truncate the specified pattern, while a longer one will cause the last value to be repeated until the end of the note. |
| 58 | </para> |
| 59 | </refsect1> |
| 60 | |
| 61 | <refsect1> |
| 62 | <title>Examples</title> |
| 63 | <para> |
| 64 | Here is an example of the linsegb opcode. It uses the file <ulink url="examples/linsegb.csd"><citetitle>linsegb.csd</citetitle></ulink>. |
| 65 | |
| 66 | <example> |
| 67 | <title>Example of the linsegb opcode.</title> |
| 68 | <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para> |
| 69 | <xi:include href="examples-xml/linsegb.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 70 | </example> |
| 71 | </para> |
| 72 | </refsect1> |
| 73 | |
| 74 | <refsect1> |
| 75 | <title>See also</title> |
| 76 | <para><link linkend="SiggenLineexp"><citetitle>Linear and Exponential Generators</citetitle></link></para> |
| 77 | </refsect1> |
| 78 | |
| 79 | <refsect1> |
| 80 | <title>Credits</title> |
| 81 | <para> |
| 82 | <simplelist> |
| 83 | <member>Author: &namevictor;</member> |
| 84 | <member>June 2011 </member> |
| 85 | </simplelist> |
| 86 | </para> |
| 87 | <para>New in version 5.14</para> |
| 88 | |
| 89 | </refsect1> |
| 90 | </refentry> |