public SsvepDynamicSpellerStageProvider(SpellerController spellerController, SpellerExperiment.Configuration.TestConfig testConfig) : base(testConfig, true, new PipelinedStageProvider(16, TimeSpan.FromMilliseconds(5))) { spellerController.Calibrated += (sender, e) => CalibrationCompleted(); spellerController.Stopping += (sender, e) => Provider.Break(); spellerController.CreatingTrial += (sender, e) => Provider.Offer(SsvepSpellerStageProviderUtils.GenerateRepeatingStages(testConfig)); }
public SsvepStaticSpellerStageProvider(SpellerController spellerController, SpellerExperiment.Configuration.TestConfig testConfig) : base(testConfig, true, RepeatingStageProvider.Static.Unlimited(SsvepSpellerStageProviderUtils.GenerateRepeatingStages(testConfig))) { spellerController.Calibrated += (sender, e) => CalibrationCompleted(); spellerController.Stopping += (sender, e) => Provider.Break(); }