public EQ(EQ src) { eqBands = new ObservableCollection <Band>(src.eqBands.Select(x => new Band(x))); on = new BoolParameter(src.on); mix = new DoubleParameter(src.mix); gain = new DoubleParameter(src.gain); }
public ScribbleStrip(ScribbleStrip src) { content = new StringParameter(src.content); color = new ColorParameter(src.color); fontSize = new DoubleParameter(src.fontSize); scribbleStripCommand = src.scribbleStripCommand; }
public ChannelSend(ChannelSend src) { targetIndex = new IntParameter(src.targetIndex); targetType = new EnumParameter <ChannelType>(src.targetType); level = new DoubleParameter(src.level); on = new BoolParameter(src.on); }
public Band(Band src) { gain = new DoubleParameter(src.gain); q = new DoubleParameter(src.q); freq = new DoubleParameter(src.freq); bandType = new EnumParameter <EQBandType>(src.bandType); }
public ChannelSend(int index, ChannelType type) { targetIndex = index; targetType = type; level = 0; level.Min = -99; level.Max = 10; on = true; }
public MixChannel(MixChannel src) : base(src) { pan = new DoubleParameter(src.pan); sendLevels = new ObservableCollection <ChannelSend>(src.sendLevels.Select(x => new ChannelSend(x))); routing = new ObservableCollection <ChannelRouting>(src.routing.Select(x => new ChannelRouting(x))); eq = new EQ(src.eq); dynamics = new Dynamics(src.dynamics); //TODO: Implement insert FX //private string insertFX; }
public Channel(Channel src) { faderLevel = new DoubleParameter(src.faderLevel); on = new BoolParameter(src.on); solo = new BoolParameter(src.solo); scribbleStrip = new ScribbleStrip(src.scribbleStrip); selected = new BoolParameter(src.selected); channelIndex = src.channelIndex; channelType = src.channelType; }
public override void CopyValueFrom(Parameter p, bool copyMinMax = true) { DoubleParameter src = (DoubleParameter)p; this.value = src.value; if (copyMinMax) { this.max = src.max; this.min = src.min; } this.Enabled = src.Enabled; this.MultipleValues = src.MultipleValues; }
public DoubleParameter(DoubleParameter src) : base(src) { this.value = src.value; this.max = src.max; this.min = src.min; }