<div dir="ltr"><div>Hi Everyone!</div><div>Wath is wrong in this code?</div><div><br></div><div><br></div>// Using SndBuf to play a sound file<br>// by ChucK Programmer, December 2050<br>SndBuf mySound =&gt; dac;<br>// get file path<br>me.dir(C:\Program Files (x86)\ChucK\audio\123.wav) =&gt; string path;<br>// sound file we want to play<br>&quot;/audio/123.wav&quot; =&gt; string filename;<br>// + sign connects strings together!<br>path+filename =&gt; filename;<br>// tell SndBuf to read this file<br>filename =&gt; mySound.read;<br>// set gain<br>0.5 =&gt; mySound.gain;<br>// play sound from the beginning<br>0.1 =&gt; mySound.pos;<br>// advance time so we can hear it<br>second =&gt; now;<br>//<br></div>