>  pwave-&gt;setVolume( ((psd.attack == 0) ? ( (psd.decay != 0) ? psd.volume : sustainVolume) : 0) );</div>
<div class="line">  pwave-&gt;setFrequency( psd.freq_start );</div>
<div class="line">  pwave-&gt;enable(<span class="keyword">true</span> );</div>
<div class="line"> </div>
<div class="line">  <span class="keywordtype">long</span> startTime = millis();</div>
<div class="line"> </div>
<div class="line">  <span class="keywordflow">while</span> ( millis() - startTime &lt; psd.durationms)</div>
<div clas