| 1 | |
| 2 | <refentry id="mandol"> |
| 3 | <indexterm id="IndexMandol"><primary>mandol</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Generators:Models and Emulations</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>mandol</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>mandol</refname> |
| 13 | <refpurpose> |
| 14 | An emulation of a mandolin. |
| 15 | </refpurpose> |
| 16 | </refnamediv> |
| 17 | |
| 18 | <refsect1> |
| 19 | <title>Description</title> |
| 20 | <para> |
| 21 | An emulation of a mandolin. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis>ares <command>mandol</command> kamp, kfreq, kpluck, kdetune, kgain, ksize \ |
| 28 | [, ifn] [, iminfreq]</synopsis> |
| 29 | </refsect1> |
| 30 | |
| 31 | <refsect1> |
| 32 | <title>Initialization</title> |
| 33 | <para> |
| 34 | <emphasis>ifn</emphasis> -- table number containing the pluck wave form. The file <ulink url="examples/mandpluk.aiff"><citetitle>mandpluk.aiff</citetitle></ulink> is suitable for this. It is also available at <ulink |
| 35 | url="ftp://ftp.cs.bath.ac.uk/pub/dream/documentation/sounds/modelling/"><citetitle>ftp://ftp.cs.bath.ac.uk/pub/dream/documentation/sounds/modelling/</citetitle></ulink>. |
| 36 | </para> |
| 37 | |
| 38 | <para> |
| 39 | <emphasis>iminfreq</emphasis> (optional, default=0) -- Lowest frequency to be played on the note. If it is omitted it is taken to be the same as the initial <emphasis>kfreq</emphasis>. |
| 40 | </para> |
| 41 | </refsect1> |
| 42 | |
| 43 | <refsect1> |
| 44 | <title>Performance</title> |
| 45 | <para> |
| 46 | <emphasis>kamp</emphasis> -- Amplitude of note. |
| 47 | </para> |
| 48 | |
| 49 | <para> |
| 50 | <emphasis>kfreq</emphasis> -- Frequency of note played. |
| 51 | </para> |
| 52 | |
| 53 | <para> |
| 54 | <emphasis>kpluck</emphasis> -- The pluck position, in range 0 to 1. Suggest 0.4. |
| 55 | </para> |
| 56 | |
| 57 | <para> |
| 58 | <emphasis>kdetune </emphasis> -- The proportional detuning between the two strings. Suggested range 0.9 to 1. |
| 59 | </para> |
| 60 | |
| 61 | <para> |
| 62 | <emphasis>kgain</emphasis> -- the loop gain of the model, in the range 0.97 to 1. |
| 63 | </para> |
| 64 | |
| 65 | <para> |
| 66 | <emphasis>ksize</emphasis> -- The size of the body of the mandolin. Range 0 to 2. |
| 67 | </para> |
| 68 | </refsect1> |
| 69 | |
| 70 | <refsect1> |
| 71 | <title>Examples</title> |
| 72 | <para> |
| 73 | Here is an example of the mandol opcode. It uses the file <ulink url="examples/mandol.csd"><citetitle>mandol.csd</citetitle></ulink>, and <ulink url="examples/mandpluk.aiff"><citetitle>mandpluk.aiff</citetitle></ulink>. |
| 74 | |
| 75 | <example> |
| 76 | <title>Example of the mandol opcode.</title> |
| 77 | |
| 78 | |
| 79 | |
| 80 | <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para> |
| 81 | <xi:include href="examples-xml/mandol.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 82 | </example> |
| 83 | </para> |
| 84 | </refsect1> |
| 85 | |
| 86 | <refsect1> |
| 87 | <title>See Also</title> |
| 88 | <para> |
| 89 | <link linkend="SiggenModels"><citetitle>Models and Emulations</citetitle></link> |
| 90 | </para> |
| 91 | </refsect1> |
| 92 | |
| 93 | <refsect1> |
| 94 | <title>Credits</title> |
| 95 | <para> |
| 96 | <simplelist> |
| 97 | <member>Author: &namejohn; (after &nameperry;)</member> |
| 98 | <member>University of Bath, Codemist Ltd.</member> |
| 99 | <member>Bath, UK</member> |
| 100 | </simplelist> |
| 101 | </para> |
| 102 | |
| 103 | <para>New in Csound version 3.47</para> |
| 104 | </refsect1> |
| 105 | </refentry> |