ll <code>1/ma.SR</code>, so that it takes <code>ma.SR</code> samples (i.e. 1 second) for the phase signal to go from 0 to 1.</p>
<p>If we want a frequency of 440 Hz, we need a 440 times larger step so that the phase signal goes from 0 to 1, 440 times faster:</p>
<pre><code>phase = 440/ma.SR : (+ : decimalpart) ~ _;
</code></pre>
<p>This definition can be generalized by replacing <code>440</code> with an <code>f</code> parameter:</p>
<pre><code>phase(f) = f/ma.SR : (+ : decimalpart) ~ _;
</code></pre>
<p>and