Esempio n. 1
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is BiQuadFilterDef bqf))
     {
         return(false);
     }
     return(FilterType == bqf.FilterType && Mix == bqf.Mix && Q == bqf.Q && Gain == bqf.Gain && Freq == bqf.Freq);
 }
Esempio n. 2
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is TapeStopDef stop))
     {
         return(false);
     }
     return(Mix == stop.Mix && Duration == stop.Duration);
 }
Esempio n. 3
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is BitCrusherDef bc))
     {
         return(false);
     }
     return(Mix == bc.Mix && Reduction == bc.Reduction);
 }
Esempio n. 4
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is SideChainDef sch))
     {
         return(false);
     }
     return(Mix == sch.Mix && Amount == sch.Amount && Duration == sch.Duration);
 }
Esempio n. 5
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is RetriggerDef rt))
     {
         return(false);
     }
     return(Mix == rt.Mix && GateDuration == rt.GateDuration && Gating == rt.Gating);
 }
Esempio n. 6
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is FlangerDef fl))
     {
         return(false);
     }
     return(Mix == fl.Mix && Delay == fl.Delay && Offset == fl.Offset && Depth == fl.Depth);
 }
Esempio n. 7
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is WobbleDef wob))
     {
         return(false);
     }
     return(Mix == wob.Mix && Period == wob.Period);
 }
Esempio n. 8
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is PhaserDef ph))
     {
         return(false);
     }
     return(Mix == ph.Mix);
 }
Esempio n. 9
0
 public override bool Equals(EffectDef other)
 {
     throw new NotImplementedException();
 }