tdfaust.lib");

// FM: Frequency modulation

FM(fc,fm,amp) = fm : os.osc : *(amp) : +(1) : *(fc) : os.osc;

process = FM( 
            hslider("freq carrier", 880, 40, 8000, 1),
            hslider("freq modulation", 200, 10, 1000, 1),
            hslider("amp modulation", 0, 0, 1, 0.01)
            ) 
        <: _,_;

--></faust-editor>
<br>
</div>
<!-- /faust-run -->

<h3 id="example-2-frequency-modulation-with-envelops">Example 2: frequency modulation with envelops</h3>
<!-- faust-run -->
<div class="fau