| 1 | |
| 2 | <refentry id="cudasynth"> |
| 3 | <indexterm id="IndexCudasynth"><primary>cudasynth</primary></indexterm> |
| 4 | <refentryinfo><title>Spectral Processing:Streaming</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>cudasynth</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>cudasynth</refname> |
| 11 | <refpurpose> |
| 12 | Synthesis by additive synthesis and inverse FFT. Experimental and |
| 13 | only available as source code at the moment. |
| 14 | </refpurpose> |
| 15 | </refnamediv> |
| 16 | |
| 17 | <refsect1> |
| 18 | <title>Description</title> |
| 19 | <para> |
| 20 | Plugin opcode in cuda. This opcode is part of the plugin repository and has to be installed separately. |
| 21 | The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para> |
| 22 | <para> |
| 23 | Synthesis by additive synthesis and inverse FFT. |
| 24 | </para> |
| 25 | </refsect1> |
| 26 | |
| 27 | <refsect1> |
| 28 | <title>Syntax</title> |
| 29 | <synopsis>asig <command>cudasynth</command> kamp, kfreq, itab, iftab, iatab[, inum]</synopsis> |
| 30 | <synopsis>asig <command>cudasynth</command> fsig, kamp, kfreq[, inum]</synopsis> |
| 31 | <synopsis>asig <command>cudasynth</command> fsig</synopsis> |
| 32 | </refsect1> |
| 33 | |
| 34 | <refsect1> |
| 35 | <title>Initialization</title> |
| 36 | <para> |
| 37 | <emphasis>itab</emphasis> -- |
| 38 | </para> |
| 39 | <para> |
| 40 | <emphasis>iftab</emphasis> -- |
| 41 | </para> |
| 42 | <para> |
| 43 | <emphasis>iatab</emphasis> -- |
| 44 | </para> |
| 45 | <para> |
| 46 | <emphasis>inum</emphasis> -- (optional) |
| 47 | </para> |
| 48 | |
| 49 | </refsect1> |
| 50 | |
| 51 | <refsect1> |
| 52 | <title>Performance</title> |
| 53 | <para> |
| 54 | <emphasis>kamp</emphasis> -- |
| 55 | </para> |
| 56 | <para> |
| 57 | <emphasis>kfreq</emphasis> -- |
| 58 | </para> |
| 59 | <para> |
| 60 | <emphasis>fsig</emphasis> -- |
| 61 | </para> |
| 62 | |
| 63 | </refsect1> |
| 64 | |
| 65 | <refsect1> |
| 66 | <title>Examples</title> |
| 67 | <para> |
| 68 | Here is an example of the cudasynth opcode. It uses the file <ulink url="examples/cudasynth.csd"><citetitle>cudasynth.csd</citetitle></ulink>. |
| 69 | <example> |
| 70 | <title>Example of the cudasynth opcode.</title> |
| 71 | <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> |
| 72 | <xi:include href="examples-xml/cudasynth.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 73 | </example> |
| 74 | </para> |
| 75 | </refsect1> |
| 76 | |
| 77 | <refsect1> |
| 78 | <title>Credits</title> |
| 79 | <para> |
| 80 | <simplelist> |
| 81 | <member>Author: &namevictor;</member> |
| 82 | <member>2013</member> |
| 83 | </simplelist> |
| 84 | </para> |
| 85 | |
| 86 | <para>New in version 6.02</para> |
| 87 | </refsect1> |
| 88 | </refentry> |