").param( { gain: 0, at: 3, ramp: "expo", from_now: true } );
    })



</code></pre>






        <script>
M = new Mooog();
M.track( "osc",
    { id: "saw", node_type: "Oscillator", type: "sawtooth" },
    { id: "filter", node_type: "BiquadFilter", frequency: 300, Q: 30 },
    { id: "amplitude", node_type: "Gain", gain: 0 }
);
M.node('saw').start();

$(document)
    .on("mousedown", ".adsr1", function(){
        M.node("filter").adsr( "frequency", { base: 300, a: 10000, s:2500, times: [0.5, 0.5, 0, 3] } )