Debian Codegraph @

opcodes/fluidInfo.xml

raw symbols SCIP
1
2 <refentry id="fluidInfo">
3 <indexterm id="IndexFluidInfo"><primary>fluidInfo</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Sample Playback</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>fluidInfo</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>fluidInfo</refname>
11 <refpurpose>
12 Retrieves program information from currently loaded soundfont.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Syntax</title>
18 <synopsis>SPrograms[] <command>fluidInfo</command> ienginenum</synopsis>
19 </refsect1>
20
21 <refsect1>
22 <title>Description</title>
23 <para>
24 Plugin opcode in fluidOpcodes. This opcode is part of the plugin repository and has to be installed separately.
25 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
26 <para>Iterates through the current soundfont for program information. Information is passed to a string array.
27 </para>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32
33 <para><emphasis>SPrograms[]</emphasis> -- String array of program information</para>
34 <para><emphasis>ienginenum </emphasis> -- engine number assigned from
35 fluidEngine</para>
36 </refsect1>
37
38 <refsect1>
39 <title>Performance</title>
40 <para>fluidInfo runts at itime only.</para>
41 </refsect1>
42
43 <refsect1>
44 <title>Examples</title>
45 <para>
46 Here is an example of the fluidInfo opcode. It uses the file <ulink url="examples/fluidInfo.csd"><citetitle>fluidInfo.csd</citetitle></ulink> and <ulink url="examples/sf_GMbank.sf2"><citetitle>sf_GMbank.sf2</citetitle></ulink>.
47 <example>
48 <title>Example of the fluidInfo opcode.</title>
49 <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>
50 <xi:include href="examples-xml/fluidInfo.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
51 </example>
52 </para>
53 </refsect1>
54
55 <refsect1>
56 <title>See also</title>
57 <para><link linkend="SiggenSample"><citetitle>Soundfonts</citetitle></link></para>
58 <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>
59 <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>
60 </refsect1>
61
62 <refsect1>
63 <title>Credits</title>
64 <para>Rory Walsh, based on Steven Yi's fluidLoad opcode.
65 </para>
66 <para>New in Csound6.12</para>
67 </refsect1>
68 </refentry>