| 1 | |
| 2 | <refentry id="voice"> |
| 3 | <indexterm id="IndexVoice"><primary>voice</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Generators:Models and Emulations</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>voice</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>voice</refname> |
| 11 | <refpurpose> |
| 12 | An emulation of a human voice. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | An emulation of a human voice. |
| 20 | </para> |
| 21 | </refsect1> |
| 22 | |
| 23 | <refsect1> |
| 24 | <title>Syntax</title> |
| 25 | <synopsis>ares <command>voice</command> kamp, kfreq, kphoneme, kform, kvibf, kvamp, ifn, ivfn</synopsis> |
| 26 | </refsect1> |
| 27 | |
| 28 | <refsect1> |
| 29 | <title>Initialization</title> |
| 30 | <para> |
| 31 | <emphasis>ifn</emphasis>, <emphasis>ivfn</emphasis> -- two table numbers containing the carrier waveform and the vibrato waveform. The files <ulink url="examples/impuls20.aiff"><citetitle>impuls20.aiff</citetitle></ulink>, <ulink url="examples/ahh.aiff"><citetitle>ahh.aiff</citetitle></ulink>, <ulink url="examples/eee.aiff"><citetitle>eee.aiff</citetitle></ulink>, or <ulink url="examples/ooo.aiff"><citetitle>ooo.aiff</citetitle></ulink> are suitable for the first of these, and a sine wave for the second. These files are available from <ulink 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>. |
| 32 | </para> |
| 33 | </refsect1> |
| 34 | |
| 35 | <refsect1> |
| 36 | <title>Performance</title> |
| 37 | <para> |
| 38 | <emphasis>kamp</emphasis> -- Amplitude of note. |
| 39 | </para> |
| 40 | |
| 41 | <para> |
| 42 | <emphasis>kfreq</emphasis> -- Frequency of note played. It can be varied in performance. |
| 43 | </para> |
| 44 | |
| 45 | <para> |
| 46 | <emphasis>kphoneme</emphasis> -- an integer in the range 0 to 16, which select the formants for the sounds: |
| 47 | |
| 48 | <itemizedlist> |
| 49 | <listitem> |
| 50 | <para> |
| 51 | <quote>eee</quote>, <quote>ihh</quote>, <quote>ehh</quote>, <quote>aaa</quote>, |
| 52 | </para> |
| 53 | </listitem> |
| 54 | |
| 55 | <listitem> |
| 56 | <para> |
| 57 | <quote>ahh</quote>, <quote>aww</quote>, <quote>ohh</quote>, <quote>uhh</quote>, |
| 58 | </para> |
| 59 | </listitem> |
| 60 | |
| 61 | <listitem> |
| 62 | <para> |
| 63 | <quote>uuu</quote>, <quote>ooo</quote>, <quote>rrr</quote>, <quote>lll</quote>, |
| 64 | </para> |
| 65 | </listitem> |
| 66 | |
| 67 | <listitem> |
| 68 | <para> |
| 69 | <quote>mmm</quote>, <quote>nnn</quote>, <quote>nng</quote>, <quote>ngg</quote>. |
| 70 | </para> |
| 71 | </listitem> |
| 72 | </itemizedlist> |
| 73 | </para> |
| 74 | |
| 75 | <para> |
| 76 | At present the phonemes |
| 77 | |
| 78 | <itemizedlist> |
| 79 | <listitem> |
| 80 | <para> |
| 81 | <quote>fff</quote>, <quote>sss</quote>, <quote>thh</quote>, <quote>shh</quote>, |
| 82 | </para> |
| 83 | </listitem> |
| 84 | |
| 85 | <listitem> |
| 86 | <para> |
| 87 | <quote>xxx</quote>, <quote>hee</quote>, <quote>hoo</quote>, <quote>hah</quote>, |
| 88 | </para> |
| 89 | </listitem> |
| 90 | |
| 91 | <listitem> |
| 92 | <para> |
| 93 | <quote>bbb</quote>, <quote>ddd</quote>, <quote>jjj</quote>, <quote>ggg</quote>, |
| 94 | </para> |
| 95 | </listitem> |
| 96 | |
| 97 | <listitem> |
| 98 | <para> |
| 99 | <quote>vvv</quote>, <quote>zzz</quote>, <quote>thz</quote>, <quote>zhh</quote> |
| 100 | </para> |
| 101 | </listitem> |
| 102 | </itemizedlist> |
| 103 | |
| 104 | are not available (!) |
| 105 | </para> |
| 106 | |
| 107 | <para> |
| 108 | <emphasis>kform</emphasis> -- Gain on the phoneme. values 0.0 to 1.2 recommended. |
| 109 | </para> |
| 110 | |
| 111 | <para> |
| 112 | <emphasis>kvibf</emphasis> -- frequency of vibrato in Hertz. Suggested range is 0 to 12 |
| 113 | </para> |
| 114 | |
| 115 | <para> |
| 116 | <emphasis>kvamp</emphasis> -- amplitude of the vibrato |
| 117 | </para> |
| 118 | </refsect1> |
| 119 | |
| 120 | <refsect1> |
| 121 | <title>Examples</title> |
| 122 | <para> |
| 123 | Here is an example of the voice opcode. It uses the file <ulink url="examples/voice.csd"><citetitle>voice.csd</citetitle></ulink>, and <ulink url="examples/impuls20.aiff"><citetitle>impuls20.aiff</citetitle></ulink>. |
| 124 | <example> |
| 125 | <title>Example of the voice opcode.</title> |
| 126 | <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> |
| 127 | <xi:include href="examples-xml/voice.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 128 | </example> |
| 129 | </para> |
| 130 | </refsect1> |
| 131 | |
| 132 | <refsect1> |
| 133 | <title>See Also</title> |
| 134 | <para> |
| 135 | <link linkend="SiggenModels"><citetitle>Models and Emulations</citetitle></link> |
| 136 | </para> |
| 137 | </refsect1> |
| 138 | |
| 139 | <refsect1> |
| 140 | <title>Credits</title> |
| 141 | <para> |
| 142 | <simplelist> |
| 143 | <member>Author: &namejohn; (after &nameperry;)</member> |
| 144 | <member>University of Bath, Codemist Ltd.</member> |
| 145 | <member>Bath, UK</member> |
| 146 | </simplelist> |
| 147 | </para> |
| 148 | <para>New in Csound version 3.47</para> |
| 149 | </refsect1> |
| 150 | </refentry> |