Package de.maramuse.soundcomp.events

Examples of de.maramuse.soundcomp.events.SeamlessTempoChangeEvent


  public void testTempoChangeCalculations() {
  TempoChangeEvent itce=new InverseTempoChangeEvent(10d);
  itce.setBeat(0);
  TempoChangeEvent etce=new ExponentialTempoChangeEvent(10d);
  etce.setBeat(0);
  TempoChangeEvent stce=new SeamlessTempoChangeEvent(10d);
  stce.setBeat(0);
  TempoChangeEvent htce=new HarmonicTempoChangeEvent(10d);
  htce.setBeat(0);
  TempoChangeEvent ltce=new LinearTempoChangeEvent(10d);
  ltce.setBeat(0);
  System.out.println("testing inverse tc accel");
  testTempoChange(itce, true);
  System.out.println("testing exponential tc accel");
  testTempoChange(etce, true);
  System.out.println("testing harmonic tc accel");
  testTempoChange(htce, true);
  System.out.println("testing seamless tc accel");
  testTempoChange(stce, true);
  System.out.println("testing linear tc accel");
  testTempoChange(ltce, true);
  itce=new InverseTempoChangeEvent(10d);
  itce.setBeat(0);
  etce=new ExponentialTempoChangeEvent(10d);
  etce.setBeat(0);
  stce=new SeamlessTempoChangeEvent(10d);
  stce.setBeat(0);
  htce=new HarmonicTempoChangeEvent(10d);
  htce.setBeat(0);
  System.out.println("testing inverse tc decel");
  testTempoChange(itce, false);
  System.out.println("testing exponential tc decel");
View Full Code Here


    break;
    case ACCELMODE_INVERSE:
    tce=new InverseTempoChangeEvent(tempTimestamp);
    break;
    case ACCELMODE_SEAMLESS:
    tce=new SeamlessTempoChangeEvent(tempTimestamp);
    break;
    case ACCELMODE_RETURN:
    tce=new ReturnToGlobalTiming(tempTimestamp);
    break;
    case ACCELMODE_LINEAR:
View Full Code Here

TOP

Related Classes of de.maramuse.soundcomp.events.SeamlessTempoChangeEvent

Copyright © 2018 www.massapicom. 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.