public override IEnumerable <Parameter> CreateParameters() { var parameters = new List <Parameter>(); parameters.AddRange(Commutator.CreateParameters("C")); parameters.AddRange(OscillatorA.CreateParameters("A")); parameters.AddRange(EnvelopeA.CreateParameters("EA")); parameters.AddRange(OscillatorB.CreateParameters("B")); parameters.AddRange(EnvelopeB.CreateParameters("EB")); parameters.AddRange(Filter.CreateParameters("F")); parameters.AddRange(Distortion.CreateParameters("D")); parameters.AddRange(Delay.CreateParameters("Dly")); parameters.AddRange(Clip.CreateParameters("K")); parameters.AddRange(LFOModifier.CreateParameters("G")); parameters.AddRange(Master.CreateParameters("M")); parameters.AddRange(Oscillograph.CreateParameters("O")); return(parameters); }
public override IEnumerable <Parameter> CreateParameters() { var parameters = new List <Parameter>(); parameters.Add(Power = new BypassParameter("CPwr", "Power", this, "Pwr", false)); parameters.Add(OscillatorsMix = new RealParameter("CMix", "Oscillators Mix", "Mix", 0, 1, 0.01)); parameters.Add(MasterVolume = new VolumeParameter("MVol", "Master Volume", false)); parameters.Add(Unison = new EnumParameter <EPowerStatus>("UPwr", "Unison", "Pwr", false)); OscillatorsMix.SetDefaultValue(0.5); parameters.AddRange(OscillatorA.CreateParameters("A")); parameters.AddRange(OscillatorB.CreateParameters("B")); parameters.AddRange(EnvelopeSound.CreateParameters("EM")); parameters.AddRange(FilterEnv.CreateParameters("EF")); parameters.AddRange(Filter.CreateParameters("F")); parameters.AddRange(Distortion.CreateParameters("D")); parameters.AddRange(LFOModifierA.CreateParameters("LA")); parameters.AddRange(LFOModifierB.CreateParameters("LB")); return(parameters); }