AlphaSynth.Synthesis.SynthParameters.SynthParameters C# (CSharp) Method

SynthParameters() public method

public SynthParameters ( Synthesizer synth ) : System
synth Synthesizer
return System
        public SynthParameters(Synthesizer synth)
        {
            Synth = synth;

            Pan = new CCValue(0);
            Volume = new CCValue(0);
            Expression = new CCValue(0);
            ModRange = new CCValue(0);
            PitchBend = new CCValue(0);
            MasterFineTune = new CCValue(0);
            Rpn = new CCValue(0);

            CurrentPan = new PanComponent();

            ResetControllers();
        }