Debian Codegraph @

opcodes/fmbell.xml

raw symbols SCIP
1
2 <refentry id="fmbell">
3 <indexterm id="IndexFmbell"><primary>fmbell</primary></indexterm>
4 <refentryinfo><title>Signal Generators:FM Synthesis</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>fmbell</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>fmbell</refname>
13 <refpurpose>
14 Uses FM synthesis to create a tublar bell sound.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Uses FM synthesis to create a tublar bell sound. It comes from a family of FM sounds, all using 4 basic oscillators and various architectures, as used in the TX81Z synthesizer.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>ares <command>fmbell</command> kamp, kfreq, kc1, kc2, kvdepth, kvrate[, ifn1, ifn2, ifn3, \
28 ifn4, ivfn, isus]</synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 All these opcodes take 5 tables for initialization. The first 4
35 are the basic inputs and the last is the low frequency
36 oscillator (LFO) used for vibrato. These all default to a
37 siewave table.
38 </para>
39
40 <para>
41 The initial waves should be:
42 <itemizedlist>
43 <listitem><para><emphasis>ifn1</emphasis> -- sine wave</para></listitem>
44 <listitem><para><emphasis>ifn2</emphasis> -- sine wave</para></listitem>
45 <listitem><para><emphasis>ifn3</emphasis> -- sine wave</para></listitem>
46 <listitem><para><emphasis>ifn4</emphasis> -- sine wave</para></listitem>
47 </itemizedlist>
48 </para>
49
50 <para>
51 The optional argument <emphasis>isus</emphasis> controls how long the
52 sound lasts, or how quickly it decays. It defaults to 4.
53 </para>
54 </refsect1>
55
56 <refsect1>
57 <title>Performance</title>
58 <para>
59 <emphasis>kamp</emphasis> -- Amplitude of note.
60 </para>
61
62 <para>
63 <emphasis>kfreq</emphasis> -- Frequency of note played.
64 </para>
65
66 <para>
67 <emphasis>kc1, kc2</emphasis> -- Controls for the synthesizer:
68 <itemizedlist>
69 <listitem><para><emphasis>kc1</emphasis> -- Mod index 1</para></listitem>
70 <listitem><para><emphasis>kc2</emphasis> -- Crossfade of two outputs</para></listitem>
71 <listitem><para><emphasis>Algorithm</emphasis> -- 5</para></listitem>
72 </itemizedlist>
73 </para>
74
75 <para>
76 <emphasis>kvdepth</emphasis> -- Vibrator depth
77 </para>
78
79 <para>
80 <emphasis>kvrate</emphasis> -- Vibrator rate
81 </para>
82 </refsect1>
83
84 <refsect1>
85 <title>Examples</title>
86 <para>
87 Here is an example of the fmbell opcode. It uses the file <ulink url="examples/fmbell.csd"><citetitle>fmbell.csd</citetitle></ulink>.
88
89 <example>
90 <title>Example of the fmbell opcode.</title>
91
92
93
94 <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>
95 <xi:include href="examples-xml/fmbell.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
96 </example>
97 </para>
98 </refsect1>
99
100 <refsect1>
101 <title>See Also</title>
102 <para>
103 <link linkend="SiggenFmsynth"><citetitle>FM Synthesis</citetitle></link>
104 </para>
105 <para> More information about frequency modulation on Wikipedia: <ulink url="http://en.wikipedia.org/wiki/Frequency_modulation_synthesis"><citetitle>http://en.wikipedia.org/wiki/Frequency_modulation_synthesis</citetitle></ulink></para>
106 </refsect1>
107
108 <refsect1>
109 <title>Credits</title>
110 <para>
111 <simplelist>
112 <member>Author: &namejohn; (after &nameperry;)</member>
113 <member>University of Bath, Codemist Ltd.</member>
114 <member>Bath, UK</member>
115 </simplelist>
116 </para>
117
118 <para>New in Csound version 3.47</para>
119 <para>Optional argument new in 5.16</para>
120 <para>More optional argument new in 6.0</para>
121 </refsect1>
122 </refentry>