delay times synchronized to the BPM in the processAudioFrame function might look like this:</p>
<div class="fragment"><div class="line"><span class="comment">//</span></div>
<div class="line"><span class="keywordflow">if</span> (processFrameInfo.hostInfo)</div>
<div class="line">{</div>
<div class="line">   <span class="keywordtype">double</span> quarterNoteDelay = 60.0 / processFrameInfo.hostInfo-&gt;dBPM;</div>
<div class="line">   <span class="keywordtype">double</span> eighthNoteDelay = quarterNoteDelay