Debian Codegraph @

opcodes/vbapgmove.xml

raw symbols SCIP
1
2 <refentry id="vbapgmove">
3 <indexterm id="IndexVbapgmove"><primary>vbapgmove</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Panning and Spatialization</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>vbapgmove</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>vbapgmove</refname>
11 <refpurpose>
12 Calculates the gains for a sound location between multiple
13 channels with moving virtual sources.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>
20 Calculates the gains for a sound location between multiple
21 channels with moving virtual sources.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>kr1[, kr2...] <command>vbapgmove</command> idur, ispread, ifldnum, ifld1 \
28 [, ifld2] [...]</synopsis>
29 <synopsis>karray[] <command>vbapgmove</command> idur, ispread, ifldnum, ifld1 \
30 [, ifld2] [...]</synopsis>
31 </refsect1>
32
33 <refsect1>
34 <title>Initialization</title>
35 <para>
36 <emphasis>idur</emphasis> -- the duration over which the
37 movement takes place.
38 </para>
39 <para>
40 <emphasis>ispread</emphasis> -- spreading of the virtual source
41 (range 0 - 100). If value is zero, conventional amplitude panning
42 is used. When <emphasis>ispread</emphasis> is increased, the
43 number of loudspeakers used in panning increases. If value is 100,
44 the sound is applied to all loudspeakers.
45 </para>
46
47 <para>
48 <emphasis>ifldnum</emphasis> -- number of fields (absolute value must be 2 or larger). If <emphasis>ifldnum</emphasis> is positive, the virtual source movement is a polyline specified by given directions. Each transition is performed in an equal time interval. If <emphasis>ifldnum</emphasis> is negative, specified angular velocities are applied to the virtual source during specified relative time intervals (see below).
49 </para>
50
51 <para>
52 <emphasis>ifld1, ifld2, ...</emphasis> -- azimuth angles or angular velocities, and relative durations of movement phases (see below).
53 </para>
54 </refsect1>
55
56 <refsect1>
57 <title>Performance</title>
58
59 <para>
60 <emphasis>vbapgmove</emphasis> allows the use of moving virtual sources. If <emphasis>ifldnum</emphasis> is positive, the fields represent directions of virtual sources and equal times, <emphasis>iazi1</emphasis>, [<emphasis>iele1</emphasis>,] <emphasis>iazi2</emphasis>, [<emphasis>iele2</emphasis>,], etc. The position of the virtual source is interpolated between directions starting from the first direction and ending at the last. Each interval is interpolated in time that is fraction total_time / number_of_intervals of the duration of the sound event.
61 </para>
62
63 <para>
64 If <emphasis>ifldnum</emphasis> is negative, the fields represent angular velocities and equal times. The first field is, however, the starting direction, <emphasis>iazi1</emphasis>, [<emphasis>iele1</emphasis>,] <emphasis>iazi_vel1</emphasis>, [<emphasis>iele_vel1</emphasis>,] <emphasis>iazi_vel2</emphasis>, [<emphasis>iele_vel2</emphasis>,] .... Each velocity is applied to the note that is fraction total_time / number_of_velocities of the duration of the sound event. If the elevation of the virtual source becomes greater than 90 degrees or less than 0 degrees, the polarity of angular velocity is changed. Thus the elevational angular velocity produces a virtual source that moves up and down between 0 and 90 degrees.
65 </para>
66 <warning>
67 <para>Please note that all <emphasis>vbap</emphasis> panning opcodes require the <emphasis>vbap</emphasis> system to be initialized using <link linkend="vbaplsinit"><citetitle>vbaplsinit</citetitle></link>.</para>
68 </warning>
69 </refsect1>
70
71 <refsect1>
72 <title>Examples</title>
73 <para>
74 Here is an example of the vbapgmove opcode. It uses the file
75 <ulink
76 url="examples/vbapgmove.csd"><citetitle>vbapgmove.csd</citetitle></ulink>.
77 <example>
78 <title>Example of the vbapg opcode.</title>
79 <para>See the sections <link
80 linkend="UsingRealTime"><citetitle>Real-time
81 Audio</citetitle></link> and <link
82 linkend="CommandFlags"><citetitle>Command Line
83 Flags</citetitle></link> for more information on using command
84 line flags.
85 </para>
86 <xi:include href="examples-xml/vbapgmove.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
87 </example>
88 </para>
89 </refsect1>
90 <refsect1>
91 <title>Reference</title>
92 <para>
93 Ville Pulkki: <quote>Virtual Sound Source Positioning Using Vector Base Amplitude Panning</quote> <emphasis>Journal of the Audio Engineering Society</emphasis>, 1997 June, Vol. 45/6, p. 456.
94 </para>
95 </refsect1>
96
97 <refsect1>
98 <title>See also</title>
99 <para><link linkend="SigmodPanspatl"><citetitle>Panning and Spatialization: Vector Base Amplitude Panning</citetitle></link></para>
100 </refsect1>
101
102 <refsect1>
103 <title>Credits</title>
104 <para>
105 <simplelist>
106 <member>Author: Ville Pulkki</member>
107 <member>Sibelius Academy Computer Music Studio</member>
108 <member>Laboratory of Acoustics and Audio Signal Processing</member>
109 <member>Helsinki University of Technology</member>
110 <member>Helsinki, Finland</member>
111 <member>May 2000</member>
112 <member>Author: &namejohn;</member>
113 <member>July 2012, Sept 2013</member>
114 </simplelist>
115 </para>
116
117 <para>New in Csound Version 5.17.13</para>
118 <para>Array outputs new in Csound Version 6.01</para>
119 </refsect1>
120 </refentry>