diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-04-11 00:48:29 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-04-11 00:48:29 +0300 |
commit | 2568ec465c677f8455db54e56ee88e8d3a2967ab (patch) | |
tree | 21ecc541cd51ae16aae879e9de8f124c95ba58f9 /utils/midiplay | |
parent | a074c7f2163def562a78ebf4c75e412580dd3118 (diff) | |
download | libADLMIDI-2568ec465c677f8455db54e56ee88e8d3a2967ab.tar.gz libADLMIDI-2568ec465c677f8455db54e56ee88e8d3a2967ab.tar.bz2 libADLMIDI-2568ec465c677f8455db54e56ee88e8d3a2967ab.zip |
Added command line option to turn on full-ranged CC74 to MIDI Player tool
Diffstat (limited to 'utils/midiplay')
-rw-r--r-- | utils/midiplay/adlmidiplay.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/midiplay/adlmidiplay.cpp b/utils/midiplay/adlmidiplay.cpp index ed49b76..8e75604 100644 --- a/utils/midiplay/adlmidiplay.cpp +++ b/utils/midiplay/adlmidiplay.cpp @@ -193,6 +193,7 @@ int main(int argc, char **argv) " -t Enables tremolo amplification mode\n" " -v Enables vibrato amplification mode\n" " -s Enables scaling of modulator volumes\n" + " -frb Enables full-ranged CC74 XG Brightness controller\n" " -nl Quit without looping\n" " -w Write WAV file rather than playing\n" #ifndef HARDWARE_OPL3 @@ -306,7 +307,10 @@ int main(int argc, char **argv) #endif else if(!std::strcmp("-t", argv[2])) - adl_setHTremolo(myDevice, 1);//Turn on deep tremolo + adl_setHTremolo(myDevice, 1);//Firce turn on deep tremolo + + else if(!std::strcmp("-frb", argv[2])) + adl_setFullRangeBrightness(myDevice, 1);//Turn on a full-ranged XG CC74 Brightness #ifndef OUTPUT_WAVE_ONLY else if(!std::strcmp("-nl", argv[2])) |