| 1 | |
| 2 | <refentry id="pvsmix"> |
| 3 | <indexterm id="IndexPvsmix"><primary>pvsmix</primary></indexterm> |
| 4 | <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>pvsmix</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>pvsmix</refname> |
| 11 | <refpurpose> |
| 12 | Mix 'seamlessly' two pv signals. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | Mix 'seamlessly' two pv signals. This opcode combines the |
| 20 | most prominent components of two pvoc streams into a single |
| 21 | mixed stream. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis>fsig <command>pvsmix</command> fsigin1, fsigin2</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Performance</title> |
| 32 | <para> |
| 33 | <emphasis>fsig</emphasis> -- output pv stream |
| 34 | </para> |
| 35 | |
| 36 | <para> |
| 37 | <emphasis>fsigin1</emphasis> -- input pv stream. |
| 38 | </para> |
| 39 | |
| 40 | <para> |
| 41 | <emphasis>fsigin2</emphasis> -- input pv stream, which must have |
| 42 | same format as <emphasis>fsigin1</emphasis>. |
| 43 | </para> |
| 44 | |
| 45 | <warning> |
| 46 | <para> |
| 47 | It is unsafe to use the same f-variable for both input and output of pvs opcodes. Using the same one might lead to undefined behavior on some opcodes. Use a different one on the left and right sides of the opcode. |
| 48 | </para> |
| 49 | </warning> |
| 50 | |
| 51 | </refsect1> |
| 52 | |
| 53 | <refsect1> |
| 54 | <title>Examples</title> |
| 55 | <para> |
| 56 | Here is an example of the pvsmix opcode. It uses the file <ulink url="examples/pvsmix.csd"><citetitle>pvsmix.csd</citetitle></ulink>. |
| 57 | <example> |
| 58 | <title>Example of the pvsmix opcode.</title> |
| 59 | <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> |
| 60 | <xi:include href="examples-xml/pvsmix.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 61 | </example> |
| 62 | </para> |
| 63 | </refsect1> |
| 64 | |
| 65 | <refsect1> |
| 66 | <title>See also</title> |
| 67 | <para><link linkend="SpectralRealTime"><citetitle>Tools for Real-time Spectral Processing (pvs opcodes)</citetitle></link></para> |
| 68 | </refsect1> |
| 69 | |
| 70 | <refsect1> |
| 71 | <title>Credits</title> |
| 72 | <para> |
| 73 | <simplelist> |
| 74 | <member>Author: &namevictor;</member> |
| 75 | <member>November 2004 </member> |
| 76 | </simplelist> |
| 77 | </para> |
| 78 | |
| 79 | <para>New plugin in version 5</para> |
| 80 | <para>November 2004.</para> |
| 81 | </refsect1> |
| 82 | </refentry> |