<div dir="ltr">Hi, ChucK users!  I&#39;m having a problem that seems like it should have a simple solution, but I can&#39;t figure it out.<br><br>Here&#39;s a program which plays a WAV (which is about 1.5 seconds long) every two seconds, several times:<br><br>SndBuf buf;<br>&quot;d3-fa.wav&quot; =&gt; buf.read;<br>0.2 =&gt; buf.gain;<br><br>2000 =&gt; int notelen;<br><br>for (0 =&gt; int i; i &lt; 20; i++) {<br>    0 =&gt; buf.pos;<br>    buf =&gt; dac;<br>    notelen::ms =&gt; now;<br>}<br><br>Each time (using ChucK 1.4), it gets louder, and I can&#39;t figure out why.  What am I getting wrong?<br><br>Thanks!<br><div>Brian</div><div><br></div><div>PS. you can find my d3-fa.wav here:</div><div><br></div><div><a href="https://drive.google.com/file/d/1B0ZNnGNcF5BKGzmYpdMYdZOO5SbC_4FQ/view">https://drive.google.com/file/d/1B0ZNnGNcF5BKGzmYpdMYdZOO5SbC_4FQ/view</a></div></div>