diff --git a/Magical8bitPlug2.jucer b/Magical8bitPlug2.jucer index 1bbe65a..d21ef6a 100644 --- a/Magical8bitPlug2.jucer +++ b/Magical8bitPlug2.jucer @@ -1,13 +1,14 @@ - + pluginDesc="8bit sound generator 2nd ver. by YMCK" displaySplashScreen="1" + jucerFormatVersion="1"> diff --git a/Source/BaseVoice.cpp b/Source/BaseVoice.cpp index e07dedb..ada2bdc 100644 --- a/Source/BaseVoice.cpp +++ b/Source/BaseVoice.cpp @@ -106,6 +106,10 @@ void BaseVoice::stopNote (float, bool allowTailOff) void BaseVoice::renderNextBlock (AudioSampleBuffer& outputBuffer, int startSample, int numSamples) { + if (getCurrentlyPlayingNote() == -1) { + return; + } + if (angleDelta == 0.0) { return;