&lt; (psd.attack + psd.decay)) <span class="comment">// DECAY VOLUME</span></div>
<div class="line">      pwave-&gt;setVolume( map( current - psd.attack,  0, psd.decay,  psd.volume, sustainVolume ) );</div>
<div class="line">    <span class="keywordflow">else</span> <span class="keywordflow">if</span> ( current &gt; psd.durationms - psd.release) <span class="comment">// RELEASE VOLUME</span></div>
<div class="line">      pwave-&gt;setVolume( map( current - (psd.durationms - psd.release),  0, psd.release,  s