| 1 |
|
| 2 |
<refentry id="vbapz"> |
| 3 |
<indexterm id="IndexVbapz"><primary>vbapz</primary></indexterm> |
| 4 |
<refentryinfo><title>Signal Modifiers:Panning and Spatialization</title></refentryinfo> |
| 5 |
<refmeta> |
| 6 |
<refentrytitle>vbapz</refentrytitle> |
| 7 |
</refmeta> |
| 8 |
|
| 9 |
<refnamediv> |
| 10 |
<refname>vbapz</refname> |
| 11 |
<refpurpose> |
| 12 |
Writes a multi-channel audio signal to a ZAK array. |
| 13 |
</refpurpose> |
| 14 |
</refnamediv> |
| 15 |
|
| 16 |
<refsect1> |
| 17 |
<title>Description</title> |
| 18 |
<para> |
| 19 |
Writes a multi-channel audio signal to a ZAK array. |
| 20 |
</para> |
| 21 |
</refsect1> |
| 22 |
|
| 23 |
<refsect1> |
| 24 |
<title>Syntax</title> |
| 25 |
<synopsis><command>vbapz</command> inumchnls, istartndx, asig, kazim [, kelev] [, kspread]</synopsis> |
| 26 |
</refsect1> |
| 27 |
|
| 28 |
<refsect1> |
| 29 |
<title>Initialization</title> |
| 30 |
<para> |
| 31 |
<emphasis>inumchnls</emphasis> -- number of channels to write to the ZA array. Must be in the range 2 - 256. |
| 32 |
</para> |
| 33 |
|
| 34 |
<para> |
| 35 |
<emphasis>istartndx</emphasis> -- first index or position in the ZA array to use |
| 36 |
</para> |
| 37 |
</refsect1> |
| 38 |
|
| 39 |
<refsect1> |
| 40 |
<title>Performance</title> |
| 41 |
<para> |
| 42 |
<emphasis>asig</emphasis> -- audio signal to be panned |
| 43 |
</para> |
| 44 |
<para> |
| 45 |
<emphasis>kazim</emphasis> -- azimuth angle of the virtual source |
| 46 |
</para> |
| 47 |
<para> |
| 48 |
<emphasis>kelev</emphasis> (optional) -- elevation angle of the virtual source |
| 49 |
</para> |
| 50 |
<para> |
| 51 |
<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. |
| 52 |
</para> |
| 53 |
|
| 54 |
<para> |
| 55 |
The opcode <emphasis>vbapz</emphasis> is the multiple channel analog of the opcodes like <link linkend="vbap4"><citetitle>vbap4</citetitle></link>, working on <emphasis>inumchnls</emphasis> and using a ZAK array for output. |
| 56 |
</para> |
| 57 |
<warning> |
| 58 |
<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> |
| 59 |
</warning> |
| 60 |
</refsect1> |
| 61 |
|
| 62 |
<refsect1> |
| 63 |
<title>Examples</title> |
| 64 |
<para> |
| 65 |
See the entry for <link linkend="vbap8"><citetitle>vbap8</citetitle></link> for an example of usage of the <emphasis>vbap</emphasis> opcodes. |
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
|
| 86 |
|
| 87 |
</para> |
| 88 |
</refsect1> |
| 89 |
|
| 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>&namejohn;</member> |
| 107 |
<member>University of Bath/Codemist Ltd.</member> |
| 108 |
<member>Bath, UK</member> |
| 109 |
<member>May 2000</member> |
| 110 |
</simplelist> |
| 111 |
</para> |
| 112 |
|
| 113 |
<para>New in Csound Version 4.07. Input parameters accept k-rate since Csund 5.09.</para> |
| 114 |
</refsect1> |
| 115 |
</refentry> |