Debian Codegraph @

opcodes/fluidSetInterpMethod.xml

raw symbols SCIP
1 <refentry id="fluidSetInterpMethod">
2 <indexterm id="IndexFluidSetInterpMethod"><primary>fluidSetInterpMethod</primary></indexterm>
3 <refentryinfo><title>Signal Generators:Sample Playback</title></refentryinfo>
4 <refmeta>
5 <refentrytitle>fluidSetInterpMethod</refentrytitle>
6 </refmeta>
7 <refnamediv>
8 <refname>fluidSetInterpMethod</refname>
9 <refpurpose>
10 Set interpolation method for channel in Fluid Engine
11 </refpurpose>
12 </refnamediv>
13
14 <refsect1>
15 <title>Syntax</title>
16 <synopsis><command>fluidSetInterpMethod</command> ienginenum, ichannelnum, iInterpMethod</synopsis>
17 </refsect1>
18
19 <refsect1>
20 <title>Description</title>
21 <para>
22 Plugin opcode in fluidOpcodes. This opcode is part of the plugin repository and has to be installed separately.
23 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
24 <para>Set interpolation method for channel in Fluid Engine. Lower
25 order interpolation methods will render faster at lower fidelity while
26 higher order interpolation methods will render slower at higher fidelity.
27 Default interpolation for a channel is 4th order interpolation.
28 </para>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para><emphasis>ienginenum</emphasis> -- engine number assigned from fluidEngine</para>
34 <para><emphasis>ichannelnum</emphasis> -- which channel number to use for the preset in the given fluidEngine</para>
35 <para><emphasis>iInterpMethod</emphasis>
36 -- interpolation method, can be any of the following
37
38 <itemizedlist>
39 <listitem>
40 <para>
41 <emphasis>0</emphasis>
42 -- No Interpolation
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 <emphasis>1</emphasis>
48 -- Linear Interpolation
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 <emphasis>4</emphasis>
54 -- 4th Order Interpolation (Default)
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 <emphasis>7</emphasis>
60 -- 7th Order Interpolation (Highest)
61 </para>
62 </listitem>
63 </itemizedlist>
64
65 </para>
66
67 </refsect1>
68
69 <refsect1>
70 <title>Examples</title>
71 <para>
72 Here is an example of the fluidSetInterpMethod opcode. It uses the file <ulink url="examples/fluidSetInterpMethod.csd"><citetitle>fluidSetInterpMethod.csd</citetitle></ulink> and <ulink url="examples/07AcousticGuitar.sf2"><citetitle>07AcousticGuitar.sf2</citetitle></ulink>.
73 <example>
74 <title>Example of the fluidSetInterpMethod opcode.</title>
75 <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>
76 <xi:include href="examples-xml/fluidSetInterpMethod.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
77 </example>
78 </para>
79 </refsect1>
80
81 <refsect1>
82 <title>See also</title>
83 <para><link linkend="SiggenSample"><citetitle>Soundfonts</citetitle></link></para>
84 <para> More information on soundfonts is in the Floss Manuals: <ulink url="https://flossmanual.csound.com/midi/reading-midi-files"><citetitle>https://flossmanual.csound.com/midi/reading-midi-files</citetitle></ulink></para>
85 <para> For other information on soundfonts look in the Wikipedia: <ulink url="http://en.wikipedia.org/wiki/Soundfont"><citetitle>http://en.wikipedia.org/wiki/Soundfont</citetitle></ulink></para>
86 </refsect1>
87
88 <refsect1>
89 <title>Credits</title>
90 <para>Author: &namesteven;</para>
91 <para>New in version 5.07</para>
92 </refsect1>
93 </refentry>