Debian Codegraph @

opcodes/gogobel.xml

raw symbols SCIP
1
2 <refentry id="gogobel">
3 <indexterm id="IndexGogobel"><primary>gogobel</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Models and Emulations</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>gogobel</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>gogobel</refname>
13 <refpurpose>
14 Audio output is a tone related to the striking of a cow bell or similar.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Audio output is a tone related to the striking of a cow bell or similar. The method is a physical model developed from &nameperry;, but re-coded for Csound.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>ares <command>gogobel</command> kamp, kfreq, ihrd, ipos, imp, kvibf, kvamp, ivfn</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>ihrd</emphasis> -- the hardness of the stick used in the strike. A range of 0 to 1 is used. 0.5 is a suitable value.
34 </para>
35
36 <para>
37 <emphasis>ipos</emphasis> -- where the block is hit, in the range 0 to 1.
38 </para>
39
40 <para>
41 <emphasis>imp</emphasis> -- a table of the strike impulses. The file <ulink url="examples/marmstk1.wav"><citetitle>marmstk1.wav</citetitle></ulink> is a suitable function from measurements and can be loaded with a <link linkend="GEN01"><citetitle>GEN01</citetitle></link> table. It is also available at <ulink
42 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>.
43 </para>
44
45 <para>
46 <emphasis>ivfn</emphasis> -- shape of vibrato, usually a sine table, created by a function.
47 </para>
48 </refsect1>
49
50 <refsect1>
51 <title>Performance</title>
52 <para>
53 A note is played on a cowbell-like instrument, with the arguments as below.
54 </para>
55
56 <para>
57 <emphasis>kamp</emphasis> -- Amplitude of note.
58 </para>
59
60 <para>
61 <emphasis>kfreq</emphasis> -- Frequency of note played.
62 </para>
63
64 <para>
65 <emphasis>kvibf</emphasis> -- frequency of vibrato in Hertz. Suggested range is 0 to 12
66 </para>
67
68 <para>
69 <emphasis>kvamp</emphasis> -- amplitude of the vibrato
70 </para>
71 </refsect1>
72
73 <refsect1>
74 <title>Examples</title>
75 <para>
76 Here is an example of the gogobel opcode. It uses the file <ulink url="examples/gogobel.csd"><citetitle>gogobel.csd</citetitle></ulink>, and <ulink url="examples/marmstk1.wav"><citetitle>marmstk1.wav</citetitle></ulink>,
77
78 <example>
79 <title>Example of the gogobel opcode.</title>
80
81
82
83 <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>
84 <xi:include href="examples-xml/gogobel.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
85 </example>
86 </para>
87 </refsect1>
88
89 <refsect1>
90 <title>See Also</title>
91 <para>
92 <link linkend="SiggenModels"><citetitle>Models and Emulations</citetitle></link>
93 </para>
94 </refsect1>
95
96 <refsect1>
97 <title>Credits</title>
98 <para>
99 <simplelist>
100 <member>Author: &namejohn; (after &nameperry;)</member>
101 <member>University of Bath, Codemist Ltd.</member>
102 <member>Bath, UK</member>
103 </simplelist>
104 </para>
105
106 <para>New in Csound version 3.47</para>
107 </refsect1>
108 </refentry>