Debian Codegraph @

opcodes/mtof.xml

raw symbols SCIP
1 <!--Change refentry id and indexterm id-->
2 <refentry id="mtof">
3 <indexterm id="IndexMtof"><primary>mtof</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>mtof</refentrytitle>
8 </refmeta>
9
10 <refnamediv>
11 <refname>mtof</refname>
12 <refpurpose>
13 Convert a midi to frequency
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>Plugin opcode in emugens.</para>
20 <para>
21 Convert a midi note number value to cycles per second, taking
22 global value of A4 into account.
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>ifreq <command>mtof</command> imidi</synopsis>
32 <synopsis>kfreq <command>mtof</command> kmidi</synopsis>
33 <synopsis>ifreqs[] <command>mtof</command> imidis[]</synopsis>
34 <synopsis>kfreqs[] <command>mtof</command> kmidis[]</synopsis>
35
36 </refsect1>
37
38 <refsect1>
39
40 <title>Performance</title>
41 <!-- First list all input and output performance parameters-->
42 <para>
43 <emphasis>kmidi</emphasis> / <emphasis>imidi</emphasis> -- Midi
44 note number (also as array)
45 </para>
46 <para>
47 <emphasis>kfreq</emphasis> / <emphasis>ifreq</emphasis> --
48 Frequency corresponding to midi note value. An array is returned if the input is an array
49 </para>
50
51 </refsect1>
52 <refsect1>
53 <!--To add examples, create the csd file in the examples directory, then run:-->
54 <!--python csd2docbook.py -f newopcodename.csd-->
55 <!--to generate the xml highlighted version used below-->
56 <title>Examples</title>
57 <para>
58 Here is an example of the mtof opcode. It uses the file <ulink url="examples/mtof-ftom.csd"><citetitle>mtof-ftom.csd</citetitle></ulink>.
59 <example>
60 <title>Example of the mtof opcode.</title>
61 <xi:include href="examples-xml/mtof-ftom.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
62 </example>
63 </para>
64 </refsect1>
65
66 <refsect1>
67 <title>See also</title>
68 <para><link linkend="PitchFuncs"><citetitle>Pitch Converters: Functions</citetitle></link></para>
69 <para><link linkend="MidiConvert"><citetitle>Midi Converters</citetitle></link></para>
70 </refsect1>
71
72 <refsect1>
73 <!-- And put your name and other relevant information here-->
74 <title>Credits</title>
75 <para>By: &nameeduardo; 2017</para>
76 <para>New plugin in version 6.11</para>
77 <para>Array version new in 6.13</para>
78 </refsect1>
79
80 <!--Now remember to add a link from the appropriate category in the Opcode Overview.-->
81 <!--Add the entity to manual.xml-->
82 <!--Add the entity reference in the appropriate place in opcodes/top.xml-->
83 <!--And you're set! Maybe delete the comments as well...-->
84
85 </refentry>