2
<refentry id="wgbowedbar">
3
<indexterm id="IndexWgbowedbar"><primary>wgbowedbar</primary></indexterm>
4
<refentryinfo><title>Signal Generators:Waveguide Physical Modeling</title></refentryinfo>
6
<refentrytitle>wgbowedbar</refentrytitle>
12
<refname>wgbowedbar</refname>
14
A physical model of a bowed bar.
19
<title>Description</title>
21
A physical model of a bowed bar, belonging to the &nameperry; family of waveguide instruments.
27
<synopsis>ares <command>wgbowedbar</command> kamp, kfreq, kpos, kbowpres, kgain [, iconst] [, itvel] \
28
[, ibowpos] [, ilow]</synopsis>
32
<title>Initialization</title>
34
<emphasis>iconst</emphasis> (optional, default=0) -- an integration constant. Default is zero.
38
<emphasis>itvel</emphasis> (optional, default=0) -- either 0 or 1. When <emphasis>ktvel</emphasis> = 0, the bow velocity follows an ADSR style trajectory. When <emphasis>ktvel</emphasis> = 1, the value of the bow velocity decays in an exponentially.
42
<emphasis>ibowpos</emphasis> (optional, default=0) -- the position on the bow, which affects the bow velocity trajectory.
46
<emphasis>ilow</emphasis> (optional, default=0) -- lowest frequency required
51
<title>Performance</title>
53
<emphasis>kamp</emphasis> -- amplitude of signal
57
<emphasis>kfreq</emphasis> -- frequency of signal
61
<emphasis>kpos</emphasis> -- position of the bow on the bar, in the range 0 to 1
65
<emphasis>kbowpres</emphasis> -- pressure of the bow (as in <emphasis>wgbowed</emphasis>)
69
<emphasis>kgain</emphasis> -- gain of filter. A value of about 0.809 is suggested.
74
<title>Examples</title>
76
Here is an example of the wgbowedbar opcode. It uses the file <ulink url="examples/wgbowedbar.csd"><citetitle>wgbowedbar.csd</citetitle></ulink>.
79
<title>Example of the wgbowedbar opcode.</title>
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/wgbowedbar.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
90
<title>Credits</title>
93
<member>Author: &namejohn; (after &nameperry;)</member>
94
<member>University of Bath, Codemist Ltd.</member>
95
<member>Bath, UK</member>
99
<para>New in Csound version 4.07</para>
2
<refentry id="wgbowedbar">
3
<indexterm id="IndexWgbowedbar"><primary>wgbowedbar</primary></indexterm>
4
<refentryinfo><title>Signal Generators:Waveguide Physical Modeling</title></refentryinfo>
6
<refentrytitle>wgbowedbar</refentrytitle>
10
<refname>wgbowedbar</refname>
12
A physical model of a bowed bar.
17
<title>Description</title>
19
A physical model of a bowed bar, belonging to the &nameperry; family of waveguide instruments.
25
<synopsis>ares <command>wgbowedbar</command> kamp, kfreq, kpos, kbowpres, kgain [, iconst] [, itvel] \
26
[, ibowpos] [, ilow]</synopsis>
30
<title>Initialization</title>
32
<emphasis>iconst</emphasis> (optional, default=0) -- an integration constant. Default is zero.
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.
40
<emphasis>ibowpos</emphasis> (optional, default=0) -- the position on the bow, which affects the bow velocity trajectory.
44
<emphasis>ilow</emphasis> (optional, default=0) -- lowest frequency required
49
<title>Performance</title>
51
<emphasis>kamp</emphasis> -- amplitude of signal
55
<emphasis>kfreq</emphasis> -- frequency of signal
59
<emphasis>kpos</emphasis> -- position of the bow on the bar, in the range 0 to 1
63
<emphasis>kbowpres</emphasis> -- pressure of the bow (as in <emphasis>wgbowed</emphasis>)
67
<emphasis>kgain</emphasis> -- gain of filter. A value of about 0.809 is suggested.
72
<title>Examples</title>
74
Here is an example of the wgbowedbar opcode. It uses the file <ulink url="examples/wgbowedbar.csd"><citetitle>wgbowedbar.csd</citetitle></ulink>.
77
<title>Example of the wgbowedbar opcode.</title>
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"/>
88
<title>Credits</title>
91
<member>Author: &namejohn; (after &nameperry;)</member>
92
<member>University of Bath, Codemist Ltd.</member>
93
<member>Bath, UK</member>
97
<para>New in Csound version 4.07</para>