Пример #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);
 }
Пример #2
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is TapeStopDef stop))
     {
         return(false);
     }
     return(Mix == stop.Mix && Duration == stop.Duration);
 }
Пример #3
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is BitCrusherDef bc))
     {
         return(false);
     }
     return(Mix == bc.Mix && Reduction == bc.Reduction);
 }
Пример #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);
 }
Пример #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);
 }
Пример #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);
 }
Пример #7
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is WobbleDef wob))
     {
         return(false);
     }
     return(Mix == wob.Mix && Period == wob.Period);
 }
Пример #8
0
 public override bool Equals(EffectDef other)
 {
     if (!(other is PhaserDef ph))
     {
         return(false);
     }
     return(Mix == ph.Mix);
 }
Пример #9
0
 public override bool Equals(EffectDef other)
 {
     throw new NotImplementedException();
 }