Debian Codegraph @

opcodes/scoreline.xml

raw symbols SCIP
1
2 <refentry id="scoreline">
3 <indexterm id="Indexscoreline"><primary>scoreline</primary></indexterm>
4 <refentryinfo><title>Instrument Control:Invocation</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>scoreline</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>scoreline</refname>
11 <refpurpose>
12 Issues one or more score line events from an instrument.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Scoreline will issue one or more score events, if ktrig is 1 every k-period.
20 It can handle strings in the same conditions as
21 the standard score. Multi-line strings are accepted, using {{ }} to enclose the string.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis><command>scoreline</command> Sin, ktrig</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis><quote>Sin</quote></emphasis> -- a string (in double-quotes or enclosed by {{ }}) containing one or more score events.
34 </para>
35 </refsect1>
36
37 <refsect1>
38 <title>Performance</title>
39 <para>
40 <emphasis><quote>ktrig</quote></emphasis> -- event trigger, 1 issues the score event, 0 bypasses it.
41 </para>
42 </refsect1>
43
44 <refsect1>
45 <title>Examples</title>
46 <para>
47 Here is an example of the scoreline opcode. It uses the file <ulink url="examples/scoreline.csd"><citetitle>scoreline.csd</citetitle></ulink>.
48 <example>
49 <title>Example of the scoreline opcode.</title>
50 <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>
51 <xi:include href="examples-xml/scoreline.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
52 <para>
53 You can use string opcodes like <link linkend="sprintfk"><citetitle>sprintfk</citetitle></link> to produce strings to be passed to <emphasis>scoreline</emphasis> like this:
54 <programlisting>
55 Sfil <emphasis role="op">=</emphasis> "/Volumes/Bla/file.aif"
56 String <emphasis role="opc">sprintfk</emphasis> {{i 2 0 %f "%s" %f %f %f %f}}, idur, Sfil, p5, p6, knorm, iskip
57 <emphasis role="opc">scoreline</emphasis> String, ktrig
58 </programlisting>
59 </para>
60 </example>
61 </para>
62 </refsect1>
63
64 <refsect1>
65 <title>See also</title>
66 <para><link linkend="ControlInvocat"><citetitle>Instrument Invocation</citetitle></link></para>
67 <para> More information on this opcode: <ulink
68 url="http://www.csoundjournal.com/issue15/phrase_loops.html"><citetitle>http://www.csoundjournal.com/issue15/phrase_loops.html</citetitle></ulink>
69 written by Jim Aikin, and in the Floss Manuals: <ulink url="https://flossmanual.csound.com/csound-language/live-events"><citetitle>https://flossmanual.csound.com/csound-language/live-events</citetitle></ulink>.</para>
70 </refsect1>
71
72 <refsect1>
73 <title>Credits</title>
74 <para>Author: &namevictor;, 2007 </para>
75 </refsect1>
76 </refentry>