fluidLoad Signal Generators:Sample Playback fluidLoad fluidLoad Loads a SoundFont into a fluidEngine, optionally listing SoundFont contents. Syntax isfnum fluidLoad soundfont, ienginenum[, ilistpresets] Description Plugin opcode in fluidOpcodes. This opcode is part of the plugin repository and has to be installed separately. The plugin repository can be found here: https://github.com/csound/plugins Loads a SoundFont into an instance of a fluidEngine, optionally listing banks and presets for SoundFont. Initialization isfnum -- number assigned to just-loaded soundfont. soundfont -- string specifying a SoundFont filename. Note that any number of SoundFonts may be loaded (obviously, by different invocations of fluidLoad). ienginenum -- engine number assigned from fluidEngine ilistpresets -- optional, if specified, lists all Fluidsynth programs for the just-loaded SoundFont. A Fluidsynth program is a combination of SoundFont ID, bank number, and preset number that is assigned to a MIDI channel. Performance Invoke fluidLoad in the orchestra header, any number of times. The same SoundFont may be invoked to assign programs to MIDI channels any number of times; the SoundFont is only loaded the first time. Examples Here is an example of the fluidLoad opcode. It uses the file fluidLoad.csd and 07AcousticGuitar.sf2. Example of the fluidLoad opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. The output should include a line like this: SoundFont: 1 Bank: 0 Preset: 0 Seagul Acoustic Git See also Soundfonts More information on soundfonts is in the Floss Manuals: https://flossmanual.csound.com/midi/reading-midi-files For other information on soundfonts look in the Wikipedia: http://en.wikipedia.org/wiki/Soundfont Credits Michael Gogins (gogins at pipeline dot com), Steven Yi. Thanks to Peter Hanappe for Fluidsynth. New in Csound5.00