forked from csound/manual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
A4.xml
87 lines (73 loc) · 2.96 KB
/
A4.xml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<refentry id="A4">
<indexterm id="IndexA4"><primary>A4</primary></indexterm>
<refentryinfo><title>Orchestra Syntax:Header</title></refentryinfo>
<refmeta>
<refentrytitle>A4</refentrytitle>
</refmeta>
<refnamediv>
<refname>A4</refname>
<refpurpose>
Sets the base frequency for pitch A4.
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<para>
These statements are global value <link
linkend="assign"><citetitle>assignments</citetitle></link>, made
at the beginning of an orchestra, before any instrument block is
defined. Their function is to set certain <link
linkend="VariableTypes"><citetitle>reserved symbol
variables</citetitle></link> that are required for
performance. Once set, these reserved symbols can be used in
expressions anywhere in the orchestra.
</para>
</refsect1>
<refsect1>
<title>Syntax</title>
<synopsis><command>A4</command> = iarg</synopsis>
</refsect1>
<refsect1>
<title>Initialization</title>
<para>
<emphasis>A4</emphasis> = (optional) -- set reference frequency
for pitch A4 to <emphasis>iarg</emphasis> Hertz. The default value is 440.
</para>
<para>
In addition, any <link linkend="GlobalVariables"><citetitle>global variable</citetitle></link> can be initialized by an <emphasis>init-time assignment</emphasis> anywhere before the first <link linkend="instr"><citetitle>instr statement</citetitle></link>. All of the above assignments are run as instrument 0 (i-pass only) at the start of real performance.
</para>
<para>
Beginning with Csound version 6.08, <emphasis>A4</emphasis> may
be used. It affects the behaviour of the opcodes
<emphasis>cpspch</emphasis>, <emphasis>cpsoct</emphasis>,
<emphasis>cps2pch</emphasis>, <emphasis>cpsxpch</emphasis> and
<emphasis>cpsmidinn</emphasis>.
</para>
</refsect1>
<refsect1>
<title>See Also</title>
<para>
<link linkend="sr"><citetitle>sr</citetitle></link>,
<link linkend="kr"><citetitle>kr</citetitle></link>,
<link linkend="ksmps"><citetitle>ksmps</citetitle></link>,
<link linkend="nchnls"><citetitle>nchnls</citetitle></link>,
<link linkend="nchnls_i"><citetitle>nchnls_i</citetitle></link>,
<link linkend="Zerodbfs"><citetitle>0dbfs</citetitle></link>,
<link linkend="cpspch"><citetitle>cpspch</citetitle></link>,
<link linkend="cpsoct"><citetitle>cpsoct</citetitle></link>,
<link linkend="cpsmidinn"><citetitle>cpsmidinn</citetitle></link>,
<link linkend="cps2pch"><citetitle>cps2pch</citetitle></link>,
<link linkend="cpsxpch"><citetitle>cpsxpch</citetitle></link>.
</para>
</refsect1>
<refsect1>
<title>Credits</title>
<para>
<simplelist>
<member>Authors: &namejohn;</member>
<member>September 2016</member>
</simplelist>
</para>
<para>New in Csound Version 6.08</para>
</refsect1>
</refentry>