@@ -537,7 +537,7 @@ define(function (require) {
537
537
538
538
// get and set value (with linear ramp) to anchor automation
539
539
var valToSet = this . control . getValueAtTime ( t ) ;
540
- this . control . cancelScheduledValues ( t ) ; // not sure if this is necessary
540
+
541
541
if ( this . isExponential === true )
542
542
{
543
543
this . control . exponentialRampToValueAtTime ( this . checkExpInput ( valToSet ) , t ) ;
@@ -558,14 +558,12 @@ define(function (require) {
558
558
{
559
559
this . control . exponentialRampToValueAtTime ( this . checkExpInput ( this . aLevel ) , t ) ;
560
560
valToSet = this . checkExpInput ( this . control . getValueAtTime ( t ) ) ;
561
- this . control . cancelScheduledValues ( t ) ;
562
561
this . control . exponentialRampToValueAtTime ( valToSet , t ) ;
563
562
}
564
563
else
565
564
{
566
565
this . control . linearRampToValueAtTime ( this . aLevel , t ) ;
567
566
valToSet = this . control . getValueAtTime ( t ) ;
568
- this . control . cancelScheduledValues ( t ) ;
569
567
this . control . linearRampToValueAtTime ( valToSet , t ) ;
570
568
}
571
569
@@ -575,14 +573,12 @@ define(function (require) {
575
573
{
576
574
this . control . exponentialRampToValueAtTime ( this . checkExpInput ( this . dLevel ) , t ) ;
577
575
valToSet = this . checkExpInput ( this . control . getValueAtTime ( t ) ) ;
578
- this . control . cancelScheduledValues ( t ) ;
579
576
this . control . exponentialRampToValueAtTime ( valToSet , t ) ;
580
577
}
581
578
else
582
579
{
583
580
this . control . linearRampToValueAtTime ( this . dLevel , t ) ;
584
581
valToSet = this . control . getValueAtTime ( t ) ;
585
- this . control . cancelScheduledValues ( t ) ;
586
582
this . control . linearRampToValueAtTime ( valToSet , t ) ;
587
583
}
588
584
} ;
@@ -668,7 +664,6 @@ define(function (require) {
668
664
669
665
// get and set value (with linear or exponential ramp) to anchor automation
670
666
var valToSet = this . control . getValueAtTime ( t ) ;
671
- this . control . cancelScheduledValues ( t ) ; // not sure if this is necessary
672
667
if ( this . isExponential === true )
673
668
{
674
669
this . control . exponentialRampToValueAtTime ( this . checkExpInput ( valToSet ) , t ) ;
@@ -685,14 +680,12 @@ define(function (require) {
685
680
{
686
681
this . control . exponentialRampToValueAtTime ( this . checkExpInput ( this . rLevel ) , t ) ;
687
682
valToSet = this . checkExpInput ( this . control . getValueAtTime ( t ) ) ;
688
- this . control . cancelScheduledValues ( t ) ;
689
683
this . control . exponentialRampToValueAtTime ( valToSet , t ) ;
690
684
}
691
685
else
692
686
{
693
687
this . control . linearRampToValueAtTime ( this . rLevel , t ) ;
694
688
valToSet = this . control . getValueAtTime ( t ) ;
695
- this . control . cancelScheduledValues ( t ) ;
696
689
this . control . linearRampToValueAtTime ( valToSet , t ) ;
697
690
}
698
691
@@ -768,7 +761,7 @@ define(function (require) {
768
761
769
762
//get current value
770
763
var currentVal = this . checkExpInput ( this . control . getValueAtTime ( t ) ) ;
771
- this . control . cancelScheduledValues ( t ) ;
764
+ // this.control.cancelScheduledValues(t);
772
765
773
766
//if it's going up
774
767
if ( destination1 > currentVal ) {
0 commit comments