| 1 | |
| 2 | <refentry id="pvsarp"> |
| 3 | <indexterm id="Indexpvsarp"><primary>pvsarp</primary></indexterm> |
| 4 | <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>pvsarp</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>pvsarp</refname> |
| 11 | <refpurpose> |
| 12 | Arpeggiate the spectral components of a streaming pv signal. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | This opcode arpeggiates spectral components, by amplifying one bin and attenuating |
| 20 | all the others around it. Used with an LFO it will provide a spectral arpeggiator similar to Trevor Wishart's |
| 21 | CDP program specarp. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis>fsig <command>pvsarp</command> fsigin, kbin, kdepth, kgain</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>fsigin</emphasis> -- input pv stream |
| 38 | </para> |
| 39 | |
| 40 | <para> |
| 41 | <emphasis>kbin</emphasis> -- target bin, normalised 0 - 1 (0Hz - Nyquist). |
| 42 | </para> |
| 43 | |
| 44 | <para> |
| 45 | <emphasis>kdepth</emphasis> -- depth of attenuation of surrounding bins |
| 46 | </para> |
| 47 | |
| 48 | <para> |
| 49 | <emphasis>kgain</emphasis> -- gain boost applied to target bin |
| 50 | </para> |
| 51 | <warning> |
| 52 | <para> |
| 53 | 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. |
| 54 | </para> |
| 55 | </warning> |
| 56 | |
| 57 | </refsect1> |
| 58 | <refsect1> |
| 59 | <title>Examples</title> |
| 60 | <para> |
| 61 | Here is an example of the pvsarp opcode. It uses the file <ulink url="examples/pvsarp.csd"><citetitle>pvsarp.csd</citetitle></ulink> |
| 62 | <example> |
| 63 | <title>Example of the pvsarp opcode.</title> |
| 64 | <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> |
| 65 | <xi:include href="examples-xml/pvsarp.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 66 | </example> |
| 67 | </para> |
| 68 | <para> |
| 69 | Here is another example of the pvsarp opcode. It uses the file <ulink url="examples/pvsarp2.csd"><citetitle>pvsarp2.csd</citetitle></ulink> |
| 70 | <example> |
| 71 | <title>Example of the pvsarp opcode.</title> |
| 72 | <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> |
| 73 | <xi:include href="examples-xml/pvsarp2.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 74 | </example> |
| 75 | </para> |
| 76 | </refsect1> |
| 77 | |
| 78 | <refsect1> |
| 79 | <title>See also</title> |
| 80 | <para><link linkend="SpectralRealTime"><citetitle>Tools for Real-time Spectral Processing (pvs opcodes)</citetitle></link></para> |
| 81 | </refsect1> |
| 82 | |
| 83 | <refsect1> |
| 84 | <title>Credits</title> |
| 85 | <para> |
| 86 | <simplelist> |
| 87 | <member>Author: &namevictor;</member> |
| 88 | <member>April 2005 </member> |
| 89 | </simplelist> |
| 90 | </para> |
| 91 | |
| 92 | <para>New plugin in version 5</para> |
| 93 | <para>April 2005.</para> |
| 94 | </refsect1> |
| 95 | </refentry> |