Skip to content

changing soundfont file on a channel via midi CC messages? #1353

Answered by derselbst
donundeen asked this question in Q&A
Discussion options

You must be logged in to vote

MIDI doesn't know about soundfont and therefore no MIDI event event exists to switch between soundfonts. Your options are:

  • Use fluidsynth's API directly (fluid_synth_program_select())
  • Use fluidsynth's sequencer, which provides custom events (similar to MIDI, yet different), which has an event type FLUID_SEQ_PROGRAMSELECT
  • Structure the presets of your soundfonts in such a way, that you can use bank select messages (CC00 and CC32) to switch between soundfonts, by exploiting fluidsynth's soundfont stack

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by derselbst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants