| 1 | |
| 2 | <refentry id="pvsdiskin"> |
| 3 | <indexterm id="Indexpvsdiskin"><primary>pvsdiskin</primary></indexterm> |
| 4 | <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>pvsdiskin</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>pvsdiskin</refname> |
| 11 | <refpurpose> |
| 12 | Read a selected channel from a PVOC-EX analysis file. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para> |
| 19 | Create an fsig stream by reading a selected channel from a PVOC-EX analysis file, with frame interpolation. |
| 20 | </para> |
| 21 | </refsect1> |
| 22 | |
| 23 | <refsect1> |
| 24 | <title>Syntax</title> |
| 25 | <synopsis>fsig <command>pvsdiskin</command> SFname,ktscal,kgain[,ioffset, ichan]</synopsis> |
| 26 | </refsect1> |
| 27 | |
| 28 | <refsect1> |
| 29 | <title>Initialization</title> |
| 30 | <para> |
| 31 | <emphasis>Sfname</emphasis> -- Name of the analysis file. This must have the .pvx file extension. |
| 32 | </para> |
| 33 | |
| 34 | <para> |
| 35 | A multi-channel PVOC-EX file can be generated using the extended <link linkend="pvanal"><citetitle>pvanal utility</citetitle></link>. |
| 36 | </para> |
| 37 | |
| 38 | <para> |
| 39 | <emphasis>ichan</emphasis> -- (optional) The channel to read (counting from 1). Default is 1. |
| 40 | </para> |
| 41 | <para> |
| 42 | <emphasis>ioff</emphasis> -- start offset from beginning of file (secs) (default: 0) . |
| 43 | </para> |
| 44 | |
| 45 | </refsect1> |
| 46 | |
| 47 | <refsect1> |
| 48 | <title>Performance</title> |
| 49 | <para> |
| 50 | <emphasis>ktscal</emphasis> -- time scale, ie. the read pointer speed (1 is normal speed, negative is |
| 51 | backwards, 0 < ktscal < 1 is slower and ktscal > 1 is faster) </para> |
| 52 | <para> |
| 53 | <emphasis>kgain</emphasis> -- gain scaling. </para> |
| 54 | </refsect1> |
| 55 | |
| 56 | <refsect1> |
| 57 | <title>Examples</title> |
| 58 | <para> |
| 59 | Here is an example of the pvsdiskin opcode. It uses the file <ulink url="examples/pvsdiskin.csd"><citetitle>pvsdiskin.csd</citetitle></ulink>. |
| 60 | <example> |
| 61 | <title>Example of the pvsdiskin opcode.</title> |
| 62 | <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> |
| 63 | <xi:include href="examples-xml/pvsdiskin.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 64 | </example> |
| 65 | </para> |
| 66 | </refsect1> |
| 67 | |
| 68 | <refsect1> |
| 69 | <title>See also</title> |
| 70 | <para><link linkend="SpectralRealTime"><citetitle>Tools for Real-time Spectral Processing (pvs opcodes)</citetitle></link></para> |
| 71 | </refsect1> |
| 72 | |
| 73 | <refsect1> |
| 74 | <title>Credits</title> |
| 75 | <para> |
| 76 | <simplelist> |
| 77 | <member>Author: &namevictor;</member> |
| 78 | <member>May 2007 </member> |
| 79 | </simplelist> |
| 80 | New in Csound 5.06 |
| 81 | </para> |
| 82 | |
| 83 | </refsect1> |
| 84 | </refentry> |