diff --git a/mod.json b/mod.json index 8993bc2..22fdbf0 100644 --- a/mod.json +++ b/mod.json @@ -140,7 +140,7 @@ }, "sfx-semitone": { "name": "Pitch of the sounds", - "description": "Determines the pitch of click/release sounds using semitone. The Default semitones is set 0 (2 semitones = 1 Octave)", + "description": "Determines the pitch of click/release sounds using semitones. The Default semitones is set 0 (2 semitones = 1 Octave)", "type": "int", "default": 0, "min": -6, diff --git a/src/StaticClasses.hpp b/src/StaticClasses.hpp index 010f1fe..68fcd5c 100644 --- a/src/StaticClasses.hpp +++ b/src/StaticClasses.hpp @@ -66,11 +66,9 @@ class SoundCache { if (semitone < 0) { semitone = std::pow(2,semitone); // fix negtive octave } else { - semitone+=1; } pitchShifterDSP->setParameterFloat(FMOD_DSP_PITCHSHIFT_PITCH, semitone); // semitone is half a octave - FMODAudioEngine::sharedEngine()->m_system->update(); } ~SoundCache() {