| 1 | <refentry id="vbap8move"> |
| 2 | <indexterm id="IndexVbap8move"><primary>vbap8move</primary></indexterm> |
| 3 | <refentryinfo><title>Signal Modifiers:Panning and Spatialization</title></refentryinfo> |
| 4 | <refmeta> |
| 5 | <refentrytitle>vbap8move</refentrytitle> |
| 6 | </refmeta> |
| 7 | |
| 8 | |
| 9 | |
| 10 | <refnamediv> |
| 11 | <refname>vbap8move</refname> |
| 12 | <refpurpose> |
| 13 | Distributes an audio signal among 8 channels with moving virtual sources. |
| 14 | </refpurpose> |
| 15 | </refnamediv> |
| 16 | |
| 17 | <refsect1> |
| 18 | <title>Description</title> |
| 19 | <para> |
| 20 | Distributes an audio signal among 8 channels with moving virtual sources. |
| 21 | </para> |
| 22 | </refsect1> |
| 23 | |
| 24 | <refsect1> |
| 25 | <title>Syntax</title> |
| 26 | <synopsis>ar1, ..., ar8 <command>vbap8move</command> asig, idur, ispread, ifldnum, ifld1 \ |
| 27 | [, ifld2] [...]</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Initialization</title> |
| 32 | <para> |
| 33 | <emphasis>idur</emphasis> -- the duration over which the |
| 34 | movement takes place. |
| 35 | </para> |
| 36 | <para> |
| 37 | <emphasis>ispread</emphasis> -- spreading of the virtual |
| 38 | source (range 0 - 100). If value is zero, conventional amplitude |
| 39 | panning is used. When <emphasis>ispread</emphasis> is increased, |
| 40 | the number of loudspeakers used in panning increases. If value is |
| 41 | 100, the sound is applied to all loudspeakers. |
| 42 | </para> |
| 43 | |
| 44 | <para> |
| 45 | <emphasis>ifldnum</emphasis> -- number of fields (absolute value must be 2 or larger). If <emphasis>ifldnum</emphasis> is positive, the virtual source movement is a polyline specified by given directions. Each transition is performed in an equal time interval. If <emphasis>ifldnum</emphasis> is negative, specified angular velocities are applied to the virtual source during specified relative time intervals (see below). |
| 46 | </para> |
| 47 | |
| 48 | <para> |
| 49 | <emphasis>ifld1, ifld2, ...</emphasis> -- azimuth angles or angular velocities, and relative durations of movement phases (see below). |
| 50 | </para> |
| 51 | </refsect1> |
| 52 | |
| 53 | <refsect1> |
| 54 | <title>Performance</title> |
| 55 | <para> |
| 56 | <emphasis>asig</emphasis> -- audio signal to be panned |
| 57 | </para> |
| 58 | |
| 59 | <para> |
| 60 | <emphasis>vbap8move</emphasis> allows the use of moving virtual sources. If <emphasis>ifldnum</emphasis> is positive, the fields represent directions of virtual sources and equal times, <emphasis>iazi1</emphasis>, [<emphasis>iele1</emphasis>,] <emphasis>iazi2</emphasis>, [<emphasis>iele2</emphasis>,], etc. The position of the virtual source is interpolated between directions starting from the first direction and ending at the last. Each interval is interpolated in time that is fraction total_time / number_of_intervals of the duration of the sound event. |
| 61 | </para> |
| 62 | |
| 63 | <para> |
| 64 | If <emphasis>ifldnum</emphasis> is negative, the fields represent angular velocities and equal times. The first field is, however, the starting direction, <emphasis>iazi1</emphasis>, [<emphasis>iele1</emphasis>,] <emphasis>iazi_vel1</emphasis>, [<emphasis>iele_vel1</emphasis>,] <emphasis>iazi_vel2</emphasis>, [<emphasis>iele_vel2</emphasis>,] .... Each velocity is applied to the note that is fraction total_time / number_of_velocities of the duration of the sound event. If the elevation of the virtual source becomes greater than 90 degrees or less than 0 degrees, the polarity of angular velocity is changed. Thus the elevational angular velocity produces a virtual source that moves up and down between 0 and 90 degrees. |
| 65 | </para> |
| 66 | <warning> |
| 67 | <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> |
| 68 | </warning> |
| 69 | </refsect1> |
| 70 | |
| 71 | <refsect1> |
| 72 | <title>Example</title> |
| 73 | <para> |
| 74 | Here is a simple example of the <emphasis>vbap8move</emphasis> opcode. It uses the file <ulink url="examples/vbap8move.csd"><citetitle>vbap8move.csd</citetitle></ulink>. |
| 75 | |
| 76 | <example> |
| 77 | <title>Example of the vbap8move opcode.</title> |
| 78 | <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> |
| 79 | <xi:include href="examples-xml/vbap8move.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 80 | </example> |
| 81 | </para> |
| 82 | </refsect1> |
| 83 | <refsect1> |
| 84 | <title>Reference</title> |
| 85 | <para> |
| 86 | 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. |
| 87 | </para> |
| 88 | </refsect1> |
| 89 | |
| 90 | <refsect1> |
| 91 | <title>See also</title> |
| 92 | <para><link linkend="SigmodPanspatl"><citetitle>Panning and Spatialization: Vector Base Amplitude Panning</citetitle></link></para> |
| 93 | </refsect1> |
| 94 | |
| 95 | <refsect1> |
| 96 | <title>Credits</title> |
| 97 | <para> |
| 98 | <simplelist> |
| 99 | <member>Author: Ville Pulkki</member> |
| 100 | <member>Sibelius Academy Computer Music Studio</member> |
| 101 | <member>Laboratory of Acoustics and Audio Signal Processing</member> |
| 102 | <member>Helsinki University of Technology</member> |
| 103 | <member>Helsinki, Finland</member> |
| 104 | <member>May 2000</member> |
| 105 | </simplelist> |
| 106 | </para> |
| 107 | |
| 108 | <para>New in Csound Version 4.07</para> |
| 109 | </refsect1> |
| 110 | </refentry> |