fluidOutSignal Generators:Sample PlaybackfluidOutfluidOut
Outputs sound from a given fluidEngine
Syntaxaleft, aright fluidOut ienginenumDescription
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/pluginsOutputs the sound from a fluidEngine.
Initializationienginenum -- engine number assigned from
fluidEnginePerformancealeft -- Left channel audio output.aright -- Right channel audio output.Invoke fluidOut in an instrument definition numbered higher than any
fluidcontrol instrument definitions. All SoundFonts used in the fluidEngine
numbered ienginenum send their audio output
to this one opcode. Send a note with an indefinite duration to this
instrument to turn the SoundFonts on for as long as required.
Examples
Here is an example of the fluidOut opcode with two fluidOuts. It uses the file fluidOut.csd, 01hpschd.sf2 and 22Bassoon.sf2.
Example of the fluidOut opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.
The output should include lines like these:
chnl 1 using instr 1
chnl 2 using instr 2
SoundFont: 1 Bank: 0 Preset: 0 Harpsichord I-8
SoundFont: 1 Bank: 0 Preset: 70 Ethan Bassoon mono
See alsoSoundfonts 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/SoundfontCreditsMichael Gogins (gogins at pipeline dot com), Steven Yi.
Thanks to Peter Hanappe for Fluidsynth.New in Csound5.00