|
| 1 | + |
| 2 | +<refentry id="scanmap"> |
| 3 | +<indexterm id="IndexScanmap"><primary>scanmap</primary></indexterm> |
| 4 | + <refentryinfo><title>Signal Generators:Scanned Synthesis</title></refentryinfo> |
| 5 | + <refmeta> |
| 6 | + <refentrytitle>scanmap</refentrytitle> |
| 7 | + </refmeta> |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + <refnamediv> |
| 12 | + <refname>scanmap</refname> |
| 13 | + <refpurpose> |
| 14 | + Allows the position and velocity of a node in a scanned process to be read. |
| 15 | + </refpurpose> |
| 16 | + </refnamediv> |
| 17 | + |
| 18 | + <refsect1> |
| 19 | + <title>Description</title> |
| 20 | + <para>Plugin opcode in scansyn.</para> |
| 21 | + <para> |
| 22 | + Allows the position and velocity of a node in a scanned process to be read. |
| 23 | + </para> |
| 24 | + </refsect1> |
| 25 | + |
| 26 | + <refsect1> |
| 27 | + <title>Syntax</title> |
| 28 | + <synopsis>kpos, kvel <command>scanmap</command> iscan, kamp, kvamp [, iwhich]</synopsis> |
| 29 | + </refsect1> |
| 30 | + |
| 31 | + <refsect1> |
| 32 | + <title>Initialization</title> |
| 33 | + <para> |
| 34 | + <emphasis>iscan</emphasis> -- which scan process to read |
| 35 | + </para> |
| 36 | + |
| 37 | + <para> |
| 38 | + <emphasis>iwhich</emphasis> (optional) -- which node to sense. The default is 0. |
| 39 | + </para> |
| 40 | + </refsect1> |
| 41 | + |
| 42 | + <refsect1> |
| 43 | + <title>Performance</title> |
| 44 | + <para> |
| 45 | + <emphasis>kamp</emphasis> -- amount to amplify the <emphasis>kpos</emphasis> value. |
| 46 | + </para> |
| 47 | + |
| 48 | + <para> |
| 49 | + <emphasis>kvamp</emphasis> -- amount to amplify the <emphasis>kvel</emphasis> value. |
| 50 | + </para> |
| 51 | + |
| 52 | + <para> |
| 53 | + The internal state of a node is read. This includes its position and velocity. They are amplified by the <emphasis>kamp</emphasis> and <emphasis>kvamp</emphasis> values. |
| 54 | + </para> |
| 55 | + </refsect1> |
| 56 | + |
| 57 | + <refsect1> |
| 58 | + <title>Examples</title> |
| 59 | + <para> |
| 60 | + Here is an example of the scanmap opcode. It uses the file <ulink url="examples/scanmap.csd"><citetitle>scanmap.csd</citetitle></ulink>. |
| 61 | + <example> |
| 62 | + <title>Example of the scanmap opcode.</title> |
| 63 | + <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> |
| 64 | + <xi:include href="examples-xml/scanmap.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 65 | + </example> |
| 66 | + </para> |
| 67 | + </refsect1> |
| 68 | + |
| 69 | + <refsect1> |
| 70 | + <title>See Also</title> |
| 71 | + <para> |
| 72 | +More information on Scanned Synthesis (as well as several other matrices) is available on the <ulink url="http://www.csounds.com/scanned/"><citetitle>Scanned Synthesis page</citetitle></ulink> at cSounds.com. |
| 73 | + </para> |
| 74 | + <para> Also an article on these opcodes: <ulink url="http://www.csounds.com/stevenyi/scanned/yi_scannedSynthesis.html"><citetitle>http://www.csounds.com/stevenyi/scanned/yi_scannedSynthesis.html</citetitle></ulink> , written by Steven Yi </para> |
| 75 | + </refsect1> |
| 76 | + |
| 77 | + <refsect1> |
| 78 | + <title>Credits</title> |
| 79 | + <para>Author: &namejohn;</para> |
| 80 | + <para>New in version 4.20</para> |
| 81 | + </refsect1> |
| 82 | +</refentry> |
0 commit comments