Debian Codegraph @

opcodes/vbapmove.xml

raw symbols SCIP
1
2 <refentry id="vbapmove">
3 <indexterm id="IndexVbapmove"><primary>vbapmove</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Panning and Spatialization</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>vbapmove</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>vbapmove</refname>
11 <refpurpose>
12 Distributes an audio signal among many channels with moving virtual sources.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Distributes an audio signal among upto 64 channels with moving
20 virtual sources.
21 </para>
22 </refsect1>
23
24 <refsect1>
25 <title>Syntax</title>
26 <synopsis>ar1[, ar2...] <command>vbapmove</command> asig, idur, ispread, ifldnum, ifld1 \
27 [, ifld2] [...]</synopsis>
28 <synopsis>aarray[] <command>vbapmove</command> asig, idur, ispread, ifldnum, ifld1 \
29 [, ifld2] [...]</synopsis>
30 </refsect1>
31
32 <refsect1>
33 <title>Initialization</title>
34 <para>
35 <emphasis>idur</emphasis> -- the duration over which the
36 movement takes place.
37 </para>
38 <para>
39 <emphasis>ispread</emphasis> -- spreading of the virtual source
40 (range 0 - 100). If value is zero, conventional amplitude panning
41 is used. When <emphasis>ispread</emphasis> is increased, the
42 number of loudspeakers used in panning increases. If value is 100,
43 the sound is applied to all loudspeakers.
44 </para>
45
46 <para>
47 <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).
48 </para>
49
50 <para>
51 <emphasis>ifld1, ifld2, ...</emphasis> -- azimuth angles or angular velocities, and relative durations of movement phases (see below).
52 </para>
53 </refsect1>
54
55 <refsect1>
56 <title>Performance</title>
57 <para>
58 <emphasis>asig</emphasis> -- audio signal to be panned
59 </para>
60
61 <para>
62 <emphasis>vbapmove</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.
63 </para>
64
65 <para>
66 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.
67 </para>
68 <warning>
69 <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>
70 </warning>
71 </refsect1>
72
73 <refsect1>
74 <title>Examples</title>
75 <para>
76 See the entry for <link linkend="vbap8move"><citetitle>vbap8move</citetitle></link> for an example of usage of the <emphasis>vbapXmove</emphasis> opcodes.
77 </para>
78 </refsect1>
79 <refsect1>
80 <title>Reference</title>
81 <para>
82 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.
83 </para>
84 </refsect1>
85
86 <refsect1>
87 <title>Examples</title>
88 <para>
89 Here is an example of the vbapmove opcode. It uses the file <ulink url="examples/vbapmove.csd"><citetitle>vbapmove.csd</citetitle></ulink>.
90 <example>
91 <title>Example of the vbapmove opcode.</title>
92 <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>
93 <xi:include href="examples-xml/vbapmove.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
94 </example>
95 </para>
96 </refsect1>
97
98 <refsect1>
99 <title>See also</title>
100 <para><link linkend="SigmodPanspatl"><citetitle>Panning and Spatialization: Vector Base Amplitude Panning</citetitle></link></para>
101 </refsect1>
102
103 <refsect1>
104 <title>Credits</title>
105 <para>
106 <simplelist>
107 <member>Author: Ville Pulkki</member>
108 <member>Sibelius Academy Computer Music Studio</member>
109 <member>Laboratory of Acoustics and Audio Signal Processing</member>
110 <member>Helsinki University of Technology</member>
111 <member>Helsinki, Finland</member>
112 <member>May 2000</member>
113 <member>Author: &namejohn;</member>
114 <member>July 2012, Sept 2013</member>
115 </simplelist>
116 </para>
117
118 <para>New in Csound Version 5.17.13</para>
119 <para>Array outputs new in Csound Version 6.01</para>
120 </refsect1>
121 </refentry>