| 1 |
|
| 2 |
<refentry id="bformenc"> |
| 3 |
<indexterm id="IndexBformenc"><primary>bformenc</primary></indexterm> |
| 4 |
<refentryinfo><title>Signal Modifiers:Panning and Spatialization</title></refentryinfo> |
| 5 |
<refmeta> |
| 6 |
<refentrytitle>bformenc</refentrytitle> |
| 7 |
</refmeta> |
| 8 |
|
| 9 |
<refnamediv> |
| 10 |
<refname>bformenc</refname> |
| 11 |
<refpurpose> |
| 12 |
Deprecated. Codes a signal into the ambisonic B format. |
| 13 |
</refpurpose> |
| 14 |
</refnamediv> |
| 15 |
|
| 16 |
<refsect1> |
| 17 |
<title>Description</title> |
| 18 |
<para> |
| 19 |
Codes a signal into the ambisonic B format. Note that this opcode is |
| 20 |
deprecated as it is inaccurate, and is replaced by the much |
| 21 |
better |
| 22 |
opcode <link linkend="bformenc1"><citetitle>bformenc1</citetitle></link> |
| 23 |
which replicates all the important features; also note that the |
| 24 |
gain arguments are not available in <emphasis>bformenc1</emphasis>. |
| 25 |
</para> |
| 26 |
</refsect1> |
| 27 |
|
| 28 |
<refsect1> |
| 29 |
<title>Syntax</title> |
| 30 |
<synopsis>aw, ax, ay, az <command>bformenc</command> asig, kalpha, kbeta, kord0, kord1</synopsis> |
| 31 |
<synopsis>aw, ax, ay, az, ar, as, at, au, av <command>bformenc</command> asig, kalpha, kbeta, \ |
| 32 |
kord0, kord1 , kord2</synopsis> |
| 33 |
<synopsis>aw, ax, ay, az, ar, as, at, au, av, ak, al, am, an, ao, ap, aq <command>bformenc</command> \ |
| 34 |
asig, kalpha, kbeta, kord0, kord1, kord2, kord3</synopsis> |
| 35 |
</refsect1> |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
<refsect1> |
| 45 |
<title>Performance</title> |
| 46 |
|
| 47 |
<para> |
| 48 |
<emphasis>aw, ax, ay, ... </emphasis> |
| 49 |
-- output cells of the B format. |
| 50 |
</para> |
| 51 |
|
| 52 |
<para> |
| 53 |
<emphasis>asig</emphasis> -- input signal. |
| 54 |
</para> |
| 55 |
|
| 56 |
|
| 57 |
<para> |
| 58 |
<emphasis>kalpha</emphasis> –- azimuth angle in degrees (clockwise). |
| 59 |
</para> |
| 60 |
|
| 61 |
<para> |
| 62 |
<emphasis>kbeta</emphasis> -- altitude angle in degrees. |
| 63 |
</para> |
| 64 |
|
| 65 |
<para> |
| 66 |
<emphasis>kord0</emphasis> -- linear gain of the zero order B format. |
| 67 |
</para> |
| 68 |
|
| 69 |
<para> |
| 70 |
<emphasis>kord1</emphasis> -- linear gain of the first order B format. |
| 71 |
</para> |
| 72 |
|
| 73 |
<para> |
| 74 |
<emphasis>kord2</emphasis> -- linear gain of the second order B format. |
| 75 |
</para> |
| 76 |
|
| 77 |
<para> |
| 78 |
<emphasis>kord3</emphasis> -- linear gain of the third order B format. |
| 79 |
</para> |
| 80 |
</refsect1> |
| 81 |
|
| 82 |
<refsect1> |
| 83 |
<title>Example</title> |
| 84 |
<para> |
| 85 |
Here is an example of the bformenc opcode. It uses the file <ulink url="examples/bformenc.csd"><citetitle>bformenc.csd</citetitle></ulink>. |
| 86 |
|
| 87 |
<example> |
| 88 |
<title>Example of the bformenc opcode.</title> |
| 89 |
|
| 90 |
<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> |
| 91 |
|
| 92 |
<xi:include href="examples-xml/bformenc.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 93 |
</example> |
| 94 |
</para> |
| 95 |
</refsect1> |
| 96 |
|
| 97 |
<refsect1> |
| 98 |
<title>Credits</title> |
| 99 |
<para> |
| 100 |
<simplelist> |
| 101 |
<member>Author: Samuel Groner</member> |
| 102 |
<member>2005</member> |
| 103 |
</simplelist> |
| 104 |
</para> |
| 105 |
<para>New in version 5.07. Deprecated in 5.09.</para> |
| 106 |
</refsect1> |
| 107 |
</refentry> |