| 1 |
|
| 2 |
<refentry id="vbap8"> |
| 3 |
<indexterm id="IndexVbap8"><primary>vbap8</primary></indexterm> |
| 4 |
<refentryinfo><title>Signal Modifiers:Panning and Spatialization</title></refentryinfo> |
| 5 |
<refmeta> |
| 6 |
<refentrytitle>vbap8</refentrytitle> |
| 7 |
</refmeta> |
| 8 |
|
| 9 |
<refnamediv> |
| 10 |
<refname>vbap8</refname> |
| 11 |
<refpurpose> |
| 12 |
Distributes an audio signal among 8 channels. |
| 13 |
</refpurpose> |
| 14 |
</refnamediv> |
| 15 |
|
| 16 |
<refsect1> |
| 17 |
<title>Description</title> |
| 18 |
<para> |
| 19 |
Distributes an audio signal among 8 channels. |
| 20 |
</para> |
| 21 |
</refsect1> |
| 22 |
|
| 23 |
<refsect1> |
| 24 |
<title>Syntax</title> |
| 25 |
<synopsis>ar1, ..., ar8 <command>vbap8</command> asig, kazim [, kelev] [, kspread]</synopsis> |
| 26 |
</refsect1> |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
<refsect1> |
| 33 |
<title>Performance</title> |
| 34 |
<para> |
| 35 |
<emphasis>asig</emphasis> -- audio signal to be panned |
| 36 |
</para> |
| 37 |
<para> |
| 38 |
<emphasis>kazim</emphasis> -- azimuth angle of the virtual source |
| 39 |
</para> |
| 40 |
|
| 41 |
<para> |
| 42 |
<emphasis>kelev</emphasis> (optional) -- elevation angle of the virtual source |
| 43 |
</para> |
| 44 |
|
| 45 |
<para> |
| 46 |
<emphasis>kspread</emphasis> (optional) -- spreading of the virtual source (range 0 - 100). If value is zero, conventional amplitude panning is used. When <emphasis>kspread</emphasis> is increased, the number of loudspeakers used in panning increases. If value is 100, the sound is applied to all loudspeakers. |
| 47 |
</para> |
| 48 |
|
| 49 |
<para> |
| 50 |
<emphasis>vbap8</emphasis> takes an input signal, <emphasis>asig</emphasis>, and distributes it among 8 outputs, according to the controls <emphasis>kazim</emphasis> and <emphasis>kelev</emphasis>, and the configured loudspeaker placement. If <emphasis>idim</emphasis> = 2, <emphasis>kelev</emphasis> is set to zero. The distribution is performed using Vector Base Amplitude Panning (VBAP - See reference). 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. |
| 51 |
</para> |
| 52 |
<warning> |
| 53 |
<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> |
| 54 |
</warning> |
| 55 |
</refsect1> |
| 56 |
|
| 57 |
<refsect1> |
| 58 |
<title>Example</title> |
| 59 |
<para> |
| 60 |
Here is a simple example of the <emphasis>vbap8</emphasis> opcode. It uses the file <ulink url="examples/vbap8.csd"><citetitle>vbap8.csd</citetitle></ulink>. |
| 61 |
|
| 62 |
<example> |
| 63 |
<title>Example of the vbap8 opcode.</title> |
| 64 |
<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> |
| 65 |
<xi:include href="examples-xml/vbap8.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 66 |
</example> |
| 67 |
</para> |
| 68 |
</refsect1> |
| 69 |
|
| 70 |
<refsect1> |
| 71 |
<title>Reference</title> |
| 72 |
<para> |
| 73 |
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. |
| 74 |
</para> |
| 75 |
</refsect1> |
| 76 |
|
| 77 |
<refsect1> |
| 78 |
<title>See also</title> |
| 79 |
<para><link linkend="SigmodPanspatl"><citetitle>Panning and Spatialization: Vector Base Amplitude Panning</citetitle></link></para> |
| 80 |
</refsect1> |
| 81 |
|
| 82 |
<refsect1> |
| 83 |
<title>Credits</title> |
| 84 |
<para> |
| 85 |
<simplelist> |
| 86 |
<member>Author: Ville Pulkki</member> |
| 87 |
<member>Sibelius Academy Computer Music Studio</member> |
| 88 |
<member>Laboratory of Acoustics and Audio Signal Processing</member> |
| 89 |
<member>Helsinki University of Technology</member> |
| 90 |
<member>Helsinki, Finland</member> |
| 91 |
<member>May 2000</member> |
| 92 |
</simplelist> |
| 93 |
</para> |
| 94 |
|
| 95 |
<para>New in Csound Version 4.07. Input parameters accept k-rate since Csund 5.09.</para> |
| 96 |
</refsect1> |
| 97 |
</refentry> |