summaryrefslogtreecommitdiff
path: root/opcodes/setscorepos.xml
blob: a521528cfea6db8214e339640f3487a0c6dbbb15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<refentry id="setscorepos">
<indexterm id="Indexsetscorepos"><primary>setscorepos</primary></indexterm>
<refentryinfo><title>Instrument Control:Sensing and Control</title></refentryinfo>
  <refmeta>
    <refentrytitle>setscorepos</refentrytitle>
  </refmeta>

  <refnamediv>
    <refname>setscorepos</refname>
    <refpurpose>
      Sets the playback position of the current score performance to a given position.
    </refpurpose>
  </refnamediv>

  <refsect1>
    <title>Description</title>
    <para>
     Sets the playback position of the current score performance to a given position.
    </para>
  </refsect1>

  <refsect1>
    <title>Syntax</title>
    <synopsis> <command>setscorepos  ipos</command></synopsis>
  </refsect1>

 <refsect1>
    <title>Initialization</title>
    <para>
      <emphasis>ipos</emphasis> -- playback position in seconds. 
    </para>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the setscorepos opcode.</para>
      <example>
        <title>Example of the setscorepos opcode.</title>
<programlisting>
<emphasis role="oblock">instr</emphasis> 1
<emphasis role="opc">setscorepos</emphasis> 10
<emphasis role="oblock">endin</emphasis></programlisting>
      </example>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="rewindscore"><citetitle>rewindscore</citetitle></link>,
    </para>
  </refsect1>

  <refsect1>
    <title>Credits</title>
    <para>
      <simplelist>
        <member>Author: &namevictor;</member>
        <member>2008</member>
      </simplelist>
    </para>
    <para>New in Csound version 5.09</para>
  </refsect1>
</refentry>