n class="keywordflow">if</span> (noteIndex == 12) {</div>
<div class="line">    noteIndex = 0;</div>
<div class="line">    ++octave;</div>
<div class="line">  }</div>
<div class="line">  <span class="keywordflow">if</span> (noteIndex &gt;= 0 &amp;&amp; noteIndex &lt;= 11 &amp;&amp; octave &gt;= 2 &amp;&amp; octave &lt;= 7)</div>
<div class="line">    *freq = NIDX2FREQ[octave - 2][noteIndex];</div>
<div class="line">  <span class="keywordflow">return</span> note;</div>
<div class="line">}</div>
<div class="l