Debian Codegraph @

opcodes/wgbowedbar.xml

raw symbols SCIP
1
2 <refentry id="wgbowedbar">
3 <indexterm id="IndexWgbowedbar"><primary>wgbowedbar</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Waveguide Physical Modeling</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>wgbowedbar</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>wgbowedbar</refname>
11 <refpurpose>
12 A physical model of a bowed bar.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 A physical model of a bowed bar, belonging to the &nameperry; family of waveguide instruments.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ares <command>wgbowedbar</command> kamp, kfreq, kpos, kbowpres, kgain [, iconst] [, itvel] \
26 [, ibowpos] [, ilow]</synopsis>
27 </refsect1>
28
29 <refsect1>
30 <title>Initialization</title>
31 <para>
32 <emphasis>iconst</emphasis> (optional, default=0) -- an integration constant. Default is zero.
33 </para>
34
35 <para>
36 <emphasis>itvel</emphasis> (optional, default=0) -- either 0 or 1. When <emphasis>itvel</emphasis> = 0, the bow velocity follows an ADSR style trajectory. When <emphasis>itvel</emphasis> = 1, the value of the bow velocity decays in an exponentially.
37 </para>
38
39 <para>
40 <emphasis>ibowpos</emphasis> (optional, default=0) -- the position on the bow, which affects the bow velocity trajectory.
41 </para>
42
43 <para>
44 <emphasis>ilow</emphasis> (optional, default=0) -- lowest frequency required
45 </para>
46 </refsect1>
47
48 <refsect1>
49 <title>Performance</title>
50 <para>
51 <emphasis>kamp</emphasis> -- amplitude of signal
52 </para>
53
54 <para>
55 <emphasis>kfreq</emphasis> -- frequency of signal
56 </para>
57
58 <para>
59 <emphasis>kpos</emphasis> -- position of the bow on the bar, in the range 0 to 1
60 </para>
61
62 <para>
63 <emphasis>kbowpres</emphasis> -- pressure of the bow (as in <emphasis>wgbowed</emphasis>)
64 </para>
65
66 <para>
67 <emphasis>kgain</emphasis> -- gain of filter. A value of about 0.809 is suggested.
68 </para>
69 </refsect1>
70
71 <refsect1>
72 <title>Examples</title>
73 <para>
74 Here is an example of the wgbowedbar opcode. It uses the file <ulink url="examples/wgbowedbar.csd"><citetitle>wgbowedbar.csd</citetitle></ulink>.
75
76 <example>
77 <title>Example of the wgbowedbar opcode.</title>
78
79
80
81 <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>
82 <xi:include href="examples-xml/wgbowedbar.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
83 </example>
84 </para>
85 </refsect1>
86
87 <refsect1>
88 <title>See also</title>
89 <para><link linkend="SiggenWavguide"><citetitle>Waveguide Physical Modeling</citetitle></link></para>
90 </refsect1>
91
92 <refsect1>
93 <title>Credits</title>
94 <para>
95 <simplelist>
96 <member>Author: &namejohn; (after &nameperry;)</member>
97 <member>University of Bath, Codemist Ltd.</member>
98 <member>Bath, UK</member>
99 </simplelist>
100 </para>
101
102 <para>New in Csound version 4.07</para>
103 </refsect1>
104 </refentry>