Debian Codegraph @

opcodes/pvsifd.xml

raw symbols SCIP
1
2 <refentry id="pvsifd">
3 <indexterm id="Indexpvsifd"><primary>pvsifd</primary></indexterm>
4 <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>pvsifd</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>pvsifd</refname>
13 <refpurpose>
14 Instantaneous Frequency Distribution, magnitude and phase analysis.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 The pvsifd opcode takes an input a-rate signal and performs an Instantaneous Frequency,
22 magnitude and phase analysis, using the STFT and pvsifd (Instantaneous Frequency Distribution),
23 as described in Lazzarini et al, "Time-stretching using the Instantaneous Frequency Distribution and Partial
24 Tracking", Proc.of ICMC05, Barcelona. It generates two PV streaming signals, one containing the
25 amplitudes and frequencies (a similar output to pvsanal) and another containing amplitudes and
26 unwrapped phases.
27 </para>
28 </refsect1>
29
30 <refsect1>
31 <title>Syntax</title>
32 <synopsis>ffr,fphs <command>pvsifd</command> ain, ifftsize, ihopsize, iwintype[,iscal]</synopsis>
33 </refsect1>
34
35 <refsect1>
36 <title>Performance</title>
37 <para>
38 <emphasis>ffr</emphasis> -- output pv stream in AMP_FREQ format
39 </para>
40
41 <para>
42 <emphasis>fphs</emphasis> -- output pv stream in AMP_PHASE format
43 </para>
44
45 <para>
46 <emphasis>ifftsize</emphasis> -- FFT analysis size, must be power-of-two and integer multiple of the hopsize.
47 </para>
48
49 <para>
50 <emphasis>ihopsize</emphasis> -- hopsize in samples
51 </para>
52
53 <para>
54 <emphasis>iwintype</emphasis> -- window type (O: Hamming, 1: Hanning)
55 </para>
56
57 <para>
58 <emphasis>iscal</emphasis> -- amplitude scaling (defaults to 1).
59 </para>
60 <warning>
61 <para>
62 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.
63 </para>
64 </warning>
65
66 </refsect1>
67
68 <refsect1>
69 <title>Examples</title>
70 <para>
71 Here is an example of the pvsifd opcode. It uses the file <ulink url="examples/pvsifd.csd"><citetitle>pvsifd.csd</citetitle></ulink>.
72 <example>
73 <title>Example of the pvsifd opcode.</title>
74 <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>
75 <xi:include href="examples-xml/pvsifd.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
76 </example>
77 </para>
78 <para>The example above shows the pvsifd analysis feeding into partial tracking andcubic-phase additive resynthesis with pitch shifting.</para>
79 </refsect1>
80
81 <refsect1>
82 <title>See also</title>
83 <para><link linkend="SpectralRealTime"><citetitle>Tools for Real-time Spectral Processing (pvs opcodes)</citetitle></link></para>
84 </refsect1>
85
86 <refsect1>
87 <title>Credits</title>
88 <para>
89 <simplelist>
90 <member>Author: &namevictor;</member>
91 <member>June 2005 </member>
92 </simplelist>
93 </para>
94
95 <para>New plugin in version 5</para>
96 <para>November 2004.</para>
97 </refsect1>
98 </refentry>