mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-27 06:22:06 +00:00
Elaborate on MSB and LSB handling, #1052
This commit is contained in:
parent
c037dde536
commit
8784dbbc74
1 changed files with 6 additions and 0 deletions
|
@ -1557,6 +1557,10 @@ fluid_synth_remove_default_mod(fluid_synth_t *synth, const fluid_mod_t *mod)
|
|||
|
||||
/**
|
||||
* Send a MIDI controller event on a MIDI channel.
|
||||
*
|
||||
* Most CCs are 7-bits wide in FluidSynth. There are a few exceptions which may be 14-bits wide as are documented here:
|
||||
* https://github.com/FluidSynth/fluidsynth/wiki/FluidFeatures#midi-control-change-implementation-chart
|
||||
*
|
||||
* @param synth FluidSynth instance
|
||||
* @param chan MIDI channel number (0 to MIDI channel count - 1)
|
||||
* @param num MIDI controller number (0-127)
|
||||
|
@ -1571,6 +1575,8 @@ fluid_synth_remove_default_mod(fluid_synth_t *synth, const fluid_mod_t *mod)
|
|||
* could be used as CC global for all channels belonging to basic channel 7.
|
||||
* - Let a basic channel 0 in mode 3. If MIDI channel 15 is disabled it could be used
|
||||
* as CC global for all channels belonging to basic channel 0.
|
||||
* @warning Contrary to the MIDI Standard, this function does not clear LSB controllers,
|
||||
* when MSB controllers are received.
|
||||
*/
|
||||
int
|
||||
fluid_synth_cc(fluid_synth_t *synth, int chan, int num, int val)
|
||||
|
|
Loading…
Reference in a new issue