Exemple #1
0
        public MixerMaster(MixerWindow _mixer)
        {
            mixerWindow = _mixer;
            project     = mixerWindow.project;
            InitializeComponent();
            chkLock.Checked = true;
            fadersAreLocked = true;

            leftMeter          = new LevelMeter(this);
            leftMeter.Location = new Point(45, 26);
            this.Controls.Add(leftMeter);
            leftMeter.BringToFront();

            rightMeter          = new LevelMeter(this);
            rightMeter.Location = new Point(80, 26);
            rightMeter.BringToFront();
            this.Controls.Add(rightMeter);
        }
Exemple #2
0
        //cons
        public MixerStrip(MixerWindow _mixer, X1Track _track)
        {
            mixer = _mixer;
            track = _track;
            //track.mixerStrip = this;
            //trackNumber = track.number;

            InitializeComponent();

            //String trackString = (track.number + 1).ToString("D");
            //lblTrackNum.Text = trackString;
            //txtTrackName.Text = "Track " + trackString;

            //cbxSource.DataSource = track.getInputDeviceList();
            //cbxSource.SelectedIndex = 0;
            deviceNumber = -1;

            level = 1.0f;
            pan   = 0.5f;

            isMuted     = false;
            isSoloing   = false;
            isRecording = false;
        }
Exemple #3
0
 public void close()
 {
     mixer            = null;
     track.mixerStrip = null;
     track            = null;
 }