Example #1
0
        //cons
        public VSTPanel(VSTRig _rig, int _plugNum)
        {
            InitializeComponent();

            rig         = _rig;
            audiwin     = rig.controlPanel.auditwin;
            host        = rig.controlPanel.host;
            midiDevices = rig.controlPanel.midiDevices;

            plugNum = _plugNum;
            this.lblPlugName.Text = plugName;
            plugPath = null;
            fileName = null;
            plugin   = null;

            this.Size = new Size(PANELWIDTH, PANELHEIGHT);

            pluginInfoWnd  = null;
            paramEditorWnd = null;
            editorWindow   = null;

            midiInDevice     = null;
            midiInUnit       = null;
            midiOutDeviceNum = -1;

            audioOut = "no output";
        }
Example #2
0
        //cons
        public VSTRack(AudimatWindow _auditwin)
        {
            auditwin = _auditwin;

            //ui
            scrollbar               = new VScrollBar();
            scrollbar.Minimum       = 0;
            scrollbar.Dock          = DockStyle.Right;
            scrollbar.ValueChanged += new EventHandler(scrollbar_ValueChanged);

            panelSpace = new Panel();

            panelSpace.BackColor = Color.Black;
            panelSpace.Location  = new Point(0, 0);
            panelSpace.Size      = new Size(0, 0);

            this.Controls.Add(scrollbar);
            this.Controls.Add(panelSpace);

            this.Size           = new Size(VSTPanel.PANELWIDTH + scrollbar.Width, VSTPanel.PANELHEIGHT); //initial size
            this.BackColor      = Color.Black;
            this.DoubleBuffered = true;

            panels = new List <VSTPanel>();
        }
Example #3
0
        public MixerWnd(AudimatWindow _audimatWindow)
        {
            audimatWindow = _audimatWindow;

            InitializeComponent();

            this.ShowInTaskbar = false;
        }
Example #4
0
        public PatchWindow(AudimatWindow _audimatWindow)
        {
            audimatWindow = _audimatWindow;

            canvas           = new PatchCanvas();
            canvas.Size      = new Size(this.ClientSize.Width, this.ClientSize.Height);
            canvas.Location  = new Point(0, 0);
            canvas.BackColor = Color.LawnGreen;
            this.Controls.Add(canvas);

            this.ShowInTaskbar = false;
        }
Example #5
0
        int vstnum;         //for debugging

        public ControlPanel(AudimatWindow _auditwin)
        {
            auditwin = _auditwin;

            //init backend
            vashti      = new Vashti();
            host        = new VSTHost(vashti);
            midiDevices = new MidiSystem();

            InitializeComponent();

            //child windows
            patchNameWnd = null;

            //model
            currentRig     = null;
            curRigFilename = null;
            curRigPath     = Application.StartupPath;
            curPluginPath  = Application.StartupPath;

            vstnum = 0;

            isRunning = false;
        }