Debian Codegraph @

opcodes/vbaplsinit.xml

raw symbols SCIP
1
2 <refentry id="vbaplsinit">
3 <indexterm id="IndexVbaplsinit"><primary>vbaplsinit</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Panning and Spatialization</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>vbaplsinit</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>vbaplsinit</refname>
11 <refpurpose>
12 Configures VBAP output according to loudspeaker parameters.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Configures VBAP output according to loudspeaker parameters.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis><command>vbaplsinit</command> idim, ilsnum [, idir1] [, idir2] [...] [, idir32]</synopsis>
26 <synopsis><command>vbaplsinit</command> idim, ilsnum, ilsarray</synopsis>
27 </refsect1>
28
29 <refsect1>
30 <title>Initialization</title>
31 <para>
32 <emphasis>idim</emphasis> -- dimensionality of loudspeaker
33 array. Either 2 or 3. If the dimension has a fractional part
34 then that is used as the index of the layout created (used in
35 <emphasis>vbap</emphasis>, <emphasis>vbapz</emphasis> and
36 <emphasis>vbapg</emphasis> only). The factional part should be
37 between .00 and .99.
38 </para>
39
40 <para>
41 <emphasis>ilsnum</emphasis> -- number of loudspeakers. In two
42 dimensions, the number can vary from 2 to 64. In three
43 dimensions, the number can vary from 3 and 64.
44 </para>
45
46 <para>
47 <emphasis>idir1, idir2, ..., idir32</emphasis> -- directions of
48 loudspeakers. Number of directions must be less than or equal to
49 16. In two-dimensional loudspeaker positioning,
50 <emphasis>idir</emphasis>n is the azimuth angle respective to
51 <emphasis>n</emphasis>th channel. In three-dimensional
52 loudspeaker positioning, fields are the azimuth and elevation
53 angles of each loudspeaker consequently
54 (<emphasis>azi1</emphasis>, <emphasis>ele1</emphasis>,
55 <emphasis>azi2</emphasis>, <emphasis>ele2</emphasis>, etc.).
56 </para>
57 <para>
58 <emphasis>ilsarray</emphasis> -- a one dimesional array of the
59 data as described above.
60 </para>
61 <para>
62 <note> In 2 dimensions the angle between two adjacent speakers
63 must be less than 179 degrees (170 degrees in earlier versions).
64 This is a restriction of the algorithm.</note>
65 </para>
66 </refsect1>
67
68 <refsect1>
69 <title>Performance</title>
70 <para>
71 VBAP distributes the signal using loudspeaker data configured with <emphasis>vbaplsinit</emphasis>. The signal is applied to, at most, two loudspeakers in 2-D loudspeaker configurations, and three loudspeakers in 3-D loudspeaker configurations. If the virtual source is panned outside the region spanned by loudspeakers, the nearest loudspeakers are used in panning.
72 </para>
73 </refsect1>
74
75 <refsect1>
76 <title>Examples</title>
77 <para>
78 Here is an example of the vbaplsinit opcode. It uses the file <ulink url="examples/vbaplsinit.csd"><citetitle>vbaplsinit.csd</citetitle></ulink>.
79 <example>
80 <title>Example of the vbaplsinit 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/vbaplsinit.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
83 </example>
84 See the other entries of the vbap opcodes for different examples.
85 </para>
86 </refsect1>
87
88 <refsect1>
89 <title>Reference</title>
90 <para>
91 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.
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 <para>Multiple layouts new ib version 5.17.14</para>
115 </refsect1>
116 </refentry>