Debian Codegraph @

opcodes/ntof.xml

raw symbols SCIP
1 <!--Change refentry id and indexterm id-->
2 <refentry id="ntof">
3 <indexterm id="IndexNtof"><primary>ntof</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>ntof</refentrytitle>
8 </refmeta>
9
10 <refnamediv>
11 <refname>ntof</refname>
12 <refpurpose>
13 Convert note name to frequency
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 frequency (Hz). 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>kfreq <command>ntof</command> Snote</synopsis>
32
33 <synopsis>ifreq <command>ntof</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>kfreq</emphasis> -- Frequency
46 </para>
47 <note>
48 <para>
49 The frequency returned depends on the value of the global variable A4
50 </para>
51 </note>
52
53 <note>
54 <para>
55 4C is the central C in the piano.
56 </para>
57 </note>
58
59 </refsect1>
60 <refsect1>
61 <!--To add examples, create the csd file in the examples directory, then run:-->
62 <!--python csd2docbook.py -f newopcodename.csd-->
63 <!--to generate the xml highlighted version used below-->
64 <title>Examples</title>
65 <para>
66 Here is an example of the ntof opcode. It uses the file <ulink url="examples/ntof.csd"><citetitle>ntof.csd</citetitle></ulink>.
67 <example>
68 <title>Example of the ntof opcode.</title>
69 <xi:include href="examples-xml/ntof.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
70 </example>
71 </para>
72 </refsect1>
73
74 <refsect1>
75 <title>See also</title>
76 <para><link linkend="PitchFuncs"><citetitle>Pitch Converters: Functions</citetitle></link></para>
77 <para><link linkend="MidiConvert"><citetitle>Midi Converters</citetitle></link></para>
78 </refsect1>
79
80 <refsect1>
81 <!-- And put your name and other relevant information here-->
82 <title>Credits</title>
83 <para>By: &nameeduardo; 2019</para>
84 <para>New in 6.13</para>
85 </refsect1>
86
87 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
88 <!--Add the entity to manual.xml-->
89 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
90 <!--And you're set! Maybe delete the comments as well...-->
91
92 </refentry>