Ejemplo n.º 1
0
 // constructor
 public managementGUI(eyeMusic2 myEyeMusic, wavCreator myWavCreator, eyeMusicStatistics2 statisticsObj, eyeMusicModel model)
 {
     _myEyeMusic      = myEyeMusic;
     _myWavCreator    = myWavCreator;
     _myStatisticsObj = statisticsObj;
     _model           = model;
 }
Ejemplo n.º 2
0
 //constructor
 public ZoomScreen(eyeMusic2 myEyeMusic, managementGUI myManager, wavCreator myWavCreator)
 {
     _myEyeMusic   = myEyeMusic;
     _myManager    = myManager;
     _myWavCreator = myWavCreator;
     _position     = new Point();
     //this.FormClosing += form_Closing;
     //this.KeyDown += new System.Windows.Forms.KeyEventHandler(_myEyeMusic.eyeMusic_KeyDown);
 }
Ejemplo n.º 3
0
        // constructor
        public wavCreator(eyeMusic2 myEyeMusic, eyeMusicStatistics2 statisticsObj, string fileMap)
        {
            MyFileMap          = fileMap;
            _myEyeMusic        = myEyeMusic;
            _myStatisticsObj   = statisticsObj;
            _ovalMapping       = new Dictionary <string, float[, ]>();
            _ovalMappingBitmap = new Dictionary <string, Bitmap>();
            _ovalWavFiles      = new List <List <Uri> >();
            _player            = new MediaPlayer();
            _ovalPlayer        = new MediaPlayer();
            _cueTypeFileName   = "Sounds\\beep.wav";
            _scanHeight        = _numTotalFiles / TotalColors;
            _ovalSemaphore     = new System.Threading.Semaphore(1, 1); // same as _openSemaphore but for oval
            _semaphore         = new System.Threading.Semaphore(1, 1);

            if (_samplesArray == null && !IAmIn)
            {
                IAmIn = true;
                allocateArray();
                loadSamples();
            }
        }
Ejemplo n.º 4
0
 // constructor
 public eyeMusicStatistics2(eyeMusic2 myEyeMusic)
 {
     _myEyeMusic = myEyeMusic;
 }