Debian Codegraph @

opcodes/tradsyn.xml

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