/** * Changes the tone to the previous value. */ void GuitarTunerUI::prev() { changeTone((m_currentToneIndex + 5) % 6); }
void GuitarTuner::prev() { if(m_outputActive) changeTone((m_currentToneIndex + 5) % 6); }
/** * Changes the tone to the next value. */ void GuitarTunerUI::next() { changeTone((m_currentToneIndex + 1) % 6); }
void GuitarTuner::next() { if(m_outputActive) changeTone((m_currentToneIndex + 1) % 6); }