title: Dynamic DSP.setParameter with FMOD
body: <p>I want to play sound with effect.</p>
  
  <p>In example, I'm using low and highpass, I want to set the parameters of two effect with the mouse location (x, y).</p>
  
  <p>I used DSP.reset() and DSP.setParameter(), but, there is a problem.</p>
  
  <p>If I moved the mouse faster and faster, the Sound is not smooth.</p>
  
  <p>The original sound is played between time of the code reset() and setParameter() .</p>
  
  <p>Therefore I can hear a sound like spark( 'tick! tick!').</p>
  
  <p>I want to make it smooth.</p>
  
  <p>Is there any way??</p>
  
  <pre><code>private void mouse_effect_move(object sender, MouseEventArgs e)
      {
  
          int i;
          i = e.Y / 10;
  
          dsplowpass.reset();
          dsphighpass.reset();
  
          if (i &lt; 9)
          {
              dsphighpass.setParameter(0, 6310 - 700 * i);
              //dsphighpass.setParameter(1, 1);
  
          }
          else
          {
              dsplowpass.setParameter(0, 22000 - 2200 * (i - 9));
              //dsplowpass.setParameter(1, 1);
          }
  
      }
  </code></pre>