| 1 | |
| 2 | <refentry id="fluidCCk"> |
| 3 | <indexterm id="IndexFluidCCk"><primary>fluidCCk</primary></indexterm> |
| 4 | <refentryinfo><title>Signal Generators:Sample Playback</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>fluidCCk</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>fluidCCk</refname> |
| 11 | <refpurpose> |
| 12 | Sends a MIDI controller data message to fluid. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Syntax</title> |
| 18 | <synopsis><command>fluidCCk</command> iEngineNumber, iChannelNumber, iControllerNumber, kValue</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>Sends a MIDI controller data (MIDI controller number and value to use) |
| 27 | message to a fluid engine by number on the user specified MIDI channel number. |
| 28 | </para> |
| 29 | </refsect1> |
| 30 | |
| 31 | <refsect1> |
| 32 | <title>Initialization</title> |
| 33 | <para><emphasis>iEngineNumber </emphasis> -- engine number assigned from |
| 34 | fluidEngine</para> |
| 35 | <para><emphasis>iChannelNumber </emphasis> -- MIDI channel number to which the |
| 36 | Fluidsynth program is assigned: from 0 to 255. MIDI channels numbered 16 or |
| 37 | higher are virtual channels.</para> |
| 38 | <para><emphasis>iControllerNumber </emphasis> -- MIDI controller number to use |
| 39 | for this message</para> |
| 40 | </refsect1> |
| 41 | |
| 42 | <refsect1> |
| 43 | <title>Performance</title> |
| 44 | <para><emphasis>kValue </emphasis> -- value to set for controller (usually |
| 45 | 0-127)</para> |
| 46 | </refsect1> |
| 47 | |
| 48 | <refsect1> |
| 49 | <title>Examples</title> |
| 50 | <para> |
| 51 | Here is an example of the fluidCCk opcodes. It uses the file <ulink url="examples/fluidCCk.csd"><citetitle>fluidCCk.csd</citetitle></ulink>. |
| 52 | </para> |
| 53 | <xi:include href="examples-xml/fluidCCk.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 54 | </refsect1> |
| 55 | |
| 56 | <refsect1> |
| 57 | <title>See also</title> |
| 58 | <para><link linkend="SiggenSample"><citetitle>Soundfonts</citetitle></link></para> |
| 59 | <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> |
| 60 | <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> |
| 61 | </refsect1> |
| 62 | |
| 63 | <refsect1> |
| 64 | <title>Credits</title> |
| 65 | <para>Michael Gogins (gogins at pipeline dot com), Steven Yi. |
| 66 | Thanks to Peter Hanappe for Fluidsynth.</para> |
| 67 | </refsect1> |
| 68 | </refentry> |