Exemple #1
0
        public AudioProcessor(PluginController pluginController) :
            base(0, 2, 0)
        {
            PluginController = pluginController;

            OscillatorA   = new OscParameters(this);
            OscillatorB   = new OscParameters(this);
            EnvelopeSound = new EnvelopeParameters(this);
            Filter        = new FilterParameters(this);
            FilterEnv     = new EnvelopeParameters(this);
            Distortion    = new Distortion(this);
            LFOModifierA  = new LFO(this);
            LFOModifierB  = new LFO(this);

            VoicesGenereator = new VoiceManager(this);

            OnBypassChanged += (sender, args) =>
            {
                Power.Value = (Bypass) ? EPowerStatus.Off : EPowerStatus.On;
            };
        }
Exemple #2
0
 public Envelope(EnvelopeParameters owner, AudioProcessor audioProcessor) : base(audioProcessor)
 {
     parametersOwner = owner;
 }