private Event getHHClosed(double left, double right) {
// create the closed hihat from a sampled file
synchronized(hihatsync){
Event hihat_closed=new Event();
mul m3=new mul(), m4=new mul();
InputFile ifhc=new InputFile("javasrc/de/maramuse/soundcomp/test/testfiles/hh-c.wav");
ifhc.setAbstractName("ifhc");
ifhc.setInstanceName("ifhc"+nameCount++);
hihat_closed.setDuration(0.025);
hihat_closed.setLivetime(0.5);
/*
* we would have to disregister the open hihat when it is hit closed, but not at creation time, rather at run
* time. if(hihat!=null){ hihat.die(); drums_L.disconnect(hihatcl); drums_R.disconnect(hihatcr); }