Debian Codegraph @

opcodes/scanhammer.xml

raw symbols SCIP
1
2 <refentry id="scanhammer">
3 <indexterm id="IndexScanhammer"><primary>scanhammer</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Scanned Synthesis</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>scanhammer</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>scanhammer</refname>
13 <refpurpose>
14 Copies from one table to another with a gain control.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 This is is a variant of <link linkend="tablecopy"><citetitle>tablecopy</citetitle></link>, copying from one table to another, starting at <emphasis>ipos</emphasis>, and with a gain control. The number of points copied is determined by the length of the source. Other points are not changed. This opcode can be used to <quote>hit</quote> a string in the scanned synthesis code.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis><command>scanhammer</command> isrc, idst, ipos, imult</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>isrc</emphasis> -- source function table.
34 </para>
35
36 <para>
37 <emphasis>idst</emphasis> -- destination function table.
38 </para>
39
40 <para>
41 <emphasis>ipos</emphasis> -- starting position (in points).
42 </para>
43
44 <para>
45 <emphasis>imult</emphasis> -- gain multiplier. A value of 0 will leave values unchanged.
46 </para>
47 </refsect1>
48
49 <refsect1>
50 <title>Examples</title>
51 <para>
52 Here is an example of the scanhammer opcode. It uses the file <ulink url="examples/scanhammer.csd"><citetitle>scanhammer.csd</citetitle></ulink>.
53 <example>
54 <title>Example of the scanhammer opcode.</title>
55 <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>
56 <xi:include href="examples-xml/scanhammer.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
57 </example>
58 </para>
59 </refsect1>
60
61 <refsect1>
62 <title>See also</title>
63 <para><link linkend="SiggenScanTop"><citetitle>Scanned Synthesis</citetitle></link></para>
64 <para> More information on the Scanned Synthesis opcodes: <ulink url="http://www.csounds.com/stevenyi/scanned/yi_scannedSynthesis.html"><citetitle>Working with Scanned Synthesis</citetitle></ulink>, written by Steven Yi, and some <ulink url="http://www.csounds.com/scanned/"><citetitle>tutorials</citetitle></ulink> by Richard Boulanger.</para>
65 </refsect1>
66
67 <refsect1>
68 <title>Credits</title>
69 <para>
70 <simplelist>
71 <member>Author: Matt Gilliard</member>
72 <member>April 2002</member>
73 </simplelist>
74 </para>
75
76 <para>New in version 4.20</para>
77 </refsect1>
78 </refentry>