fluidNoteSignal Generators:Sample PlaybackfluidNotefluidNote
Plays a note on a channel in a fluidSynth engine.
SyntaxfluidNote ienginenum, ichannelnum, imidikey, imidivelDescription
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/pluginsPlays a note at imidikey pitch and imidivel velocity
on ichannelnum channel of number ienginenum fluidEngine.
Initializationienginenum -- engine number assigned from
fluidEngineichannelnum -- which channel number to play a note
on in the given fluidEngineimidikey -- MIDI key for note (0-127)imidivel -- MIDI velocity for note (0-127)Examples
Here is an example of the fluidNote opcode. It uses the file fluidNote.csd and 19Trumpet.sf2.
Example of the fluidNote 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: 56 Trumpet metallic
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.