Debian Codegraph @

opcodes/vbap4move.xml

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