diff --git a/env/.env.clinic b/env/.env.clinic index 61a985549..d92e52de1 100644 --- a/env/.env.clinic +++ b/env/.env.clinic @@ -1,3 +1,2 @@ VITE_USE_EEG="true" -VITE_USE_PHOTODIODE="true" -VITE_VOLUME="true" \ No newline at end of file +VITE_USE_PHOTODIODE="true" \ No newline at end of file diff --git a/src/config/main.js b/src/config/main.js index 8bbcb1071..27317d351 100644 --- a/src/config/main.js +++ b/src/config/main.js @@ -21,7 +21,6 @@ const USE_ELECTRON = window.electronAPI !== undefined; // Whether or not the exp const USE_PROLIFIC = getProlificId() !== null; // Whether or not the experiment is running with Prolific const USE_FIREBASE = import.meta.env.VITE_FIREBASE === "true"; // Whether or not the experiment is running in Firebase (web app) -const USE_VOLUME = import.meta.env.VITE_VOLUME === "true"; // Whether or not to use audio cues in the task const USE_CAMERA = import.meta.env.VITE_VIDEO === "true" && USE_ELECTRON; // Whether or not to use video recording // TODO @brown-ccv #341: Remove USE_EEG - separate variables for USE_PHOTODIODE and USE_EVENT_MARKER const USE_EEG = import.meta.env.VITE_USE_EEG === "true" && USE_ELECTRON; // Whether or not the EEG/event marker is available (TODO @brown-ccv: This is only used for sending event codes) @@ -29,11 +28,12 @@ const USE_PHOTODIODE = import.meta.env.VITE_USE_PHOTODIODE === "true" && USE_ELE // Configuration object for Honeycomb export const config = { - USE_PHOTODIODE, - USE_EEG, + // Deployments USE_ELECTRON, - USE_VOLUME, - USE_CAMERA, USE_PROLIFIC, USE_FIREBASE, + // Equipment + USE_PHOTODIODE, + USE_EEG, + USE_CAMERA, }; diff --git a/src/experiment/trials/beep.js b/src/experiment/trials/beep.js index 2ab8e216f..5aa63318c 100644 --- a/src/experiment/trials/beep.js +++ b/src/experiment/trials/beep.js @@ -1,6 +1,5 @@ import audioKeyboardResponse from "@jspsych/plugin-audio-keyboard-response"; -// TODO @brown-ccv #401: Remove "USE_VOLUME" environment variable export const beepTrial = { type: audioKeyboardResponse, stimulus: "assets/audio/beep.mp3",