diff options
author | Wohlstand <admin@wohlnet.ru> | 2022-06-16 20:56:35 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2022-06-16 20:56:35 +0300 |
commit | 0980abf45c275d2a46245e1b1d3da30e56975970 (patch) | |
tree | 998658e696992b99a46a0f191f99396fb63cf6a9 /utils/midiplay/adlmidiplay.cpp | |
parent | e3bab473baf2c28bf9e8731f2a1af2e1acb5bfb0 (diff) | |
download | libADLMIDI-0980abf45c275d2a46245e1b1d3da30e56975970.tar.gz libADLMIDI-0980abf45c275d2a46245e1b1d3da30e56975970.tar.bz2 libADLMIDI-0980abf45c275d2a46245e1b1d3da30e56975970.zip |
Disable automatic arpeggio by default
Diffstat (limited to 'utils/midiplay/adlmidiplay.cpp')
-rw-r--r-- | utils/midiplay/adlmidiplay.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/midiplay/adlmidiplay.cpp b/utils/midiplay/adlmidiplay.cpp index a087953..ae90187 100644 --- a/utils/midiplay/adlmidiplay.cpp +++ b/utils/midiplay/adlmidiplay.cpp @@ -403,7 +403,7 @@ int main(int argc, char **argv) " will be combined into one\n" " --solo <track> Selects a solo track to play\n" " --only <track1,...,trackN> Selects a subset of tracks to play\n" - " -na Disable the auto-arpeggio\n" + " -ea Enable the auto-arpeggio\n" #ifndef HARDWARE_OPL3 " -fp Enables full-panning stereo support\n" " --emu-nuked Uses Nuked OPL3 v 1.8 emulator\n" @@ -484,7 +484,7 @@ int main(int argc, char **argv) bool recordWave = false; int loopEnabled = 1; #endif - int autoArpeggioEnabled = 1; + int autoArpeggioEnabled = 0; #ifndef HARDWARE_OPL3 int emulator = ADLMIDI_EMU_NUKED; @@ -542,8 +542,10 @@ int main(int argc, char **argv) else if(!std::strcmp("-nl", argv[2])) loopEnabled = 0; //Enable loop #endif - else if(!std::strcmp("-na", argv[2])) + else if(!std::strcmp("-na", argv[2])) // Deprecated autoArpeggioEnabled = 0; //Enable auto-arpeggio + else if(!std::strcmp("-ea", argv[2])) + autoArpeggioEnabled = 1; //Enable auto-arpeggio #ifndef HARDWARE_OPL3 else if(!std::strcmp("--emu-nuked", argv[2])) @@ -848,7 +850,7 @@ int main(int argc, char **argv) std::fprintf(stdout, "\n"); } - std::fprintf(stdout, " - Automatic arpeggio is turned %s\n", autoArpeggioEnabled ? "ON" : "OFF"); + std::fprintf(stdout, " - Automatic arpeggio is turned %s\n", adl_getAutoArpeggio(myDevice) ? "ON" : "OFF"); std::fprintf(stdout, " - File [%s] opened!\n", musPath.c_str()); flushout(stdout); |