diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-04-11 00:40:55 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-04-11 00:40:55 +0300 |
commit | a074c7f2163def562a78ebf4c75e412580dd3118 (patch) | |
tree | ae8c0a7d5006516036f0a8f3cf7c8ed21bf3e7c9 /include/adlmidi.h | |
parent | e81541bc74e2083afba8a38ab364e98b39c32b70 (diff) | |
download | libADLMIDI-a074c7f2163def562a78ebf4c75e412580dd3118.tar.gz libADLMIDI-a074c7f2163def562a78ebf4c75e412580dd3118.tar.bz2 libADLMIDI-a074c7f2163def562a78ebf4c75e412580dd3118.zip |
Changed logic of CC-74 Brightness
to affect sound only between 0 and 64 like real XG synthesizers affect sound only between 0 and 64.
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r-- | include/adlmidi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h index 6786f4a..b21df2c 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -110,6 +110,12 @@ extern void adl_setHTremolo(struct ADL_MIDIPlayer *device, int htremo); /*Override Enable(1) or Disable(0) scaling of modulator volumes. -1 - use bank default scaling of modulator volumes*/ extern void adl_setScaleModulators(struct ADL_MIDIPlayer *device, int smod); +/*Enable(1) or Disable(0) full-range brightness (MIDI CC74 used in XG music to filter result sounding) scaling. + By default, brightness affects sound between 0 and 64. + When this option is enabled, the range will use a full range from 0 up to 127. +*/ +extern void adl_setFullRangeBrightness(struct ADL_MIDIPlayer *device, int fr_brightness); + /*Enable or disable built-in loop (built-in loop supports 'loopStart' and 'loopEnd' tags to loop specific part)*/ extern void adl_setLoopEnabled(struct ADL_MIDIPlayer *device, int loopEn); |