Debian Codegraph @

opcodes/ntom.xml

raw symbols SCIP
1 <!--Change refentry id and indexterm id-->
2 <refentry id="ntom">
3 <indexterm id="IndexNtom"><primary>ntom</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>ntom</refentrytitle>
8 </refmeta>
9
10 <refnamediv>
11 <refname>ntom</refname>
12 <refpurpose>
13 Convert note name 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 note name to midi note number. It allows note name to
22 include microtones or a deviation in cents.
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <!-- Please keep this below ~70 characters by using backslashes
29 to avoid overflow in the pdf version-->
30
31 <synopsis>kmidi <command>ntom</command> Snote</synopsis>
32
33 <synopsis>imidi <command>ntom</command> Snote</synopsis>
34
35 </refsect1>
36
37 <refsect1>
38
39 <title>Performance</title>
40 <!-- First list all input and output performance parameters-->
41 <para>
42 <emphasis>Snote</emphasis> -- Note name
43 </para>
44 <para>
45 <emphasis>kmidi</emphasis> -- Midi note number
46 </para>
47 <para>
48 Example of note names:
49
50
51 <programlisting>
52 midi note name
53 -------------------
54 60 4C
55 60.4 4C+40
56 60.5 4C+
57 60.9 4Db-10
58 61 4C#
59 61.5 4D-
60 </programlisting>
61
62 </para>
63 <note>
64 <para>
65 4C is the central C in the piano
66 </para>
67 </note>
68
69 </refsect1>
70 <refsect1>
71 <!--To add examples, create the csd file in the examples directory, then run:-->
72 <!--python csd2docbook.py -f newopcodename.csd-->
73 <!--to generate the xml highlighted version used below-->
74 <title>Examples</title>
75 <para>
76 Here is an example of the ntom opcode. It uses the file <ulink url="examples/mton-ntom.csd"><citetitle>mton-ntom.csd</citetitle></ulink>.
77 <example>
78 <title>Example of the ftom opcode.</title>
79 <xi:include href="examples-xml/mton-ntom.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
80 </example>
81 </para>
82 </refsect1>
83
84 <refsect1>
85 <title>See also</title>
86 <para><link linkend="PitchFuncs"><citetitle>Pitch Converters: Functions</citetitle></link></para>
87 <para><link linkend="MidiConvert"><citetitle>Midi Converters</citetitle></link></para>
88 </refsect1>
89
90 <refsect1>
91 <!-- And put your name and other relevant information here-->
92 <title>Credits</title>
93 <para>By: &nameeduardo; 2017</para>
94 </refsect1>
95
96 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
97 <!--Add the entity to manual.xml-->
98 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
99 <!--And you're set! Maybe delete the comments as well...-->
100
101 </refentry>