| 1 |
|
| 2 |
<refentry id="mton"> |
| 3 |
<indexterm id="IndexMton"><primary>mton</primary></indexterm> |
| 4 |
|
| 5 |
<refentryinfo><title>Pitch Converters:Functions</title></refentryinfo> |
| 6 |
<refmeta> |
| 7 |
<refentrytitle>mton</refentrytitle> |
| 8 |
</refmeta> |
| 9 |
|
| 10 |
<refnamediv> |
| 11 |
<refname>mton</refname> |
| 12 |
<refpurpose> |
| 13 |
Convert midi note number to string note name |
| 14 |
</refpurpose> |
| 15 |
</refnamediv> |
| 16 |
|
| 17 |
<refsect1> |
| 18 |
<title>Description</title> |
| 19 |
<para> |
| 20 |
Convert midi note number to string note name, with an accuracy |
| 21 |
of 1 cent. |
| 22 |
</para> |
| 23 |
</refsect1> |
| 24 |
|
| 25 |
<refsect1> |
| 26 |
<title>Syntax</title> |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
<synopsis>Snote <command>mton</command> kmidi</synopsis> |
| 31 |
|
| 32 |
<synopsis>Snote <command>mton</command> imidi</synopsis> |
| 33 |
|
| 34 |
</refsect1> |
| 35 |
|
| 36 |
<refsect1> |
| 37 |
|
| 38 |
<title>Performance</title> |
| 39 |
|
| 40 |
<para> |
| 41 |
<emphasis>kmidi</emphasis> / <emphasis>imidi</emphasis> -- Midi |
| 42 |
note number |
| 43 |
</para> |
| 44 |
<para> |
| 45 |
<emphasis>Snote</emphasis> -- Note name |
| 46 |
</para> |
| 47 |
<para> |
| 48 |
Example of note names: |
| 49 |
|
| 50 |
<programlisting> |
| 51 |
midi note number |
| 52 |
------------------- |
| 53 |
60 4C |
| 54 |
60.4 4C+40 |
| 55 |
60.5 4C+ |
| 56 |
60.9 4Db-10 |
| 57 |
61 4C# |
| 58 |
61.5 4D- |
| 59 |
</programlisting> |
| 60 |
|
| 61 |
</para> |
| 62 |
|
| 63 |
</refsect1> |
| 64 |
<refsect1> |
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
<title>Examples</title> |
| 69 |
<para> |
| 70 |
Here is an example of the mton opcode. It uses the file <ulink url="examples/mton-ntom.csd"><citetitle>mton-ntom.csd</citetitle></ulink>. |
| 71 |
<example> |
| 72 |
<title>Example of the ftom opcode.</title> |
| 73 |
<xi:include href="examples-xml/mton-ntom.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 74 |
</example> |
| 75 |
</para> |
| 76 |
</refsect1> |
| 77 |
|
| 78 |
<refsect1> |
| 79 |
<title>See also</title> |
| 80 |
<para><link linkend="PitchFuncs"><citetitle>Pitch Converters: Functions</citetitle></link></para> |
| 81 |
<para><link linkend="MidiConvert"><citetitle>Midi Converters</citetitle></link></para> |
| 82 |
</refsect1> |
| 83 |
|
| 84 |
<refsect1> |
| 85 |
|
| 86 |
<title>Credits</title> |
| 87 |
<para>By: &nameeduardo; 2017</para> |
| 88 |
</refsect1> |
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
</refentry> |