>int updateAudio(){</div><div class="line">  // cast to long before multiply to give room for intermediate result,</div><div class="line">  // and also before shift,</div><div class="line">  // to give consistent results for both 8 and 32 bit processors.</div><div class="line">  return (int)((long)((long) aSig.next() * aGain.next()) &gt;&gt; 16); // shifted back to audio range after multiply</div><div class="line">}</div><div class="line"></div><div class="line"></div><div class="line">void loop(){</div><di