lib/minim/examples/Synthesis/dampExample/applet/dampExample.java
// every instrument must have a noteOn( float ) method
every instrument must have a noteOn( float ) method
every instrument must have a noteOn ( float ) method
public void noteOn(float dur)
  {
    damp.setDampTimeFromDuration( dur );
    damp.activate();
    damp.patch( out );
  }
public void noteOn ( float dur ) { damp . setDampTimeFromDuration ( dur ) ; damp . activate ( ) ; damp . patch ( out ) ; }
every instrument must have a noteOn( float ) method
every instrument must have a noteOn ( float ) method
// set the damp time from the duration given to the note // activate the damp // and finally patch the damp to the output