| 1 | |
| 2 | <refentry id="ziw"> |
| 3 | <indexterm id="IndexZiw"><primary>ziw</primary></indexterm> |
| 4 | <refentryinfo><title>Zak Patch System</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>ziw</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>ziw</refname> |
| 13 | <refpurpose> |
| 14 | Writes to a zk variable at i-rate without mixing. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | Writes to a zk variable at i-rate without mixing. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis><command>ziw</command> isig, indx</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Initialization</title> |
| 32 | <para> |
| 33 | <emphasis>isig</emphasis> -- initializes the value of the zk location. |
| 34 | </para> |
| 35 | |
| 36 | <para> |
| 37 | <emphasis>indx</emphasis> -- points to the zk location to which to write. |
| 38 | </para> |
| 39 | </refsect1> |
| 40 | |
| 41 | <refsect1> |
| 42 | <title>Performance</title> |
| 43 | <para> |
| 44 | <emphasis>ziw</emphasis> writes <emphasis>isig</emphasis> into the zk variable specified by <emphasis>indx</emphasis>. |
| 45 | </para> |
| 46 | |
| 47 | <para> |
| 48 | These opcodes are fast, and always check that the index is within the range of zk or za space. If not, an error is reported, 0 is returned, and no writing takes place. |
| 49 | </para> |
| 50 | </refsect1> |
| 51 | |
| 52 | <refsect1> |
| 53 | <title>Examples</title> |
| 54 | <para> |
| 55 | Here is an example of the ziw opcode. It uses the file <ulink url="examples/ziw.csd"><citetitle>ziw.csd</citetitle></ulink>. |
| 56 | |
| 57 | <example> |
| 58 | <title>Example of the ziw opcode.</title> |
| 59 | |
| 60 | |
| 61 | |
| 62 | <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> |
| 63 | <xi:include href="examples-xml/ziw.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 64 | </example> |
| 65 | </para> |
| 66 | </refsect1> |
| 67 | |
| 68 | <refsect1> |
| 69 | <title>See also</title> |
| 70 | <para><link linkend="ZakTop"><citetitle>Zak Patch System</citetitle></link></para> |
| 71 | </refsect1> |
| 72 | |
| 73 | <refsect1> |
| 74 | <title>Credits</title> |
| 75 | <para> |
| 76 | <simplelist> |
| 77 | <member>Author: Robin Whittle</member> |
| 78 | <member>Australia</member> |
| 79 | <member>May 1997</member> |
| 80 | </simplelist> |
| 81 | </para> |
| 82 | <para>New in version 3.45</para> |
| 83 | <para>Example written by &namekevin;.</para> |
| 84 | </refsect1> |
| 85 | </refentry> |