MCPcopy Create free account
hub / github.com/Lovrom8/RSMods / HandleMidiAutoTuningInSong

Function HandleMidiAutoTuningInSong

DLL/ModManager.cpp:677–684  ·  view source on GitHub ↗

Handles MIDI auto-tuning when entering a song.

Source from the content-addressed store, hash-verified

675 /// Handles MIDI auto-tuning when entering a song.
676 /// </summary>
677 void HandleMidiAutoTuningInSong() {
678 if (Settings::ReturnSettingValue("AutoTuneForSong") == "on" &&
679 !Midi::alreadyAutomatedTuningInThisSong &&
680 (Settings::ReturnSettingValue("AutoTuneForSongWhen") == "tuner" ||
681 (Settings::ReturnSettingValue("AutoTuneForSongWhen") == "manual" && Midi::userWantsToUseAutoTuning))) {
682 Midi::AutomateTuning();
683 }
684 }
685
686 /// <summary>
687 /// Shows or hides the song timer based on settings.

Callers 1

HandleInSongStateFunction · 0.85

Calls 1

AutomateTuningFunction · 0.85

Tested by

no test coverage detected