From d97bbc54d8014dbcb6dd28c5b27149fd00223f3b Mon Sep 17 00:00:00 2001 From: Kyle Mathewson Date: Fri, 6 Mar 2020 08:59:38 -0700 Subject: [PATCH] starting on new module, 60 seconds --- src/components/PageSwitcher/PageSwitcher.js | 2 +- .../PageSwitcher/components/EEGEduSsvep/EEGEduSsvep.js | 2 +- .../PageSwitcher/components/EEGEduSsvep/sketchFlashFast.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/PageSwitcher/PageSwitcher.js b/src/components/PageSwitcher/PageSwitcher.js index ca33809..d9c69cd 100644 --- a/src/components/PageSwitcher/PageSwitcher.js +++ b/src/components/PageSwitcher/PageSwitcher.js @@ -78,7 +78,7 @@ export function PageSwitcher() { const [status, setStatus] = useState(generalTranslations.connect); // for picking a new module - const [selected, setSelected] = useState(intro); + const [selected, setSelected] = useState(ssvep); const handleSelectChange = useCallback(value => { setSelected(value); diff --git a/src/components/PageSwitcher/components/EEGEduSsvep/EEGEduSsvep.js b/src/components/PageSwitcher/components/EEGEduSsvep/EEGEduSsvep.js index 053ba5d..abd364a 100644 --- a/src/components/PageSwitcher/components/EEGEduSsvep/EEGEduSsvep.js +++ b/src/components/PageSwitcher/components/EEGEduSsvep/EEGEduSsvep.js @@ -38,7 +38,7 @@ export function getSettings() { duration: 1024, srate: 256, name: 'Ssvep', - secondsToSave: 10 + secondsToSave: 60 } }; diff --git a/src/components/PageSwitcher/components/EEGEduSsvep/sketchFlashFast.js b/src/components/PageSwitcher/components/EEGEduSsvep/sketchFlashFast.js index 18a900c..d6058f2 100644 --- a/src/components/PageSwitcher/components/EEGEduSsvep/sketchFlashFast.js +++ b/src/components/PageSwitcher/components/EEGEduSsvep/sketchFlashFast.js @@ -1,7 +1,7 @@ export default function sketchFlash (p) { - const freq = 11; + const freq = 15; let x = 0; let startTime = 0; let newOnset = true;