| 1 |
|
| 2 |
<refentry id="tableseg"> |
| 3 |
<indexterm id="IndexTableseg"><primary>tableseg</primary></indexterm> |
| 4 |
<refentryinfo><title>Spectral Processing:STFT</title></refentryinfo> |
| 5 |
<refmeta> |
| 6 |
<refentrytitle>tableseg</refentrytitle> |
| 7 |
</refmeta> |
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
<refnamediv> |
| 12 |
<refname>tableseg</refname> |
| 13 |
<refpurpose> |
| 14 |
Creates a new function table by making linear segments between values in stored function tables. |
| 15 |
</refpurpose> |
| 16 |
</refnamediv> |
| 17 |
|
| 18 |
<refsect1> |
| 19 |
<title>Description</title> |
| 20 |
<para> |
| 21 |
<emphasis>tableseg</emphasis> is like <link linkend="linseg"><citetitle>linseg</citetitle></link> but interpolate between values in a stored function tables. The result is a new function table passed internally to any following <link linkend="vpvoc"><citetitle>vpvoc</citetitle></link> which occurs before a subsequent <emphasis>tableseg</emphasis> (much like <link linkend="lpread"><citetitle>lpread</citetitle></link>/<link linkend="lpreson"><citetitle>lpreson</citetitle></link> pairs work). The uses of these are described below under <emphasis>vpvoc</emphasis>. |
| 22 |
</para> |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
</refsect1> |
| 28 |
|
| 29 |
<refsect1> |
| 30 |
<title>Syntax</title> |
| 31 |
<synopsis><command>tableseg</command> ifn1, idur1, ifn2 [, idur2] [, ifn3] [...]</synopsis> |
| 32 |
</refsect1> |
| 33 |
|
| 34 |
<refsect1> |
| 35 |
<title>Initialization</title> |
| 36 |
<para> |
| 37 |
<emphasis>ifn1</emphasis>, <emphasis>ifn2</emphasis>, <emphasis>ifn3</emphasis>, etc. -- function table numbers. <emphasis>ifn1</emphasis>, <emphasis>ifn2</emphasis>, and so on, must be the same size. |
| 38 |
</para> |
| 39 |
|
| 40 |
<para> |
| 41 |
<emphasis>idur1</emphasis>, <emphasis>idur2</emphasis>, etc. -- durations during which interpolation from one table to the next will take place. |
| 42 |
</para> |
| 43 |
</refsect1> |
| 44 |
|
| 45 |
<refsect1> |
| 46 |
<title>Examples</title> |
| 47 |
<para> |
| 48 |
Here is an example of the tableseg opcode. It uses the file <ulink url="examples/tableseg_tablexseg.csd"><citetitle>tableseg_tablexseg.csd</citetitle></ulink>. |
| 49 |
<example> |
| 50 |
<title>Example of the tableseg opcode.</title> |
| 51 |
<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> |
| 52 |
<xi:include href="examples-xml/tableseg_tablexseg.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 53 |
</example> |
| 54 |
</para> |
| 55 |
</refsect1> |
| 56 |
|
| 57 |
<refsect1> |
| 58 |
<title>See Also</title> |
| 59 |
<para> |
| 60 |
<link linkend="SiggenStft"><citetitle>Short-time Fourier Transform (STFT) Resynthesis</citetitle></link> |
| 61 |
</para> |
| 62 |
</refsect1> |
| 63 |
|
| 64 |
<refsect1> |
| 65 |
<title>Credits</title> |
| 66 |
<para> |
| 67 |
<simplelist> |
| 68 |
<member>Author: Richard Karpen</member> |
| 69 |
<member>Seattle, Wash</member> |
| 70 |
<member>1997</member> |
| 71 |
</simplelist> |
| 72 |
</para> |
| 73 |
<para>New in version 3.44</para> |
| 74 |
</refsect1> |
| 75 |
</refentry> |