Package de.maramuse.soundcomp.process

Examples of de.maramuse.soundcomp.process.Event.addElement()


  InputFile ifsn=new InputFile("javasrc/de/maramuse/soundcomp/test/testfiles/sd.wav");
  snare.setAbstractName("snare");
  snare.setInstanceName("snare"+nameCount++);
  snare.setDuration(0.025);
  snare.setLivetime(1.25);
  snare.addElement(ifsn);
  try{
    m3.setSource(IN_IMAG.i, ifsn, OUT.i);
    m3.setSource(IN.i, ConstStream.c(left), OUT.i);
    m4.setSource(IN_IMAG.i, ifsn, OUT_IMAG.i);
    m4.setSource(IN.i, ConstStream.c(right), OUT.i);
View Full Code Here


    m4.setSource(IN_IMAG.i, ifsn, OUT_IMAG.i);
    m4.setSource(IN.i, ConstStream.c(right), OUT.i);
  }catch(Exception ex){
    ex.printStackTrace();
  }
  snare.addElement(m3);
  snare.addElement(m4);
  snare.addMixerConnection(drums_L, m3, OUT.i);
  snare.addMixerConnection(drums_R, m4, OUT.i);
  return snare;
  }
View Full Code Here

    m4.setSource(IN.i, ConstStream.c(right), OUT.i);
  }catch(Exception ex){
    ex.printStackTrace();
  }
  snare.addElement(m3);
  snare.addElement(m4);
  snare.addMixerConnection(drums_L, m3, OUT.i);
  snare.addMixerConnection(drums_R, m4, OUT.i);
  return snare;
  }
View Full Code Here

  // would need to be stopped similar to the hihat handling
  Event crash=new Event();
  InputFile ifsn=new InputFile("javasrc/de/maramuse/soundcomp/test/testfiles/crash.wav");
  crash.setDuration(0.025);
  crash.setLivetime(5.25);
  crash.addElement(ifsn);
  crash.setAbstractName("crash");
  crash.setInstanceName("crash"+nameCount++);
  return crash;
  }
View Full Code Here

  // would need to be influenced on a second hit depending on what kind of hit occurs
  Event ride=new Event();
  InputFile ifsn=new InputFile("javasrc/de/maramuse/soundcomp/test/testfiles/ride.wav");
  ride.setDuration(0.025);
  ride.setLivetime(5.25);
  ride.addElement(ifsn);
  ride.setAbstractName("ride");
  ride.setInstanceName("ride"+nameCount++);
  return ride;
  }
View Full Code Here

  }catch(UnknownConnectionException e){
    e.printStackTrace();
  }catch(TypeMismatchException e){
    e.printStackTrace();
  }
  tom.addElement(ev);
  tom.addElement(m);
  tom.addElement(m1);
  tom.addElement(m2);
  tom.addElement(p1);
  tom.addElement(p2);
View Full Code Here

    e.printStackTrace();
  }catch(TypeMismatchException e){
    e.printStackTrace();
  }
  tom.addElement(ev);
  tom.addElement(m);
  tom.addElement(m1);
  tom.addElement(m2);
  tom.addElement(p1);
  tom.addElement(p2);
  tom.addElement(st);
View Full Code Here

  }catch(TypeMismatchException e){
    e.printStackTrace();
  }
  tom.addElement(ev);
  tom.addElement(m);
  tom.addElement(m1);
  tom.addElement(m2);
  tom.addElement(p1);
  tom.addElement(p2);
  tom.addElement(st);
  tom.setAbstractName("tom");
View Full Code Here

    e.printStackTrace();
  }
  tom.addElement(ev);
  tom.addElement(m);
  tom.addElement(m1);
  tom.addElement(m2);
  tom.addElement(p1);
  tom.addElement(p2);
  tom.addElement(st);
  tom.setAbstractName("tom");
  tom.setInstanceName("tom"+nameCount++);
View Full Code Here

  }
  tom.addElement(ev);
  tom.addElement(m);
  tom.addElement(m1);
  tom.addElement(m2);
  tom.addElement(p1);
  tom.addElement(p2);
  tom.addElement(st);
  tom.setAbstractName("tom");
  tom.setInstanceName("tom"+nameCount++);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.