fluidControl

Syntax

fluidControl ienginenum, kstatus, kchannel, kdata1, kdata2

Description

Plugin opcode in fluidOpcodes.

The fluid opcodes provide a simple
Csound opcode wrapper around Peter Hanappe's Fluidsynth SoundFont2
synthesizer. This implementation accepts any MIDI note on, note
off, controller, pitch bend, or program change message at
k-rate. Maximum polyphony is 4096 simultaneously sounding
voices. Any number of SoundFonts may be loaded and played
simultaneously.

Invoke fluidControl in instrument definitions that actually play
notes and send control messages. Each instrument definition must
consistently use one MIDI channel that was assigned to a Fluidsynth
program using fluidLoad.

In this implementation, SoundFont effects such as chorus or
reverb are used if and only if they are defaults for the preset. There
is no means of turning such effects on or off, or of changing their
parameters, from Csound.

Examples

Here is a more complex example of the fluidsynth opcodes written by Istvan Varga. It uses the file fluidcomplex.csd.

Credits

Opcodes by Michael Gogins (gogins at pipeline dot
com). Thanks to Peter Hanappe for Fluidsynth, and to Steven Yi for
seeing that it is necessary to break up the Fluidsynth into several
different Csound opcodes.