Debian Codegraph @

opcodes/pchtom.xml

raw symbols SCIP
1 <!--Change refentry id and indexterm id-->
2 <refentry id="pchtom">
3 <indexterm id="IndexPchtom"><primary>pchtom</primary></indexterm>
4 <!--Make sure the category below is a valid one! See categories.py-->
5 <refentryinfo><title>Pitch Converters:Functions</title></refentryinfo>
6 <refmeta>
7 <refentrytitle>pchtom</refentrytitle>
8 </refmeta>
9
10 <refnamediv>
11 <refname>pchtom</refname>
12 <refpurpose>
13 Convert pch to midi note number
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>Plugin opcode in emugens.</para>
20 <para>
21 Convert pch to midi note number. <emphasis
22 role="strong">pch</emphasis> representation has the form
23 Octave.pitchclass,
24 pitchclass being a number between 00 and 12.
25
26 <programlisting>
27 pch midi note name
28 ----------------------------
29 8.09 69 4A
30 8.00 60 4C
31 </programlisting>
32 </para>
33 </refsect1>
34
35 <refsect1>
36 <title>Syntax</title>
37 <!-- Please keep this below ~70 characters by using backslashes
38 to avoid overflow in the pdf version-->
39
40 <synopsis>imidi <command>pchtom</command> ipch</synopsis>
41
42 <synopsis>kmidi <command>pchtom</command> kpch</synopsis>
43
44 </refsect1>
45
46 <refsect1>
47
48 <title>Performance</title>
49 <!-- First list all input and output performance parameters-->
50 <para>
51 <emphasis>kpch</emphasis> / <emphasis>ipch</emphasis> -- pitch
52 represented as Octave.pitchclass
53 </para>
54 <para>
55 <emphasis>kmidi</emphasis> / <emphasis>imidi</emphasis> --
56 midi note number
57 </para>
58 <note>
59 <para>
60 Use <link
61 linkend="pchmidinn"><citetitle>pchmidinn</citetitle></link> to perform the opposite
62 operation of this opcode.
63 </para>
64 </note>
65
66 </refsect1>
67 <refsect1>
68 <!--To add examples, create the csd file in the examples directory, then run:-->
69 <!--python csd2docbook.py -f newopcodename.csd-->
70 <!--to generate the xml highlighted version used below-->
71 <title>Examples</title>
72 <para>
73 Here is an example of the pchtom opcode. It uses the file <ulink url="examples/pchtom.csd"><citetitle>pchtom.csd</citetitle></ulink>.
74 <example>
75 <title>Example of the pchtom opcode.</title>
76 <xi:include href="examples-xml/pchtom.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
77 </example>
78 </para>
79 </refsect1>
80
81 <refsect1>
82 <title>See also</title>
83 <para><link linkend="PitchFuncs"><citetitle>Pitch Converters: Functions</citetitle></link></para>
84 <para><link linkend="MidiConvert"><citetitle>Midi Converters</citetitle></link></para>
85 </refsect1>
86
87 <refsect1>
88 <!-- And put your name and other relevant information here-->
89 <title>Credits</title>
90 <para>By: &nameeduardo; 2017</para>
91 </refsect1>
92
93 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
94 <!--Add the entity to manual.xml-->
95 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
96 <!--And you're set! Maybe delete the comments as well...-->
97
98 </refentry>