Debian Codegraph @

opcodes/resyn.xml

raw symbols SCIP
1
2 <refentry id="resyn">
3 <indexterm id="Indexresyn"><primary>resyn</primary></indexterm>
4 <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>resyn</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>resyn</refname>
13 <refpurpose>
14 Streaming partial track additive synthesis with cubic phase interpolation with
15 pitch control and support for timescale-modified input
16 </refpurpose>
17 </refnamediv>
18
19 <refsect1>
20 <title>Description</title>
21 <para>
22 The resyn opcode takes an input containg a TRACKS pv streaming signal (as generated,
23 for instance by partials). It resynthesises the signal using linear amplitude and cubic phase
24 interpolation to drive a bank of interpolating oscillators with amplitude and pitch scaling controls. Resyn is
25 a modified version of sinsyn, allowing for the resynthesis of data with pitch and timescale changes.
26 </para>
27 </refsect1>
28
29 <refsect1>
30 <title>Syntax</title>
31 <synopsis>asig <command>resyn</command> fin, kscal, kpitch, kmaxtracks, ifn</synopsis>
32 </refsect1>
33
34 <refsect1>
35 <title>Performance</title>
36 <para>
37 <emphasis>asig</emphasis> -- output audio rate signal
38 </para>
39
40 <para>
41 <emphasis>fin</emphasis> -- input pv stream in TRACKS format
42 </para>
43
44 <para>
45 <emphasis>kscal</emphasis> -- amplitude scaling
46 </para>
47
48 <para>
49 <emphasis>kpitch</emphasis> -- pitch scaling
50 </para>
51
52 <para>
53 <emphasis>kmaxtracks</emphasis> -- max number of tracks in resynthesis. Limiting this will cause
54 a non-linear filtering effect, by discarding newer and higher-frequency tracks (tracks are ordered
55 by start time and ascending frequency, respectively)
56 </para>
57
58 <para>
59 <emphasis>ifn</emphasis> -- function table containing one cycle of a sinusoid (sine or cosine) </para>
60 </refsect1>
61
62 <refsect1>
63 <title>Examples</title>
64 <para>
65 Here is an example of the resyn opcode. It uses the file <ulink url="examples/resyn.csd"><citetitle>resyn.csd</citetitle></ulink>.
66 <example>
67 <title>Example of the resyn opcode.</title>
68 <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>
69 <xi:include href="examples-xml/resyn.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
70 </example>
71 </para>
72 <para>The example above shows partial tracking of an ifd-analysis signal and cubic-phase additive resynthesis with pitch shifting. </para>
73 </refsect1>
74
75 <refsect1>
76 <title>See also</title>
77 <para><link linkend="SpectralRealTime"><citetitle>Tools for Real-time Spectral Processing (pvs opcodes)</citetitle></link></para>
78 </refsect1>
79
80 <refsect1>
81 <title>Credits</title>
82 <para>
83 <simplelist>
84 <member>Author: &namevictor;</member>
85 <member>June 2005 </member>
86 </simplelist>
87 </para>
88
89 <para>New plugin in version 5</para>
90 <para>November 2004.</para>
91 </refsect1>
92 </refentry>