| 1 |
|
| 2 |
<refentry id="bformdec"> |
| 3 |
<indexterm id="IndexBformdec"><primary>bformdec</primary></indexterm> |
| 4 |
<refentryinfo><title>Signal Modifiers:Panning and Spatialization</title></refentryinfo> |
| 5 |
<refmeta> |
| 6 |
<refentrytitle>bformdec</refentrytitle> |
| 7 |
</refmeta> |
| 8 |
|
| 9 |
<refnamediv> |
| 10 |
<refname>bformdec</refname> |
| 11 |
<refpurpose> |
| 12 |
Deprecated. Decodes an ambisonic B format signal. |
| 13 |
</refpurpose> |
| 14 |
</refnamediv> |
| 15 |
|
| 16 |
<refsect1> |
| 17 |
<title>Description</title> |
| 18 |
<para> |
| 19 |
Decodes an ambisonic B format signal into loudspeaker specific signals. Note that this opcode is |
| 20 |
deprecated as it is inaccurate, and is replaced by the much |
| 21 |
better opcode <link linkend="bformdec1"><citetitle>bformdec1</citetitle></link> which replicates all |
| 22 |
the important features. |
| 23 |
</para> |
| 24 |
|
| 25 |
</refsect1> |
| 26 |
|
| 27 |
<refsect1> |
| 28 |
<title>Syntax</title> |
| 29 |
<synopsis>ao1, ao2 <command>bformdec</command> isetup, aw, ax, ay, az [, ar, as, at, au, av \ |
| 30 |
[, abk, al, am, an, ao, ap, aq]]</synopsis> |
| 31 |
<synopsis>ao1, ao2, ao3, ao4 <command>bformdec</command> isetup, aw, ax, ay, az [, ar, as, at, \ |
| 32 |
au, av [, abk, al, am, an, ao, ap, aq]]</synopsis> |
| 33 |
<synopsis>ao1, ao2, ao3, ao4, ao5 <command>bformdec</command> isetup, aw, ax, ay, az [, ar, as, \ |
| 34 |
at, au, av [, abk, al, am, an, ao, ap, aq]]</synopsis> |
| 35 |
<synopsis>ao1, ao2, ao3, ao4, ao5, ao6, ao7, ao8 <command>bformdec</command> isetup, aw, ax, ay, az \ |
| 36 |
[, ar, as, at, au, av [, abk, al, am, an, ao, ap, aq]]]</synopsis> |
| 37 |
</refsect1> |
| 38 |
|
| 39 |
<refsect1> |
| 40 |
<title>Initialization</title> |
| 41 |
|
| 42 |
<para> |
| 43 |
<emphasis>isetup</emphasis> –- loudspeaker setup. There are |
| 44 |
five supported setups: 1 denotes stereo setup. There must be |
| 45 |
two output cells with loudspeaker positions |
| 46 |
assumed to be (330/0, 30/0). </para> |
| 47 |
<para>2 denotes quad setup. There must be four output cells. |
| 48 |
Loudspeaker positions assumed to be (45°/0), (135°/0), |
| 49 |
(225/0), (315/0).</para> |
| 50 |
<para>3 is a 5.1 surround setup. There must be five output |
| 51 |
cells. LFE channel is not supported. Loudspeaker positions |
| 52 |
assumed to be (330/0), (30/0), (0/0), (250/0), (110/0).</para> |
| 53 |
<para> 4 denotes eight loudspeaker circle setup. There must be |
| 54 |
eight output cells. Loudspeaker positions assumed to be |
| 55 |
(22.5/0), (67.5/0), (112.5/0), (157.5/0), (202.5/0), |
| 56 |
(247.5/0), (292.5/0), (337.5/0).</para> |
| 57 |
<para> 5 means an eight loudspeaker cubic setup. There must be |
| 58 |
eight output cells. Loudspeaker positions assumed to be |
| 59 |
(45/0), (45/30), (135/0), (135/30), (225/0), (225/30), |
| 60 |
(315/0), (315/30).</para> |
| 61 |
|
| 62 |
</refsect1> |
| 63 |
|
| 64 |
<refsect1> |
| 65 |
<title>Performance</title> |
| 66 |
|
| 67 |
<para> |
| 68 |
<emphasis>aw, ax, ay, ... </emphasis> |
| 69 |
-- input signal in the B format. |
| 70 |
</para> |
| 71 |
|
| 72 |
<para> |
| 73 |
<emphasis>ao1 .. ao8</emphasis> -– loudspeaker specific output signals. |
| 74 |
</para> |
| 75 |
|
| 76 |
|
| 77 |
</refsect1> |
| 78 |
|
| 79 |
<refsect1> |
| 80 |
<title>Example</title> |
| 81 |
<para> |
| 82 |
Here is an example of the bformdec opcode. It uses the file <ulink url="examples/bformenc.csd"><citetitle>bformenc.csd</citetitle></ulink>. |
| 83 |
|
| 84 |
<example> |
| 85 |
<title>Example of the bformdec opcode.</title> |
| 86 |
|
| 87 |
<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> |
| 88 |
|
| 89 |
<xi:include href="examples-xml/bformenc.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 90 |
</example> |
| 91 |
</para> |
| 92 |
</refsect1> |
| 93 |
|
| 94 |
<refsect1> |
| 95 |
<title>Credits</title> |
| 96 |
<para> |
| 97 |
<simplelist> |
| 98 |
<member>Author: Samuel Groner</member> |
| 99 |
<member>2005</member> |
| 100 |
</simplelist> |
| 101 |
</para> |
| 102 |
<para>New in version 5.07. Deprecated in 5.09</para> |
| 103 |
</refsect1> |
| 104 |
</refentry> |