| 1 | |
| 2 | <refentry id="xscansmap"> |
| 3 | <indexterm id="IndexXscansmap"><primary>xscansmap</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Generators:Scanned Synthesis</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>xscansmap</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>xscansmap</refname> |
| 11 | <refpurpose> |
| 12 | Allows the position and velocity of a node in a scanned process to be read. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para>Plugin opcode in scansyn.</para> |
| 19 | <para> |
| 20 | Allows the position and velocity of a node in a scanned process to be read. |
| 21 | </para> |
| 22 | </refsect1> |
| 23 | |
| 24 | <refsect1> |
| 25 | <title>Syntax</title> |
| 26 | <synopsis><command>xscansmap</command> kpos, kvel, iscan, kamp, kvamp [, iwhich]</synopsis> |
| 27 | </refsect1> |
| 28 | |
| 29 | <refsect1> |
| 30 | <title>Initialization</title> |
| 31 | <para> |
| 32 | <emphasis>iscan</emphasis> -- which scan process to read |
| 33 | </para> |
| 34 | |
| 35 | <para> |
| 36 | <emphasis>iwhich</emphasis> (optional) -- which node to sense. The default is 0. |
| 37 | </para> |
| 38 | </refsect1> |
| 39 | |
| 40 | <refsect1> |
| 41 | <title>Performance</title> |
| 42 | <para> |
| 43 | <emphasis>kpos</emphasis> -- the node's position. |
| 44 | </para> |
| 45 | |
| 46 | <para> |
| 47 | <emphasis>kvel</emphasis> -- the node's velocity. |
| 48 | </para> |
| 49 | |
| 50 | <para> |
| 51 | <emphasis>kamp</emphasis> -- amount to amplify the <emphasis>kpos</emphasis> value. |
| 52 | </para> |
| 53 | |
| 54 | <para> |
| 55 | <emphasis>kvamp</emphasis> -- amount to amplify the <emphasis>kvel</emphasis> value. |
| 56 | </para> |
| 57 | |
| 58 | <para> |
| 59 | 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. |
| 60 | </para> |
| 61 | </refsect1> |
| 62 | |
| 63 | <refsect1> |
| 64 | <title>See Also</title> |
| 65 | <para> |
| 66 | 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. |
| 67 | </para> |
| 68 | <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> |
| 69 | </refsect1> |
| 70 | |
| 71 | <refsect1> |
| 72 | <title>Credits</title> |
| 73 | <para>New in version 4.21</para> |
| 74 | <para>November 2002. Thanks to &namerasmus; for pointing this opcode out.</para> |
| 75 | </refsect1> |
| 76 | </refentry> |