summaryrefslogtreecommitdiff
path: root/opcodes/pvswarp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/pvswarp.xml')
-rw-r--r--opcodes/pvswarp.xml25
1 files changed, 4 insertions, 21 deletions
diff --git a/opcodes/pvswarp.xml b/opcodes/pvswarp.xml
index fd9ddc0..4aef1bd 100644
--- a/opcodes/pvswarp.xml
+++ b/opcodes/pvswarp.xml
@@ -66,36 +66,19 @@
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.
</para>
</warning>
-
</refsect1>
+
<refsect1>
<title>Examples</title>
<para>
+ Here is an example of the pvswarp opcode. It uses the file <ulink url="examples/pvswarp.csd"><citetitle>pvswarp.csd</citetitle></ulink>.
<example>
- <title>Example</title>
- <programlisting>
-asig in ; get the signal in
-
-fsig pvsanal asig, 1024, 256, 1024, 1 ; analyse it
-ftps pvswarp fsig, 1.5, 0 ; warp it
-atps pvsynth ftps ; synthesise it
-
- out atps
-</programlisting>
- </example>
- </para>
- <para>
- The example above shows a spectral envelope warper, scaling the freq envelope by 1.5. Used with vocal sounds, it will shift the formants and result in a changed vowel timbre, similar to the effect of a singer inhaling helium (the 'donald duck' effect).
- </para>
- <para>
- Here is an example of the use of the <emphasis>pvswarp</emphasis> opcode. It uses the file <ulink url="examples/pvswarp.csd"><citetitle>pvswarp.csd</citetitle></ulink>.
-<!-- <example>
- <title>Example of the <emphasis>pvswarp</emphasis> opcode.</title>
+ <title>Example of the pvswarp opcode.</title>
<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>
<xi:include href="examples-xml/pvswarp.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
--->
</para>
+ <para>Used with vocal sounds, it will shift the formants and result in a changed vowel timbre, similar to the effect of a singer inhaling helium (the 'donald duck' effect).</para>
</refsect1>
<refsect1>