예제 #1
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is TapeStopEffectDef stop))
     {
         return(false);
     }
     return(Type == stop.Type && Mix == stop.Mix && Duration == stop.Duration);
 }
예제 #2
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is WobbleEffectDef wob))
     {
         return(false);
     }
     return(Type == wob.Type && Mix == wob.Mix && Period == wob.Period);
 }
예제 #3
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is BiQuadFilterEffectDef bqf))
     {
         return(false);
     }
     return(Type == bqf.Type && Mix == bqf.Mix && Q == bqf.Q && Gain == bqf.Gain && Freq == bqf.Freq);
 }
예제 #4
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is SideChainEffectDef sch))
     {
         return(false);
     }
     return(Type == sch.Type && Mix == sch.Mix && Amount == sch.Amount && Duration == sch.Duration);
 }
예제 #5
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is PhaserEffectDef ph))
     {
         return(false);
     }
     return(Type == ph.Type && Mix == ph.Mix);
 }
예제 #6
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is RetriggerEffectDef rt))
     {
         return(false);
     }
     return(Type == rt.Type && Mix == rt.Mix && GateDuration == rt.GateDuration && Gating == rt.Gating);
 }
예제 #7
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is BitCrusherEffectDef bc))
     {
         return(false);
     }
     return(Type == bc.Type && Mix == bc.Mix && Reduction == bc.Reduction);
 }
예제 #8
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is FlangerEffectDef fl))
     {
         return(false);
     }
     return(Type == fl.Type && Mix == fl.Mix && Delay == fl.Delay && Offset == fl.Offset && Depth == fl.Depth);
 }